@flowio/types 11.24.97 → 11.24.98

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/dist/api.d.ts CHANGED
@@ -129,6 +129,7 @@ declare namespace io.flow.google.pay.v0.unions {
129
129
  declare namespace io.flow.stripe.v0.enums {
130
130
  type AccountType = 'platform' | 'custom' | 'standard' | 'express';
131
131
  type ApplePayType = 'apple_pay' | 'apple_pay_later';
132
+ type BalanceTransactionType = 'adjustment' | 'advance' | 'advance_funding' | 'anticipation_repayment' | 'application_fee' | 'application_fee_refund' | 'charge' | 'climate_order_purchase' | 'climate_order_refund' | 'connect_collection_transfer' | 'contribution' | 'issuing_authorization_hold' | 'issuing_authorization_release' | 'issuing_dispute' | 'issuing_transaction' | 'obligation_outbound' | 'obligation_reversal_inbound' | 'payment' | 'payment_failure_refund' | 'payment_network_reserve_hold' | 'payment_network_reserve_release' | 'payment_refund' | 'payment_reversal' | 'payment_unreconciled' | 'payout' | 'payout_cancel' | 'payout_failure' | 'refund' | 'refund_failure' | 'reserve_transaction' | 'reserved_funds' | 'stripe_fee' | 'stripe_fx_fee' | 'tax_fee' | 'topup' | 'topup_reversal' | 'transfer' | 'transfer_cancel' | 'transfer_failure' | 'transfer_refund';
132
133
  type BankIdeal = 'abn_amro' | 'asn_bank' | 'bunq' | 'handelsbanken' | 'ing' | 'knab' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe';
133
134
  type BicIdeal = 'ABNANL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U';
134
135
  type CancellationReason = 'abandoned' | 'automatic' | 'duplicate' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice';
@@ -383,19 +384,73 @@ declare namespace io.flow.stripe.v0.models {
383
384
  readonly amount: number;
384
385
  readonly charge: string;
385
386
  readonly currency: string;
386
- readonly evidence: any;
387
+ readonly evidence: io.flow.stripe.v0.models.DisputeEvidence;
387
388
  readonly metadata: Record<string, string>;
388
389
  readonly payment_intent?: string;
389
390
  readonly reason: io.flow.stripe.v0.enums.DisputeReason;
390
391
  readonly status: io.flow.stripe.v0.enums.DisputeStatus;
391
392
  readonly object: string;
392
- readonly balance_transactions: any[];
393
+ readonly balance_transactions: io.flow.stripe.v0.models.DisputeBalanceTransaction[];
393
394
  readonly created: number;
394
395
  readonly evidence_details: io.flow.stripe.v0.models.DisputeEvidenceDetails;
395
396
  readonly is_charge_refundable: boolean;
396
397
  readonly livemode: boolean;
397
398
  readonly payment_method_details?: io.flow.stripe.v0.models.DisputePaymentMethodDetails;
398
399
  }
400
+ interface DisputeBalanceTransaction {
401
+ readonly payment_intent?: string;
402
+ readonly id: string;
403
+ readonly object: string;
404
+ readonly amount: number;
405
+ readonly available_on: number;
406
+ readonly created: number;
407
+ readonly currency: string;
408
+ readonly description?: string;
409
+ readonly exchange_rate?: number;
410
+ readonly fee?: number;
411
+ readonly fee_details: io.flow.stripe.v0.models.DisputeBalanceTransactionFeeDetails[];
412
+ readonly net: number;
413
+ readonly reporting_category: string;
414
+ readonly source?: string;
415
+ readonly status: string;
416
+ readonly type: io.flow.stripe.v0.enums.BalanceTransactionType;
417
+ }
418
+ interface DisputeBalanceTransactionFeeDetails {
419
+ readonly amount: number;
420
+ readonly application?: string;
421
+ readonly currency: string;
422
+ readonly description?: string;
423
+ readonly type: string;
424
+ }
425
+ interface DisputeEvidence {
426
+ readonly access_activity_log?: string;
427
+ readonly billing_address?: string;
428
+ readonly cancellation_policy?: string;
429
+ readonly cancellation_policy_disclosure?: string;
430
+ readonly cancellation_rebuttal?: string;
431
+ readonly customer_communication?: string;
432
+ readonly customer_email_address?: string;
433
+ readonly customer_name?: string;
434
+ readonly 'evidence.customer_purchase_ip'?: string;
435
+ readonly customer_signature?: string;
436
+ readonly duplicate_charge_documentation?: string;
437
+ readonly duplicate_charge_explanation?: string;
438
+ readonly duplicate_charge_id?: string;
439
+ readonly product_description?: string;
440
+ readonly receipt?: string;
441
+ readonly refund_policy?: string;
442
+ readonly refund_policy_disclosure?: string;
443
+ readonly refund_refusal_explanation?: string;
444
+ readonly service_date?: string;
445
+ readonly service_documentation?: string;
446
+ readonly shipping_address?: string;
447
+ readonly shipping_carrier?: string;
448
+ readonly shipping_date?: string;
449
+ readonly shipping_documentation?: string;
450
+ readonly shipping_tracking_number?: string;
451
+ readonly uncategorized_file?: string;
452
+ readonly uncategorized_text?: string;
453
+ }
399
454
  interface DisputeEvidenceDetails {
400
455
  readonly due_by?: number;
401
456
  readonly has_evidence: boolean;
@@ -1139,6 +1194,7 @@ declare namespace io.flow.shopify.external.v0.enums {
1139
1194
  type Format = 'json' | 'xml';
1140
1195
  type FulfillmentService = 'manual' | 'gift_card';
1141
1196
  type FulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
1197
+ type GraphqlWeightUnit = 'GRAMS' | 'KILOGRAMS' | 'OUNCES' | 'POUNDS';
1142
1198
  type InventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
1143
1199
  type InventoryManagement = 'blank' | 'shopify';
1144
1200
  type InventoryPolicy = 'deny' | 'continue';
@@ -1183,6 +1239,66 @@ declare namespace io.flow.shopify.external.v0.models {
1183
1239
  interface Count {
1184
1240
  readonly count: number;
1185
1241
  }
1242
+ interface GraphqlInventoryItem {
1243
+ readonly id: string;
1244
+ readonly tracked: boolean;
1245
+ readonly requiresShipping?: boolean;
1246
+ readonly measurement: io.flow.shopify.external.v0.models.GraphqlMeasurement;
1247
+ }
1248
+ interface GraphqlMeasurement {
1249
+ readonly weight: io.flow.shopify.external.v0.models.GraphqlWeight;
1250
+ }
1251
+ interface GraphqlOption {
1252
+ readonly id: string;
1253
+ readonly values: string[];
1254
+ readonly name: string;
1255
+ readonly position: number;
1256
+ }
1257
+ interface GraphqlProduct {
1258
+ readonly id: string;
1259
+ readonly legacyResourceId: string;
1260
+ readonly handle: string;
1261
+ readonly variants?: io.flow.shopify.external.v0.models.GraphqlProductVariant[];
1262
+ readonly images: io.flow.shopify.external.v0.models.GraphqlProductImage[];
1263
+ readonly title: string;
1264
+ readonly vendor?: string;
1265
+ readonly descriptionHtml?: string;
1266
+ readonly productType?: string;
1267
+ readonly status?: string;
1268
+ readonly options: io.flow.shopify.external.v0.models.GraphqlOption[];
1269
+ readonly tags?: string[];
1270
+ readonly templateSuffix?: string;
1271
+ readonly publishedAt?: string;
1272
+ readonly createdAt: string;
1273
+ readonly updatedAt: string;
1274
+ readonly hasVariantsThatRequiresComponents?: boolean;
1275
+ }
1276
+ interface GraphqlProductImage {
1277
+ readonly id: string;
1278
+ readonly url: string;
1279
+ readonly altText?: string;
1280
+ }
1281
+ interface GraphqlProductVariant {
1282
+ readonly id: string;
1283
+ readonly legacyResourceId: string;
1284
+ readonly sku?: string;
1285
+ readonly price: string;
1286
+ readonly title: string;
1287
+ readonly taxable: boolean;
1288
+ readonly compareAtPrice?: string;
1289
+ readonly barcode?: string;
1290
+ readonly inventoryPolicy: io.flow.shopify.external.v0.enums.InventoryPolicy;
1291
+ readonly inventoryQuantity?: number;
1292
+ readonly image?: io.flow.shopify.external.v0.models.GraphqlVariantImage;
1293
+ readonly inventoryItem: io.flow.shopify.external.v0.models.GraphqlInventoryItem;
1294
+ }
1295
+ interface GraphqlVariantImage {
1296
+ readonly id: string;
1297
+ }
1298
+ interface GraphqlWeight {
1299
+ readonly unit: io.flow.shopify.external.v0.enums.GraphqlWeightUnit;
1300
+ readonly value: number;
1301
+ }
1186
1302
  interface Metafield {
1187
1303
  readonly id: number;
1188
1304
  readonly key: string;
@@ -1276,7 +1392,7 @@ declare namespace io.flow.shopify.external.v0.models {
1276
1392
  readonly options: io.flow.shopify.external.v0.models.Option[];
1277
1393
  readonly tags?: string;
1278
1394
  readonly template_suffix?: string;
1279
- readonly published_scope: io.flow.shopify.external.v0.enums.PublishedScope;
1395
+ readonly published_scope?: io.flow.shopify.external.v0.enums.PublishedScope;
1280
1396
  readonly published_at?: string;
1281
1397
  readonly created_at: string;
1282
1398
  readonly updated_at: string;
@@ -1290,9 +1406,9 @@ declare namespace io.flow.shopify.external.v0.models {
1290
1406
  readonly product_id: number;
1291
1407
  readonly variant_ids: number[];
1292
1408
  readonly src?: string;
1293
- readonly position: number;
1294
- readonly created_at: string;
1295
- readonly updated_at: string;
1409
+ readonly position?: number;
1410
+ readonly created_at?: string;
1411
+ readonly updated_at?: string;
1296
1412
  readonly alt?: string;
1297
1413
  }
1298
1414
  interface ProductVariant {
@@ -1317,7 +1433,7 @@ declare namespace io.flow.shopify.external.v0.models {
1317
1433
  readonly option1?: string;
1318
1434
  readonly option2?: string;
1319
1435
  readonly option3?: string;
1320
- readonly requires_shipping: boolean;
1436
+ readonly requires_shipping?: boolean;
1321
1437
  readonly metafields?: io.flow.shopify.external.v0.models.Metafield[];
1322
1438
  }
1323
1439
  interface RequestMetafieldForm {
@@ -1430,6 +1546,10 @@ declare namespace io.flow.shopify.external.v0.models {
1430
1546
  readonly session_hash?: string;
1431
1547
  readonly user_agent?: string;
1432
1548
  }
1549
+ interface ShopifyCountryHarmonizedSystemCode {
1550
+ readonly country_code: string;
1551
+ readonly harmonized_system_code: string;
1552
+ }
1433
1553
  interface ShopifyCustomer {
1434
1554
  readonly id: number;
1435
1555
  readonly addresses: io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
@@ -1630,6 +1750,13 @@ declare namespace io.flow.shopify.external.v0.models {
1630
1750
  interface ShopifyInventoryItemDelete {
1631
1751
  readonly id: number;
1632
1752
  }
1753
+ interface ShopifyInventoryItemSummary {
1754
+ readonly country_code_of_origin?: string;
1755
+ readonly country_harmonized_system_codes?: io.flow.shopify.external.v0.models.ShopifyCountryHarmonizedSystemCode[];
1756
+ readonly harmonized_system_code?: string;
1757
+ readonly updated_at: string;
1758
+ readonly requires_shipping: boolean;
1759
+ }
1633
1760
  interface ShopifyInventoryLevel {
1634
1761
  readonly inventory_item_id: number;
1635
1762
  readonly location_id: number;
@@ -2173,7 +2300,7 @@ declare namespace io.flow.v0.enums {
2173
2300
  type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
2174
2301
  type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
2175
2302
  type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
2176
- type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact';
2303
+ type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact' | 'twint' | 'przelewy24';
2177
2304
  type PayoutAttachmentType = 'transactions';
2178
2305
  type PayoutStatusFailureCode = 'invalid_account_number' | 'account_closed' | 'could_not_process';
2179
2306
  type PendingPayoutTransactionReasonCode = 'waiting_for_full_refund' | 'waiting_for_fulfillment' | 'waiting_for_in_transit' | 'waiting_for_next_payout_date' | 'waiting_for_tracking_info' | 'waiting_for_positive_account_balance';
@@ -7901,10 +8028,18 @@ declare namespace io.flow.v0.models {
7901
8028
  readonly type: 'init_paypal';
7902
8029
  readonly reference?: string;
7903
8030
  }
8031
+ interface PaymentMethodDataInitPrzelewy24 {
8032
+ readonly type: 'init_przelewy24';
8033
+ readonly reference?: string;
8034
+ }
7904
8035
  interface PaymentMethodDataInitSofort {
7905
8036
  readonly type: 'init_sofort';
7906
8037
  readonly reference?: string;
7907
8038
  }
8039
+ interface PaymentMethodDataInitTwint {
8040
+ readonly type: 'init_twint';
8041
+ readonly reference?: string;
8042
+ }
7908
8043
  interface PaymentMethodDataOptionLogoSvg {
7909
8044
  readonly type: 'svg';
7910
8045
  readonly url: string;
@@ -7997,10 +8132,18 @@ declare namespace io.flow.v0.models {
7997
8132
  readonly type: 'paypal';
7998
8133
  readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
7999
8134
  }
8135
+ interface PaymentMethodSummaryPrzelewy24 {
8136
+ readonly type: 'przelewy24';
8137
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
8138
+ }
8000
8139
  interface PaymentMethodSummarySofort {
8001
8140
  readonly type: 'sofort';
8002
8141
  readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
8003
8142
  }
8143
+ interface PaymentMethodSummaryTwint {
8144
+ readonly type: 'twint';
8145
+ readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
8146
+ }
8004
8147
  interface PaymentOrderDetailsLineItem {
8005
8148
  readonly id?: string;
8006
8149
  readonly description: string;
@@ -11202,12 +11345,12 @@ declare namespace io.flow.v0.unions {
11202
11345
  type PaymentCaptureOption = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual;
11203
11346
  type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
11204
11347
  type PaymentMethodCard = io.flow.v0.models.PaymentMethodCardPciDetails | io.flow.v0.models.PaymentMethodCardToken;
11205
- type PaymentMethodData = io.flow.v0.models.PaymentMethodDataInitKlarna | io.flow.v0.models.PaymentMethodDataInitAfterpay | io.flow.v0.models.PaymentMethodDataInitApplepay | io.flow.v0.models.PaymentMethodDataInitGooglepay | io.flow.v0.models.PaymentMethodDataInitPaypal | io.flow.v0.models.PaymentMethodDataInitIdeal | io.flow.v0.models.PaymentMethodDataInitSofort | io.flow.v0.models.PaymentMethodDataInitBancontact | io.flow.v0.models.PaymentMethodDataValidateApplepay | io.flow.v0.models.PaymentMethodDataAuthorizeCard | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
11348
+ type PaymentMethodData = io.flow.v0.models.PaymentMethodDataInitKlarna | io.flow.v0.models.PaymentMethodDataInitAfterpay | io.flow.v0.models.PaymentMethodDataInitApplepay | io.flow.v0.models.PaymentMethodDataInitGooglepay | io.flow.v0.models.PaymentMethodDataInitPaypal | io.flow.v0.models.PaymentMethodDataInitIdeal | io.flow.v0.models.PaymentMethodDataInitSofort | io.flow.v0.models.PaymentMethodDataInitTwint | io.flow.v0.models.PaymentMethodDataInitPrzelewy24 | io.flow.v0.models.PaymentMethodDataInitBancontact | io.flow.v0.models.PaymentMethodDataValidateApplepay | io.flow.v0.models.PaymentMethodDataAuthorizeCard | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
11206
11349
  type PaymentMethodDataAuthorizeApplepayResult = io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
11207
11350
  type PaymentMethodDataAuthorizeKlarnaResult = io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
11208
11351
  type PaymentMethodDataOptionLogo = io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
11209
11352
  type PaymentMethodStoredDetailsCard = io.flow.v0.models.PaymentMethodStoredDetailsCardInitial | io.flow.v0.models.PaymentMethodStoredDetailsCardSubsequent;
11210
- type PaymentMethodSummary = io.flow.v0.models.PaymentMethodSummaryCard | io.flow.v0.models.PaymentMethodSummaryKlarna | io.flow.v0.models.PaymentMethodSummaryAfterpay | io.flow.v0.models.PaymentMethodSummaryApplepay | io.flow.v0.models.PaymentMethodSummaryGooglepay | io.flow.v0.models.PaymentMethodSummaryPaypal | io.flow.v0.models.PaymentMethodSummaryIdeal | io.flow.v0.models.PaymentMethodSummarySofort | io.flow.v0.models.PaymentMethodSummaryBancontact;
11353
+ type PaymentMethodSummary = io.flow.v0.models.PaymentMethodSummaryCard | io.flow.v0.models.PaymentMethodSummaryKlarna | io.flow.v0.models.PaymentMethodSummaryAfterpay | io.flow.v0.models.PaymentMethodSummaryApplepay | io.flow.v0.models.PaymentMethodSummaryGooglepay | io.flow.v0.models.PaymentMethodSummaryPaypal | io.flow.v0.models.PaymentMethodSummaryIdeal | io.flow.v0.models.PaymentMethodSummaryTwint | io.flow.v0.models.PaymentMethodSummaryPrzelewy24 | io.flow.v0.models.PaymentMethodSummarySofort | io.flow.v0.models.PaymentMethodSummaryBancontact;
11211
11354
  type PaymentMethodTag = {
11212
11355
  discriminator: 'organization_payment_method_tag';
11213
11356
  value: io.flow.v0.enums.OrganizationPaymentMethodTag;
@@ -12372,7 +12515,9 @@ export declare type PaymentMethodDataInitGooglepay = io.flow.v0.models.PaymentMe
12372
12515
  export declare type PaymentMethodDataInitIdeal = io.flow.v0.models.PaymentMethodDataInitIdeal;
12373
12516
  export declare type PaymentMethodDataInitKlarna = io.flow.v0.models.PaymentMethodDataInitKlarna;
12374
12517
  export declare type PaymentMethodDataInitPaypal = io.flow.v0.models.PaymentMethodDataInitPaypal;
12518
+ export declare type PaymentMethodDataInitPrzelewy24 = io.flow.v0.models.PaymentMethodDataInitPrzelewy24;
12375
12519
  export declare type PaymentMethodDataInitSofort = io.flow.v0.models.PaymentMethodDataInitSofort;
12520
+ export declare type PaymentMethodDataInitTwint = io.flow.v0.models.PaymentMethodDataInitTwint;
12376
12521
  export declare type PaymentMethodDataOptionLogo = io.flow.v0.unions.PaymentMethodDataOptionLogo;
12377
12522
  export declare type PaymentMethodDataOptionLogoSvg = io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
12378
12523
  export declare type PaymentMethodDataOptionType = io.flow.v0.enums.PaymentMethodDataOptionType;
@@ -12397,7 +12542,9 @@ export declare type PaymentMethodSummaryGooglepay = io.flow.v0.models.PaymentMet
12397
12542
  export declare type PaymentMethodSummaryIdeal = io.flow.v0.models.PaymentMethodSummaryIdeal;
12398
12543
  export declare type PaymentMethodSummaryKlarna = io.flow.v0.models.PaymentMethodSummaryKlarna;
12399
12544
  export declare type PaymentMethodSummaryPaypal = io.flow.v0.models.PaymentMethodSummaryPaypal;
12545
+ export declare type PaymentMethodSummaryPrzelewy24 = io.flow.v0.models.PaymentMethodSummaryPrzelewy24;
12400
12546
  export declare type PaymentMethodSummarySofort = io.flow.v0.models.PaymentMethodSummarySofort;
12547
+ export declare type PaymentMethodSummaryTwint = io.flow.v0.models.PaymentMethodSummaryTwint;
12401
12548
  export declare type PaymentMethodTag = io.flow.v0.unions.PaymentMethodTag;
12402
12549
  export declare type PaymentMethodType = io.flow.v0.enums.PaymentMethodType;
12403
12550
  export declare type PaymentOrderDetailsLineItem = io.flow.v0.models.PaymentOrderDetailsLineItem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.97",
3
+ "version": "11.24.98",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "e2172791ebb0708545e2d68100656b52120f50e4"
28
+ "gitHead": "54b0e72a2a2a004dbc68536fa4f47e566426a56a"
29
29
  }