diff --git a/openapi.yaml b/openapi.yaml index f907be6..5b04f15 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -16120,11 +16120,11 @@ components: recurring_transaction_rules: type: array description: List of recurring transaction rules. Currently, we only allow one recurring rule per wallet. - required: - - trigger items: type: object description: Object that represents rule for wallet recurring transactions. + required: + - trigger properties: lago_id: type: string @@ -16539,14 +16539,14 @@ components: CustomerChargeFiltersUsageObject: type: array description: Array of filter object, representing multiple dimensions for a charge item. - required: - - values - - units - - total_aggregated_units - - events_count - - amount_cents items: type: object + required: + - values + - units + - total_aggregated_units + - events_count + - amount_cents properties: units: type: string @@ -16587,15 +16587,14 @@ components: CustomerChargeGroupedUsageObject: type: array description: Array of aggregated fees, grouped by the event properties defined in a `standard` charge model. - required: - - amount_cents - - events_count - - units - - total_aggregated_units - - grouped_by - - groups items: type: object + required: + - amount_cents + - events_count + - units + - total_aggregated_units + - grouped_by properties: amount_cents: type: integer @@ -16792,15 +16791,15 @@ components: CustomerProjectedChargeFiltersUsageObject: type: array description: Array of filter object, representing multiple dimensions for a charge item. - required: - - values - - units - - projected_units - - events_count - - amount_cents - - projected_amount_cents items: type: object + required: + - values + - units + - projected_units + - events_count + - amount_cents + - projected_amount_cents properties: units: type: string @@ -16847,16 +16846,15 @@ components: CustomerProjectedChargeGroupedUsageObject: type: array description: Array of aggregated fees, grouped by the event properties defined in a `standard` charge model. - required: - - amount_cents - - projected_amount_cents - - events_count - - units - - projected_units - - grouped_by - - groups items: type: object + required: + - amount_cents + - projected_amount_cents + - events_count + - units + - projected_units + - grouped_by properties: amount_cents: type: integer diff --git a/src/schemas/CustomerChargeFiltersUsageObject.yaml b/src/schemas/CustomerChargeFiltersUsageObject.yaml index 5ecb282..87efe4a 100644 --- a/src/schemas/CustomerChargeFiltersUsageObject.yaml +++ b/src/schemas/CustomerChargeFiltersUsageObject.yaml @@ -1,13 +1,13 @@ type: array description: Array of filter object, representing multiple dimensions for a charge item. -required: - - values - - units - - total_aggregated_units - - events_count - - amount_cents items: type: object + required: + - values + - units + - total_aggregated_units + - events_count + - amount_cents properties: units: type: string diff --git a/src/schemas/CustomerChargeGroupedUsageObject.yaml b/src/schemas/CustomerChargeGroupedUsageObject.yaml index bc6e45a..c5b3cfd 100644 --- a/src/schemas/CustomerChargeGroupedUsageObject.yaml +++ b/src/schemas/CustomerChargeGroupedUsageObject.yaml @@ -1,14 +1,13 @@ type: array description: Array of aggregated fees, grouped by the event properties defined in a `standard` charge model. -required: - - amount_cents - - events_count - - units - - total_aggregated_units - - grouped_by - - groups items: type: object + required: + - amount_cents + - events_count + - units + - total_aggregated_units + - grouped_by properties: amount_cents: type: integer diff --git a/src/schemas/CustomerProjectedChargeFiltersUsageObject.yaml b/src/schemas/CustomerProjectedChargeFiltersUsageObject.yaml index 80d7977..14b7fce 100644 --- a/src/schemas/CustomerProjectedChargeFiltersUsageObject.yaml +++ b/src/schemas/CustomerProjectedChargeFiltersUsageObject.yaml @@ -1,14 +1,14 @@ type: array description: Array of filter object, representing multiple dimensions for a charge item. -required: - - values - - units - - projected_units - - events_count - - amount_cents - - projected_amount_cents items: type: object + required: + - values + - units + - projected_units + - events_count + - amount_cents + - projected_amount_cents properties: units: type: string diff --git a/src/schemas/CustomerProjectedChargeGroupedUsageObject.yaml b/src/schemas/CustomerProjectedChargeGroupedUsageObject.yaml index 86c2329..65979a7 100644 --- a/src/schemas/CustomerProjectedChargeGroupedUsageObject.yaml +++ b/src/schemas/CustomerProjectedChargeGroupedUsageObject.yaml @@ -1,15 +1,14 @@ type: array description: Array of aggregated fees, grouped by the event properties defined in a `standard` charge model. -required: - - amount_cents - - projected_amount_cents - - events_count - - units - - projected_units - - grouped_by - - groups items: type: object + required: + - amount_cents + - projected_amount_cents + - events_count + - units + - projected_units + - grouped_by properties: amount_cents: type: integer diff --git a/src/schemas/WalletUpdateInput.yaml b/src/schemas/WalletUpdateInput.yaml index aceab8d..5bd5501 100644 --- a/src/schemas/WalletUpdateInput.yaml +++ b/src/schemas/WalletUpdateInput.yaml @@ -39,11 +39,11 @@ properties: recurring_transaction_rules: type: array description: List of recurring transaction rules. Currently, we only allow one recurring rule per wallet. - required: - - trigger items: type: object description: Object that represents rule for wallet recurring transactions. + required: + - trigger properties: lago_id: type: string