From c32a4c337e611fee58a2d898dc5bd491fc5a4b94 Mon Sep 17 00:00:00 2001 From: Kulsekar4 Date: Thu, 7 Sep 2023 12:35:13 +0530 Subject: [PATCH] FYLE-85zthcf8t-saved-filters-shared-fix (#347) * mino * Auto generate API docs --------- Co-authored-by: Siva --- reference/admin.yaml | 26 +++++++++---------- .../corporate_card_transaction_filters.yaml | 8 +++--- src/components/schemas/employee_filters.yaml | 8 +++--- src/components/schemas/expense_filters.yaml | 4 +-- src/components/schemas/fields.yaml | 2 +- src/components/schemas/report_filters.yaml | 4 +-- 6 files changed, 26 insertions(+), 26 deletions(-) diff --git a/reference/admin.yaml b/reference/admin.yaml index 0d79059f0..f5a4d7f1e 100644 --- a/reference/admin.yaml +++ b/reference/admin.yaml @@ -2126,7 +2126,7 @@ components: description: | This represents the name of the filter. example: Code E0101 - shared: + is_shared: type: boolean nullable: true description: | @@ -2150,8 +2150,8 @@ components: example: efilumWHrlPf7K name: $ref: '#/components/schemas/filter_name' - shared: - $ref: '#/components/schemas/shared' + is_shared: + $ref: '#/components/schemas/is_shared' org_id: $ref: '#/components/schemas/org_id' user_id: @@ -2171,8 +2171,8 @@ components: properties: name: $ref: '#/components/schemas/filter_name' - shared: - $ref: '#/components/schemas/shared' + is_shared: + $ref: '#/components/schemas/is_shared' query_string: $ref: '#/components/schemas/query_string' employee_filters_delete_in: @@ -3752,7 +3752,7 @@ components: name: $ref: '#/components/schemas/filter_name' is_shared: - $ref: '#/components/schemas/shared' + $ref: '#/components/schemas/is_shared' org_id: $ref: '#/components/schemas/org_id' user_id: @@ -3773,7 +3773,7 @@ components: name: $ref: '#/components/schemas/filter_name' is_shared: - $ref: '#/components/schemas/shared' + $ref: '#/components/schemas/is_shared' query_string: $ref: '#/components/schemas/query_string' expense_filters_delete_in: @@ -4898,7 +4898,7 @@ components: name: $ref: '#/components/schemas/filter_name' is_shared: - $ref: '#/components/schemas/shared' + $ref: '#/components/schemas/is_shared' org_id: $ref: '#/components/schemas/org_id' user_id: @@ -4919,7 +4919,7 @@ components: name: $ref: '#/components/schemas/filter_name' is_shared: - $ref: '#/components/schemas/shared' + $ref: '#/components/schemas/is_shared' query_string: $ref: '#/components/schemas/query_string' report_filters_delete_in: @@ -6347,8 +6347,8 @@ components: example: cctfilumWHrlPf7K name: $ref: '#/components/schemas/filter_name' - shared: - $ref: '#/components/schemas/shared' + is_shared: + $ref: '#/components/schemas/is_shared' org_id: $ref: '#/components/schemas/org_id' user_id: @@ -6368,8 +6368,8 @@ components: properties: name: $ref: '#/components/schemas/filter_name' - shared: - $ref: '#/components/schemas/shared' + is_shared: + $ref: '#/components/schemas/is_shared' query_string: $ref: '#/components/schemas/query_string' corporate_card_transaction_filters_delete_in: diff --git a/src/components/schemas/corporate_card_transaction_filters.yaml b/src/components/schemas/corporate_card_transaction_filters.yaml index 8dbbda3f0..cfbec1ad3 100644 --- a/src/components/schemas/corporate_card_transaction_filters.yaml +++ b/src/components/schemas/corporate_card_transaction_filters.yaml @@ -7,8 +7,8 @@ corporate_card_transaction_filters_in: properties: name: $ref: './fields.yaml#/filter_name' - shared: - $ref: './fields.yaml#/shared' + is_shared: + $ref: './fields.yaml#/is_shared' query_string: $ref: './fields.yaml#/query_string' @@ -22,8 +22,8 @@ corporate_card_transaction_filters_out: example: cctfilumWHrlPf7K name: $ref: './fields.yaml#/filter_name' - shared: - $ref: './fields.yaml#/shared' + is_shared: + $ref: './fields.yaml#/is_shared' org_id: $ref: './fields.yaml#/org_id' user_id: diff --git a/src/components/schemas/employee_filters.yaml b/src/components/schemas/employee_filters.yaml index 594c00e32..d993b0f9d 100644 --- a/src/components/schemas/employee_filters.yaml +++ b/src/components/schemas/employee_filters.yaml @@ -7,8 +7,8 @@ employee_filters_in: properties: name: $ref: './fields.yaml#/filter_name' - shared: - $ref: './fields.yaml#/shared' + is_shared: + $ref: './fields.yaml#/is_shared' query_string: $ref: './fields.yaml#/query_string' @@ -23,8 +23,8 @@ employee_filters_out: example: efilumWHrlPf7K name: $ref: './fields.yaml#/filter_name' - shared: - $ref: './fields.yaml#/shared' + is_shared: + $ref: './fields.yaml#/is_shared' org_id: $ref: './fields.yaml#/org_id' user_id: diff --git a/src/components/schemas/expense_filters.yaml b/src/components/schemas/expense_filters.yaml index 8faa359b0..1781b46a1 100644 --- a/src/components/schemas/expense_filters.yaml +++ b/src/components/schemas/expense_filters.yaml @@ -8,7 +8,7 @@ expense_filters_in: name: $ref: './fields.yaml#/filter_name' is_shared: - $ref: './fields.yaml#/shared' + $ref: './fields.yaml#/is_shared' query_string: $ref: './fields.yaml#/query_string' @@ -24,7 +24,7 @@ expense_filters_out: name: $ref: './fields.yaml#/filter_name' is_shared: - $ref: './fields.yaml#/shared' + $ref: './fields.yaml#/is_shared' org_id: $ref: './fields.yaml#/org_id' user_id: diff --git a/src/components/schemas/fields.yaml b/src/components/schemas/fields.yaml index 83f6e5f7f..b1db3639d 100644 --- a/src/components/schemas/fields.yaml +++ b/src/components/schemas/fields.yaml @@ -1360,7 +1360,7 @@ filter_name: This represents the name of the filter. example: Code E0101 -shared: +is_shared: type: boolean nullable: true description: | diff --git a/src/components/schemas/report_filters.yaml b/src/components/schemas/report_filters.yaml index 10e898aa5..a0a024a95 100644 --- a/src/components/schemas/report_filters.yaml +++ b/src/components/schemas/report_filters.yaml @@ -8,7 +8,7 @@ report_filters_in: name: $ref: './fields.yaml#/filter_name' is_shared: - $ref: './fields.yaml#/shared' + $ref: './fields.yaml#/is_shared' query_string: $ref: './fields.yaml#/query_string' @@ -24,7 +24,7 @@ report_filters_out: name: $ref: './fields.yaml#/filter_name' is_shared: - $ref: './fields.yaml#/shared' + $ref: './fields.yaml#/is_shared' org_id: $ref: './fields.yaml#/org_id' user_id: