@flowio/api-types 0.0.228 → 0.0.229
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.external.paypal.v1.paypal.d.ts +14 -4
- package/generated/io.flow.internal.v0.api-internal.d.ts +190 -22
- package/generated/io.flow.payment.gateway.v0.payment-gateway.d.ts +23 -3
- package/generated/io.flow.shopify.external.v0.shopify-external.d.ts +87 -5
- package/generated/io.flow.shopify.markets.internal.event.v0.shopify-markets-internal-event.d.ts +17 -1
- package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +20 -0
- package/generated/io.flow.stripe.v0.stripe.d.ts +60 -2
- package/generated/io.flow.v0.api.d.ts +23 -3
- package/index.d.ts +0 -6
- package/package.json +2 -2
- package/generated/io.flow.billing.accounting.v0.billing-accounting.d.ts +0 -246
- package/generated/io.flow.billing.internal.v0.billing-internal.d.ts +0 -1138
- package/generated/io.flow.billing.reporting.csv.v0.billing-reporting-csv.d.ts +0 -35
- package/generated/io.flow.billing.reporting.v0.billing-reporting.d.ts +0 -324
- package/generated/io.flow.invoice.v0.invoice.d.ts +0 -21
- package/generated/io.flow.payment.internal.v0.payment-internal.d.ts +0 -853
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
declare namespace io.flow.billing.accounting.v0.models {
|
|
2
|
-
interface Fulfillment {
|
|
3
|
-
readonly 'id': string;
|
|
4
|
-
readonly 'order': io.flow.billing.accounting.v0.models.OrderSummary;
|
|
5
|
-
readonly 'shopper': io.flow.billing.accounting.v0.models.ShopperSummary;
|
|
6
|
-
readonly 'remittance': io.flow.billing.accounting.v0.models.RemittanceResponsibility;
|
|
7
|
-
readonly 'payment'?: io.flow.billing.accounting.v0.models.PaymentSummary;
|
|
8
|
-
readonly 'merchant': io.flow.billing.accounting.v0.models.MerchantSummary;
|
|
9
|
-
readonly 'sequence_number': number;
|
|
10
|
-
readonly 'posting_cutoff': string;
|
|
11
|
-
readonly 'trigger'?: io.flow.billing.accounting.v0.unions.FulfillmentTrigger;
|
|
12
|
-
readonly 'fulfilled_at': string;
|
|
13
|
-
readonly 'carrier'?: io.flow.billing.accounting.v0.models.FulfillmentCarrier;
|
|
14
|
-
readonly 'owner': io.flow.billing.internal.v0.enums.ResponsibleParty;
|
|
15
|
-
readonly 'origin'?: io.flow.billing.accounting.v0.models.FulfillmentOrigin;
|
|
16
|
-
readonly 'business'?: io.flow.billing.accounting.v0.models.FulfillmentBusiness;
|
|
17
|
-
readonly 'completes_order': boolean;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface FulfillmentBusiness {
|
|
21
|
-
readonly 'vat_registration_number': string;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
interface FulfillmentCarrier {
|
|
25
|
-
readonly 'id': string;
|
|
26
|
-
readonly 'service_id'?: string;
|
|
27
|
-
readonly 'tracking_number'?: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface FulfillmentOrigin {
|
|
31
|
-
readonly 'country': string;
|
|
32
|
-
readonly 'province_code'?: string;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
interface FulfillmentProofExternalFulfillmentProofReference {
|
|
36
|
-
readonly 'discriminator': 'external_fulfillment';
|
|
37
|
-
readonly 'id': string;
|
|
38
|
-
readonly 'carrier_id'?: string;
|
|
39
|
-
readonly 'carrier_service_id'?: string;
|
|
40
|
-
readonly 'carrier_tracking_number'?: string;
|
|
41
|
-
readonly 'label_id'?: string;
|
|
42
|
-
readonly 'created_at'?: string;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
interface FulfillmentProofLabelTrackingReference {
|
|
46
|
-
readonly 'discriminator': 'label_tracking';
|
|
47
|
-
readonly 'id': string;
|
|
48
|
-
readonly 'carrier_id'?: string;
|
|
49
|
-
readonly 'carrier_service_id'?: string;
|
|
50
|
-
readonly 'carrier_tracking_number'?: string;
|
|
51
|
-
readonly 'label_id'?: string;
|
|
52
|
-
readonly 'created_at'?: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
interface FulfillmentProofOrderCombinedShipmentReference {
|
|
56
|
-
readonly 'discriminator': 'order_combined_shipment';
|
|
57
|
-
readonly 'id': string;
|
|
58
|
-
readonly 'carrier_id'?: string;
|
|
59
|
-
readonly 'carrier_service_id'?: string;
|
|
60
|
-
readonly 'carrier_tracking_number'?: string;
|
|
61
|
-
readonly 'label_id'?: string;
|
|
62
|
-
readonly 'created_at'?: string;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
interface FulfillmentProofShippingNotificationReference {
|
|
66
|
-
readonly 'discriminator': 'shipping_notification';
|
|
67
|
-
readonly 'id': string;
|
|
68
|
-
readonly 'carrier_id'?: string;
|
|
69
|
-
readonly 'carrier_service_id'?: string;
|
|
70
|
-
readonly 'carrier_tracking_number'?: string;
|
|
71
|
-
readonly 'label_id'?: string;
|
|
72
|
-
readonly 'created_at'?: string;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
interface FulfillmentReference {
|
|
76
|
-
readonly 'id': string;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
interface FulfillmentSubsidyBreakdown {
|
|
80
|
-
readonly 'tax': number;
|
|
81
|
-
readonly 'duty': number;
|
|
82
|
-
readonly 'total': number;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
interface FulfillmentTriggerProof {
|
|
86
|
-
readonly 'discriminator': 'by_proof';
|
|
87
|
-
readonly 'proof': io.flow.billing.accounting.v0.unions.FulfillmentProof;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
interface FulfillmentTriggerTime {
|
|
91
|
-
readonly 'discriminator': 'by_time';
|
|
92
|
-
readonly 'placeholder'?: string;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
interface ItemSummary {
|
|
96
|
-
readonly 'number': string;
|
|
97
|
-
readonly 'fulfillment_method': io.flow.catalog.v0.enums.FulfillmentMethodValue;
|
|
98
|
-
readonly 'country_of_origin'?: string;
|
|
99
|
-
readonly 'tarriff_code'?: string;
|
|
100
|
-
readonly 'inferred'?: boolean;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
interface MerchantFees {
|
|
104
|
-
readonly 'duty_guarantee': number;
|
|
105
|
-
readonly 'mor': number;
|
|
106
|
-
readonly 'fraud': number;
|
|
107
|
-
readonly 'fx': number;
|
|
108
|
-
readonly 'processing': number;
|
|
109
|
-
readonly 'rate_lock': number;
|
|
110
|
-
readonly 'transfer': number;
|
|
111
|
-
readonly 'total': number;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
interface MerchantSubsidies {
|
|
115
|
-
readonly 'fees': io.flow.billing.accounting.v0.models.ShopperFees;
|
|
116
|
-
readonly 'tax': number;
|
|
117
|
-
readonly 'duty': number;
|
|
118
|
-
readonly 'total': number;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
interface MerchantSummary {
|
|
122
|
-
readonly 'subsidies': io.flow.billing.accounting.v0.models.MerchantSubsidies;
|
|
123
|
-
readonly 'fees': io.flow.billing.accounting.v0.models.MerchantFees;
|
|
124
|
-
readonly 'transactions': io.flow.billing.accounting.v0.models.MerchantTransactions;
|
|
125
|
-
readonly 'total': number;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
interface MerchantTransactions {
|
|
129
|
-
readonly 'adjustment': number;
|
|
130
|
-
readonly 'reversal': number;
|
|
131
|
-
readonly 'tax': number;
|
|
132
|
-
readonly 'duty': number;
|
|
133
|
-
readonly 'freight': number;
|
|
134
|
-
readonly 'total': number;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
interface OrderReference {
|
|
138
|
-
readonly 'organization': io.flow.common.v0.models.OrganizationReference;
|
|
139
|
-
readonly 'number': string;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
interface OrderSummary {
|
|
143
|
-
readonly 'id': string;
|
|
144
|
-
readonly 'organization': io.flow.common.v0.models.OrganizationReference;
|
|
145
|
-
readonly 'number': string;
|
|
146
|
-
readonly 'type': io.flow.experience.v0.enums.OrderType;
|
|
147
|
-
readonly 'submitted_at': string;
|
|
148
|
-
readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
|
|
149
|
-
readonly 'currency': string;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
interface PaymentSummary {
|
|
153
|
-
readonly 'psp': number;
|
|
154
|
-
readonly 'credit': number;
|
|
155
|
-
readonly 'subsidized': number;
|
|
156
|
-
readonly 'manual': number;
|
|
157
|
-
readonly 'cod': number;
|
|
158
|
-
readonly 'total': number;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
interface PendingOrder {
|
|
162
|
-
readonly 'id': string;
|
|
163
|
-
readonly 'order': io.flow.billing.accounting.v0.models.OrderSummary;
|
|
164
|
-
readonly 'shopper': io.flow.billing.accounting.v0.models.ShopperSummary;
|
|
165
|
-
readonly 'merchant': io.flow.billing.accounting.v0.models.MerchantSummary;
|
|
166
|
-
readonly 'payment'?: io.flow.billing.accounting.v0.models.PaymentSummary;
|
|
167
|
-
readonly 'remittance': io.flow.billing.accounting.v0.models.RemittanceResponsibility;
|
|
168
|
-
readonly 'sequence_number': number;
|
|
169
|
-
readonly 'posting_cutoff': string;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
interface RemittanceResponsibility {
|
|
173
|
-
readonly 'tax': io.flow.billing.internal.v0.enums.ResponsibleParty;
|
|
174
|
-
readonly 'duty': io.flow.billing.internal.v0.enums.ResponsibleParty;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
interface Return {
|
|
178
|
-
readonly 'id': string;
|
|
179
|
-
readonly 'order': io.flow.billing.accounting.v0.models.OrderSummary;
|
|
180
|
-
readonly 'shopper': io.flow.billing.accounting.v0.models.ShopperSummary;
|
|
181
|
-
readonly 'merchant': io.flow.billing.accounting.v0.models.MerchantSummary;
|
|
182
|
-
readonly 'remittance': io.flow.billing.accounting.v0.models.RemittanceResponsibility;
|
|
183
|
-
readonly 'payment'?: io.flow.billing.accounting.v0.models.PaymentSummary;
|
|
184
|
-
readonly 'sequence_number': number;
|
|
185
|
-
readonly 'posting_cutoff': string;
|
|
186
|
-
readonly 'trigger': io.flow.billing.accounting.v0.unions.ReturnTrigger;
|
|
187
|
-
readonly 'returned_at': string;
|
|
188
|
-
readonly 'completes_order': boolean;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
interface ReturnTriggerRefund {
|
|
192
|
-
readonly 'discriminator': 'by_refund';
|
|
193
|
-
readonly 'refund': io.flow.payment.v0.models.RefundReference;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
interface ShopperFees {
|
|
197
|
-
readonly 'fuel': number;
|
|
198
|
-
readonly 'remote_area': number;
|
|
199
|
-
readonly 'oversize': number;
|
|
200
|
-
readonly 'ccf': number;
|
|
201
|
-
readonly 'emergency': number;
|
|
202
|
-
readonly 'peak': number;
|
|
203
|
-
readonly 'total': number;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
interface ShopperFreight {
|
|
207
|
-
readonly 'price': number;
|
|
208
|
-
readonly 'discount': number;
|
|
209
|
-
readonly 'tax': number;
|
|
210
|
-
readonly 'duty': number;
|
|
211
|
-
readonly 'subsidies': io.flow.billing.accounting.v0.models.FulfillmentSubsidyBreakdown;
|
|
212
|
-
readonly 'total': number;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
interface ShopperLine {
|
|
216
|
-
readonly 'item': io.flow.billing.accounting.v0.models.ItemSummary;
|
|
217
|
-
readonly 'quantity': number;
|
|
218
|
-
readonly 'unit_price': number;
|
|
219
|
-
readonly 'price': number;
|
|
220
|
-
readonly 'discount': number;
|
|
221
|
-
readonly 'tax': number;
|
|
222
|
-
readonly 'duty': number;
|
|
223
|
-
readonly 'subsidies': io.flow.billing.accounting.v0.models.FulfillmentSubsidyBreakdown;
|
|
224
|
-
readonly 'total': number;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
interface ShopperLines {
|
|
228
|
-
readonly 'lines': io.flow.billing.accounting.v0.models.ShopperLine[];
|
|
229
|
-
readonly 'total': number;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
interface ShopperSummary {
|
|
233
|
-
readonly 'product': io.flow.billing.accounting.v0.models.ShopperLines;
|
|
234
|
-
readonly 'fees': io.flow.billing.accounting.v0.models.ShopperFees;
|
|
235
|
-
readonly 'freight': io.flow.billing.accounting.v0.models.ShopperFreight;
|
|
236
|
-
readonly 'tips'?: number;
|
|
237
|
-
readonly 'order_discount': number;
|
|
238
|
-
readonly 'total': number;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
declare namespace io.flow.billing.accounting.v0.unions {
|
|
243
|
-
type FulfillmentProof = (io.flow.billing.accounting.v0.models.FulfillmentProofLabelTrackingReference | io.flow.billing.accounting.v0.models.FulfillmentProofShippingNotificationReference | io.flow.billing.accounting.v0.models.FulfillmentProofExternalFulfillmentProofReference | io.flow.billing.accounting.v0.models.FulfillmentProofOrderCombinedShipmentReference);
|
|
244
|
-
type FulfillmentTrigger = (io.flow.billing.accounting.v0.models.FulfillmentTriggerProof | io.flow.billing.accounting.v0.models.FulfillmentTriggerTime);
|
|
245
|
-
type ReturnTrigger = (io.flow.billing.accounting.v0.models.ReturnTriggerRefund);
|
|
246
|
-
}
|