@flowio/api-types 0.0.226 → 0.0.227
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/io.flow.billing.accounting.v0.billing-accounting.d.ts +13 -0
- package/generated/io.flow.billing.bank.account.v0.billing-bank-account.d.ts +1 -1
- package/generated/io.flow.billing.internal.v0.billing-internal.d.ts +1 -1
- package/generated/io.flow.billing.reporting.csv.v0.billing-reporting-csv.d.ts +0 -1
- package/generated/io.flow.billing.reporting.v0.billing-reporting.d.ts +15 -16
- package/generated/io.flow.billing.v0.billing.d.ts +6 -1
- package/generated/io.flow.channel.internal.v0.channel-internal.d.ts +1 -1
- package/generated/io.flow.experiment.internal.v0.experiment-internal.d.ts +191 -0
- package/generated/io.flow.internal.v0.api-internal.d.ts +585 -324
- package/generated/io.flow.organization.onboarding.state.v0.organization-onboarding-state.d.ts +6 -1
- package/generated/io.flow.payment.gateway.v0.payment-gateway.d.ts +7 -1
- package/generated/io.flow.payment.v0.payment.d.ts +11 -1
- package/generated/io.flow.shopify.external.v0.shopify-external.d.ts +1 -0
- package/generated/io.flow.shopify.markets.internal.event.v0.shopify-markets-internal-event.d.ts +16 -1
- package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +11 -0
- package/generated/io.flow.shopify.markets.v0.shopify-markets.d.ts +1 -1
- package/generated/io.flow.stripe.v0.stripe.d.ts +162 -5
- package/generated/io.flow.v0.api.d.ts +29 -3
- package/index.d.ts +1 -14
- package/package.json +2 -2
- package/generated/io.flow.billing.csv.v0.billing-csv.d.ts +0 -454
- package/generated/io.flow.checkout.analytics.v0.checkout-analytics.d.ts +0 -137
- package/generated/io.flow.checkout.backend.v0.checkout-backend.d.ts +0 -539
- package/generated/io.flow.checkout.common.v0.checkout-common.d.ts +0 -57
- package/generated/io.flow.checkout.configuration.v0.checkout-configuration.d.ts +0 -113
- package/generated/io.flow.checkout.protocol.v0.checkout-protocol.d.ts +0 -1347
- package/generated/io.flow.consumer.invoice.v0.consumer-invoice.d.ts +0 -204
- package/generated/io.flow.content.internal.v0.content-internal.d.ts +0 -168
- package/generated/io.flow.currency.internal.v0.currency-internal.d.ts +0 -119
- package/generated/io.flow.experience.internal.v0.experience-internal.d.ts +0 -247
- package/generated/io.flow.feature.v0.feature.d.ts +0 -121
- package/generated/io.flow.optin.internal.v0.optin-internal.d.ts +0 -73
- package/generated/io.flow.price.internal.v0.price-internal.d.ts +0 -4
- package/generated/io.flow.svb.v0.svb.d.ts +0 -166
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
declare namespace io.flow.consumer.invoice.v0.enums {
|
|
2
|
-
type B2BInvoiceType = 'self_bill_invoice' | 'invoice';
|
|
3
|
-
type ConsumerInvoiceCustomerType = 'business_eu_verified' | 'business_non_verified' | 'individual';
|
|
4
|
-
type ConsumerInvoiceDocumentType = 'pdf';
|
|
5
|
-
type ConsumerInvoiceStatus = 'pending' | 'available' | 'invalid';
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
declare namespace io.flow.consumer.invoice.v0.models {
|
|
9
|
-
interface B2BCreditMemo {
|
|
10
|
-
readonly 'id': string;
|
|
11
|
-
readonly 'number': string;
|
|
12
|
-
readonly 'buyer': io.flow.common.v0.models.MerchantOfRecordEntity;
|
|
13
|
-
readonly 'seller': io.flow.common.v0.models.MerchantOfRecordEntity;
|
|
14
|
-
readonly 'status': io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus;
|
|
15
|
-
readonly 'date': string;
|
|
16
|
-
readonly 'key': string;
|
|
17
|
-
readonly 'invoice': io.flow.consumer.invoice.v0.models.B2BInvoiceReference;
|
|
18
|
-
readonly 'lines': io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[];
|
|
19
|
-
readonly 'documents': io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[];
|
|
20
|
-
readonly 'attributes': Record<string, string>;
|
|
21
|
-
readonly 'b2b_invoice_type': io.flow.consumer.invoice.v0.enums.B2BInvoiceType;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
interface B2BInvoice {
|
|
25
|
-
readonly 'id': string;
|
|
26
|
-
readonly 'number': string;
|
|
27
|
-
readonly 'buyer': io.flow.common.v0.models.MerchantOfRecordEntity;
|
|
28
|
-
readonly 'seller': io.flow.common.v0.models.MerchantOfRecordEntity;
|
|
29
|
-
readonly 'status': io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus;
|
|
30
|
-
readonly 'date': string;
|
|
31
|
-
readonly 'key': string;
|
|
32
|
-
readonly 'order': io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary;
|
|
33
|
-
readonly 'economic_title_location': io.flow.merchant.of.record.v0.enums.EconomicTitleLocation;
|
|
34
|
-
readonly 'center'?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference;
|
|
35
|
-
readonly 'destination'?: io.flow.experience.v0.models.OrderAddress;
|
|
36
|
-
readonly 'tax': io.flow.common.v0.models.Money;
|
|
37
|
-
readonly 'lines': io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[];
|
|
38
|
-
readonly 'documents': io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[];
|
|
39
|
-
readonly 'attributes': Record<string, string>;
|
|
40
|
-
readonly 'estimated_delivery_date'?: string;
|
|
41
|
-
readonly 'b2b_invoice_type': io.flow.consumer.invoice.v0.enums.B2BInvoiceType;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
interface B2BInvoiceReference {
|
|
45
|
-
readonly 'id': string;
|
|
46
|
-
readonly 'key': string;
|
|
47
|
-
readonly 'number': string;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
interface ConsumerInvoice {
|
|
51
|
-
readonly 'id': string;
|
|
52
|
-
readonly 'number': string;
|
|
53
|
-
readonly 'status': io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus;
|
|
54
|
-
readonly 'date': string;
|
|
55
|
-
readonly 'key': string;
|
|
56
|
-
readonly 'order': io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary;
|
|
57
|
-
readonly 'entity': io.flow.common.v0.models.MerchantOfRecordEntity;
|
|
58
|
-
readonly 'payments': io.flow.consumer.invoice.v0.models.ConsumerInvoicePayment[];
|
|
59
|
-
readonly 'center'?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference;
|
|
60
|
-
readonly 'destination': io.flow.experience.v0.models.OrderAddress;
|
|
61
|
-
readonly 'billing_address'?: io.flow.common.v0.models.BillingAddress;
|
|
62
|
-
readonly 'lines': io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[];
|
|
63
|
-
readonly 'documents': io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[];
|
|
64
|
-
readonly 'attributes': Record<string, string>;
|
|
65
|
-
readonly 'tax_registration'?: io.flow.harmonization.v0.models.TaxRegistration;
|
|
66
|
-
readonly 'customer_type'?: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceCustomerType;
|
|
67
|
-
readonly 'estimated_delivery_date'?: string;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
interface ConsumerInvoiceCenterReference {
|
|
71
|
-
readonly 'id': string;
|
|
72
|
-
readonly 'key': string;
|
|
73
|
-
readonly 'name': string;
|
|
74
|
-
readonly 'address': io.flow.common.v0.models.Address;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
interface ConsumerInvoiceDocument {
|
|
78
|
-
readonly 'type': io.flow.consumer.invoice.v0.enums.ConsumerInvoiceDocumentType;
|
|
79
|
-
readonly 'language': string;
|
|
80
|
-
readonly 'url': string;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
interface ConsumerInvoiceForm {
|
|
84
|
-
readonly 'order_number': string;
|
|
85
|
-
readonly 'attributes'?: Record<string, string>;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
interface ConsumerInvoiceFormByOrder {
|
|
89
|
-
readonly 'attributes'?: Record<string, string>;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
interface ConsumerInvoiceLevy {
|
|
93
|
-
readonly 'rate': number;
|
|
94
|
-
readonly 'value': io.flow.common.v0.models.Price;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
interface ConsumerInvoiceLevyForm {
|
|
98
|
-
readonly 'rate': number;
|
|
99
|
-
readonly 'amount': number;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
interface ConsumerInvoiceLineDiscount {
|
|
103
|
-
readonly 'discriminator': 'discount';
|
|
104
|
-
readonly 'price': io.flow.common.v0.models.Price;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
interface ConsumerInvoiceLineDiscountForm {
|
|
108
|
-
readonly 'discriminator': 'discount';
|
|
109
|
-
readonly 'price': number;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
interface ConsumerInvoiceLineItem {
|
|
113
|
-
readonly 'discriminator': 'item';
|
|
114
|
-
readonly 'item': io.flow.common.v0.models.ItemReference;
|
|
115
|
-
readonly 'description': string;
|
|
116
|
-
readonly 'quantity': number;
|
|
117
|
-
readonly 'unit_price': io.flow.common.v0.models.Price;
|
|
118
|
-
readonly 'unit_discount'?: io.flow.common.v0.models.Price;
|
|
119
|
-
readonly 'unit_tax'?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
|
|
120
|
-
readonly 'unit_duty'?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
interface ConsumerInvoiceLineItemForm {
|
|
124
|
-
readonly 'discriminator': 'item';
|
|
125
|
-
readonly 'item_number': string;
|
|
126
|
-
readonly 'quantity': number;
|
|
127
|
-
readonly 'unit_price': number;
|
|
128
|
-
readonly 'unit_discount'?: number;
|
|
129
|
-
readonly 'unit_tax'?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm;
|
|
130
|
-
readonly 'unit_duty'?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
interface ConsumerInvoiceLineShipping {
|
|
134
|
-
readonly 'discriminator': 'shipping';
|
|
135
|
-
readonly 'price': io.flow.common.v0.models.Price;
|
|
136
|
-
readonly 'discount'?: io.flow.common.v0.models.Price;
|
|
137
|
-
readonly 'tax'?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
|
|
138
|
-
readonly 'duty'?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
interface ConsumerInvoiceLineShippingForm {
|
|
142
|
-
readonly 'discriminator': 'shipping';
|
|
143
|
-
readonly 'price': number;
|
|
144
|
-
readonly 'discount'?: number;
|
|
145
|
-
readonly 'tax'?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm;
|
|
146
|
-
readonly 'duty'?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
interface ConsumerInvoiceOrderSummary {
|
|
150
|
-
readonly 'id': string;
|
|
151
|
-
readonly 'number': string;
|
|
152
|
-
readonly 'submitted_at': string;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
interface ConsumerInvoicePayment {
|
|
156
|
-
readonly 'date': string;
|
|
157
|
-
readonly 'description': string;
|
|
158
|
-
readonly 'value': io.flow.common.v0.models.Price;
|
|
159
|
-
readonly 'billing_address'?: io.flow.common.v0.models.BillingAddress;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
interface ConsumerInvoiceReference {
|
|
163
|
-
readonly 'id': string;
|
|
164
|
-
readonly 'key': string;
|
|
165
|
-
readonly 'number': string;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
interface CreditMemo {
|
|
169
|
-
readonly 'id': string;
|
|
170
|
-
readonly 'number'?: string;
|
|
171
|
-
readonly 'status': io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus;
|
|
172
|
-
readonly 'date': string;
|
|
173
|
-
readonly 'key': string;
|
|
174
|
-
readonly 'invoice': io.flow.consumer.invoice.v0.models.ConsumerInvoiceReference;
|
|
175
|
-
readonly 'entity': io.flow.common.v0.models.MerchantOfRecordEntity;
|
|
176
|
-
readonly 'payments': io.flow.consumer.invoice.v0.models.ConsumerInvoicePayment[];
|
|
177
|
-
readonly 'lines': io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[];
|
|
178
|
-
readonly 'documents': io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[];
|
|
179
|
-
readonly 'attributes': Record<string, string>;
|
|
180
|
-
readonly 'tax_registration'?: io.flow.harmonization.v0.models.TaxRegistration;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
interface CreditMemoForm {
|
|
184
|
-
readonly 'refund_id'?: string;
|
|
185
|
-
readonly 'refund_key'?: string;
|
|
186
|
-
readonly 'refund_identifier'?: string;
|
|
187
|
-
readonly 'lines': io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLineForm[];
|
|
188
|
-
readonly 'attributes'?: Record<string, string>;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
interface InvoiceExport {
|
|
192
|
-
readonly 'id': string;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
interface InvoiceExportForm {
|
|
196
|
-
readonly 'date_from'?: string;
|
|
197
|
-
readonly 'date_to'?: string;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
declare namespace io.flow.consumer.invoice.v0.unions {
|
|
202
|
-
type ConsumerInvoiceLine = (io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineItem | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineDiscount | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineShipping);
|
|
203
|
-
type ConsumerInvoiceLineForm = (io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineItemForm | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineDiscountForm | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineShippingForm);
|
|
204
|
-
}
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
declare namespace io.flow.content.internal.v0.enums {
|
|
2
|
-
type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
|
|
3
|
-
type ContentStatus = 'draft' | 'live' | 'archived';
|
|
4
|
-
type ContentType = 'text' | 'html';
|
|
5
|
-
type ContentTypeCast = 'markdown_to_html' | 'markdown_to_text';
|
|
6
|
-
type Format = 'text' | 'phone' | 'email';
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
declare namespace io.flow.content.internal.v0.models {
|
|
10
|
-
interface ApmContent {
|
|
11
|
-
readonly 'processor_description': io.flow.content.internal.v0.unions.ContentItem;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
interface Checkbox {
|
|
15
|
-
readonly 'name': string;
|
|
16
|
-
readonly 'value': string;
|
|
17
|
-
readonly 'label': string;
|
|
18
|
-
readonly 'checked_by_default': boolean;
|
|
19
|
-
readonly 'required': boolean;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
interface CheckoutContentDetails {
|
|
23
|
-
readonly 'contact_us': io.flow.content.internal.v0.unions.ContentItem;
|
|
24
|
-
readonly 'logo': io.flow.content.internal.v0.models.Logo;
|
|
25
|
-
readonly 'privacy_policy'?: io.flow.content.internal.v0.unions.ContentItem;
|
|
26
|
-
readonly 'terms'?: io.flow.content.internal.v0.unions.ContentItem;
|
|
27
|
-
readonly 'order_summary_message'?: io.flow.content.internal.v0.models.ContentLabel;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface CheckoutContentSummary {
|
|
31
|
-
readonly 'customer_service': io.flow.content.internal.v0.models.LabeledContent;
|
|
32
|
-
readonly 'checkout': io.flow.content.internal.v0.models.CheckoutContentDetails;
|
|
33
|
-
readonly 'payments': io.flow.content.internal.v0.models.CheckoutPaymentContent;
|
|
34
|
-
readonly 'marketing': io.flow.content.internal.v0.models.CheckoutMarketingContent;
|
|
35
|
-
readonly 'footer': io.flow.content.internal.v0.unions.ContentItem[];
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
interface CheckoutMarketingContent {
|
|
39
|
-
readonly 'optins': io.flow.content.internal.v0.models.Checkbox[];
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
interface CheckoutPaymentContent {
|
|
43
|
-
readonly 'default': io.flow.content.internal.v0.models.ApmContent;
|
|
44
|
-
readonly 'paypal'?: io.flow.content.internal.v0.models.ApmContent;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
interface ContentLabel {
|
|
48
|
-
readonly 'discriminator': 'content_label';
|
|
49
|
-
readonly 'key': string;
|
|
50
|
-
readonly 'format': io.flow.content.internal.v0.enums.Format;
|
|
51
|
-
readonly 'value': string;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
interface ContentSchema {
|
|
55
|
-
readonly 'key': string;
|
|
56
|
-
readonly 'description'?: string;
|
|
57
|
-
readonly 'elements': Record<string, io.flow.content.internal.v0.models.ContentSchemaElement>;
|
|
58
|
-
readonly 'allow_multiple'?: boolean;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
interface ContentSchemaElement {
|
|
62
|
-
readonly 'type': io.flow.content.internal.v0.enums.ContentElementType;
|
|
63
|
-
readonly 'description'?: string;
|
|
64
|
-
readonly 'example'?: string;
|
|
65
|
-
readonly 'required'?: boolean;
|
|
66
|
-
readonly 'validation'?: io.flow.content.internal.v0.unions.ValidationRule[];
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
interface ContentSchemaForm {
|
|
70
|
-
readonly 'description'?: string;
|
|
71
|
-
readonly 'elements': Record<string, io.flow.content.internal.v0.models.ContentSchemaElement>;
|
|
72
|
-
readonly 'allow_multiple'?: boolean;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
interface ContentSchemaSummary {
|
|
76
|
-
readonly 'key': string;
|
|
77
|
-
readonly 'description'?: string;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
interface Dict {
|
|
81
|
-
readonly 'discriminator': 'dict';
|
|
82
|
-
readonly 'label': io.flow.content.internal.v0.models.ContentLabel;
|
|
83
|
-
readonly 'description': io.flow.content.internal.v0.models.ContentLabel;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
interface Href {
|
|
87
|
-
readonly 'discriminator': 'href';
|
|
88
|
-
readonly 'label': io.flow.content.internal.v0.models.ContentLabel;
|
|
89
|
-
readonly 'url': string;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
interface LabeledContent {
|
|
93
|
-
readonly 'label': io.flow.content.internal.v0.models.ContentLabel;
|
|
94
|
-
readonly 'contents': io.flow.content.internal.v0.unions.ContentItem[];
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
interface Load {
|
|
98
|
-
readonly 'discriminator': 'load';
|
|
99
|
-
readonly 'label': io.flow.content.internal.v0.models.ContentLabel;
|
|
100
|
-
readonly 'location': io.flow.content.internal.v0.models.Location;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
interface LocalizableContentReference {
|
|
104
|
-
readonly 'discriminator': 'localizable_content_reference';
|
|
105
|
-
readonly 'content_id': string;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
interface Localization {
|
|
109
|
-
readonly 'discriminator': 'localization';
|
|
110
|
-
readonly 'id': string;
|
|
111
|
-
readonly 'content_id': string;
|
|
112
|
-
readonly 'locale': string;
|
|
113
|
-
readonly 'status': io.flow.content.internal.v0.enums.ContentStatus;
|
|
114
|
-
readonly 'elements': Record<string, io.flow.content.internal.v0.models.LocalizedContentElement>;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
interface LocalizationForm {
|
|
118
|
-
readonly 'locale': string;
|
|
119
|
-
readonly 'status': io.flow.content.internal.v0.enums.ContentStatus;
|
|
120
|
-
readonly 'elements': Record<string, io.flow.content.internal.v0.models.LocalizedContentElement>;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
interface LocalizationRef {
|
|
124
|
-
readonly 'id': string;
|
|
125
|
-
readonly 'locale': string;
|
|
126
|
-
readonly 'status': io.flow.content.internal.v0.enums.ContentStatus;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
interface LocalizedContent {
|
|
130
|
-
readonly 'id': string;
|
|
131
|
-
readonly 'schema_key': string;
|
|
132
|
-
readonly 'status': io.flow.content.internal.v0.enums.ContentStatus;
|
|
133
|
-
readonly 'source': io.flow.content.internal.v0.models.Localization;
|
|
134
|
-
readonly 'localizations': io.flow.content.internal.v0.models.LocalizationRef[];
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
interface LocalizedContentElement {
|
|
138
|
-
readonly 'value': string;
|
|
139
|
-
readonly 'type'?: io.flow.content.internal.v0.enums.ContentElementType;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
interface LocalizedContentForm {
|
|
143
|
-
readonly 'schema_key': string;
|
|
144
|
-
readonly 'status': io.flow.content.internal.v0.enums.ContentStatus;
|
|
145
|
-
readonly 'source': io.flow.content.internal.v0.models.LocalizationForm;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
interface Location {
|
|
149
|
-
readonly 'type': io.flow.content.internal.v0.enums.ContentType;
|
|
150
|
-
readonly 'url': string;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
interface Logo {
|
|
154
|
-
readonly 'url': string;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
interface ValidationCharacterLength {
|
|
158
|
-
readonly 'discriminator': 'validation_character_length';
|
|
159
|
-
readonly 'min'?: number;
|
|
160
|
-
readonly 'max'?: number;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
declare namespace io.flow.content.internal.v0.unions {
|
|
165
|
-
type ContentItem = (io.flow.content.internal.v0.models.Dict | io.flow.content.internal.v0.models.Href | io.flow.content.internal.v0.models.ContentLabel | io.flow.content.internal.v0.models.Load);
|
|
166
|
-
type LocalizableContent = (io.flow.content.internal.v0.models.LocalizableContentReference | io.flow.content.internal.v0.models.Localization);
|
|
167
|
-
type ValidationRule = (io.flow.content.internal.v0.models.ValidationCharacterLength);
|
|
168
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
declare namespace io.flow.currency.internal.v0.enums {
|
|
2
|
-
type RateSource = 'calculated' | 'market';
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
declare namespace io.flow.currency.internal.v0.models {
|
|
6
|
-
interface ChannelCurrencySetting {
|
|
7
|
-
readonly 'id': string;
|
|
8
|
-
readonly 'channel_id': string;
|
|
9
|
-
readonly 'target': string;
|
|
10
|
-
readonly 'margin': number;
|
|
11
|
-
readonly 'rate_lock': io.flow.common.v0.models.Duration;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
interface ChannelCurrencySettingForm {
|
|
15
|
-
readonly 'channel_id': string;
|
|
16
|
-
readonly 'target': string;
|
|
17
|
-
readonly 'margin': number;
|
|
18
|
-
readonly 'rate_lock': io.flow.common.v0.models.Duration;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
interface CurrencyInternalRate {
|
|
22
|
-
readonly 'id': string;
|
|
23
|
-
readonly 'organization_id': string;
|
|
24
|
-
readonly 'base': string;
|
|
25
|
-
readonly 'target': string;
|
|
26
|
-
readonly 'effective_at': string;
|
|
27
|
-
readonly 'spot_rate': number;
|
|
28
|
-
readonly 'flow_margin': number;
|
|
29
|
-
readonly 'flow_rate': number;
|
|
30
|
-
readonly 'organization_margin': number;
|
|
31
|
-
readonly 'organization_rate': number;
|
|
32
|
-
readonly 'rate_lock_unit': string;
|
|
33
|
-
readonly 'rate_lock_value': number;
|
|
34
|
-
readonly 'created_at': string;
|
|
35
|
-
readonly 'updated_at': string;
|
|
36
|
-
readonly 'updated_by_user_id': string;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
interface InternalChannelRate {
|
|
40
|
-
readonly 'id': string;
|
|
41
|
-
readonly 'channel': io.flow.common.v0.models.ChannelReference;
|
|
42
|
-
readonly 'base': string;
|
|
43
|
-
readonly 'target': string;
|
|
44
|
-
readonly 'effective_at': string;
|
|
45
|
-
readonly 'spot_rate': number;
|
|
46
|
-
readonly 'flow_margin': number;
|
|
47
|
-
readonly 'flow_rate': number;
|
|
48
|
-
readonly 'rate_lock': io.flow.common.v0.models.Duration;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
interface OrganizationCurrencySetting {
|
|
52
|
-
readonly 'id': string;
|
|
53
|
-
readonly 'organization': string;
|
|
54
|
-
readonly 'target': string;
|
|
55
|
-
readonly 'margin': number;
|
|
56
|
-
readonly 'rate_lock': io.flow.common.v0.models.Duration;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
interface OrganizationCurrencySettingForm {
|
|
60
|
-
readonly 'organization': string;
|
|
61
|
-
readonly 'target': string;
|
|
62
|
-
readonly 'margin': number;
|
|
63
|
-
readonly 'rate_lock': io.flow.common.v0.models.Duration;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
interface OrganizationCurrencySettingVersion {
|
|
67
|
-
readonly 'id': string;
|
|
68
|
-
readonly 'timestamp': string;
|
|
69
|
-
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
70
|
-
readonly 'organization_currency_setting': io.flow.currency.internal.v0.models.OrganizationCurrencySetting;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
interface RateData {
|
|
74
|
-
readonly 'base': string;
|
|
75
|
-
readonly 'target': string;
|
|
76
|
-
readonly 'effective_at': string;
|
|
77
|
-
readonly 'spot_rate': number;
|
|
78
|
-
readonly 'flow_margin': number;
|
|
79
|
-
readonly 'flow_rate': number;
|
|
80
|
-
readonly 'organization_margin': number;
|
|
81
|
-
readonly 'organization_rate': number;
|
|
82
|
-
readonly 'rate_lock_unit': string;
|
|
83
|
-
readonly 'rate_lock_value': number;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
interface RateDataV3 {
|
|
87
|
-
readonly 'base': string;
|
|
88
|
-
readonly 'target': string;
|
|
89
|
-
readonly 'source': io.flow.currency.internal.v0.enums.RateSource;
|
|
90
|
-
readonly 'spot_rate': number;
|
|
91
|
-
readonly 'flow_margin': number;
|
|
92
|
-
readonly 'flow_rate': number;
|
|
93
|
-
readonly 'organization_margin': number;
|
|
94
|
-
readonly 'organization_rate': number;
|
|
95
|
-
readonly 'rate_lock': io.flow.common.v0.models.Duration;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
interface SpotRate {
|
|
99
|
-
readonly 'id': string;
|
|
100
|
-
readonly 'effective_at': string;
|
|
101
|
-
readonly 'base': string;
|
|
102
|
-
readonly 'target': string;
|
|
103
|
-
readonly 'value': number;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
interface SpotRateVersion {
|
|
107
|
-
readonly 'id': string;
|
|
108
|
-
readonly 'timestamp': string;
|
|
109
|
-
readonly 'type': io.flow.common.v0.enums.ChangeType;
|
|
110
|
-
readonly 'spot_rate': io.flow.currency.internal.v0.models.SpotRate;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
interface UsdSpotRate {
|
|
114
|
-
readonly 'id': string;
|
|
115
|
-
readonly 'effective_at': string;
|
|
116
|
-
readonly 'target': string;
|
|
117
|
-
readonly 'value': number;
|
|
118
|
-
}
|
|
119
|
-
}
|