@flowio/types 11.3.0 → 11.5.0

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.
@@ -67,7 +67,7 @@ declare namespace io.flow.tracking.internal.v0.models {
67
67
  readonly password: string;
68
68
  readonly access_license_number: string;
69
69
  readonly account_number: string;
70
- readonly direct_feed_location_code: string;
70
+ readonly direct_feed_location_code?: string;
71
71
  }
72
72
  }
73
73
  declare namespace io.flow.tracking.internal.v0.unions {
@@ -1965,16 +1965,23 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
1965
1965
  readonly q?: string;
1966
1966
  readonly sort?: string;
1967
1967
  }
1968
- interface CsvPriceBookItemExportRow {
1968
+ interface CsvPriceBookItemExportRowByItemNumber {
1969
+ readonly item_number: string;
1969
1970
  readonly price_book_key: string;
1970
1971
  readonly price_book_item_key: string;
1971
- readonly item_number: string;
1972
+ readonly item_name: string;
1973
+ readonly amount: number;
1974
+ readonly item_attributes?: Record<string, string>;
1975
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
1976
+ }
1977
+ interface CsvPriceBookItemExportRowBySku {
1972
1978
  readonly sku: string;
1979
+ readonly price_book_key: string;
1980
+ readonly price_book_item_key: string;
1973
1981
  readonly item_name: string;
1974
1982
  readonly amount: number;
1975
1983
  readonly item_attributes?: Record<string, string>;
1976
- readonly starts_at: string;
1977
- readonly ends_at?: string;
1984
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
1978
1985
  }
1979
1986
  interface ExperienceExportType {
1980
1987
  readonly discriminator: 'experience_export_type';
@@ -5436,6 +5443,9 @@ declare namespace io.flow.search.v0.models {
5436
5443
  readonly q: string;
5437
5444
  readonly count?: number;
5438
5445
  }
5446
+ interface PriceBookItemExportOptions {
5447
+ readonly available_identifiers: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier[];
5448
+ }
5439
5449
  interface Suggestion {
5440
5450
  readonly label: string;
5441
5451
  readonly count: number;
@@ -11703,7 +11713,11 @@ declare namespace io.flow.payment.v0.models {
11703
11713
  readonly organization: string;
11704
11714
  readonly key: string;
11705
11715
  readonly identifier: io.flow.payment.v0.models.PaymentProcessorIdentifier;
11706
- readonly parent_account?: io.flow.payment.v0.models.PaymentProcessorAccount;
11716
+ readonly parent_account?: io.flow.payment.v0.models.PaymentProcessorAccountReference;
11717
+ }
11718
+ interface PaymentProcessorAccountReference {
11719
+ readonly organization: string;
11720
+ readonly key: string;
11707
11721
  }
11708
11722
  interface PaymentProcessorIdentifier {
11709
11723
  readonly id: string;
@@ -18852,6 +18866,7 @@ declare namespace io.flow.internal.v0.models {
18852
18866
  readonly method: string;
18853
18867
  readonly customer?: io.flow.common.v0.models.OrderCustomer;
18854
18868
  readonly address?: io.flow.common.v0.models.Address;
18869
+ readonly processor?: io.flow.payment.v0.models.PaymentProcessor;
18855
18870
  }
18856
18871
  interface SearchCustomerSummary {
18857
18872
  readonly name: io.flow.common.v0.models.Name;
@@ -19773,7 +19788,7 @@ declare namespace io.flow.internal.v0.models {
19773
19788
  readonly password: string;
19774
19789
  readonly access_license_number: string;
19775
19790
  readonly account_number: string;
19776
- readonly direct_feed_location_code: string;
19791
+ readonly direct_feed_location_code?: string;
19777
19792
  }
19778
19793
  interface UserDeletedV2 {
19779
19794
  readonly discriminator: 'user_deleted_v2';
package/dist/api.d.ts CHANGED
@@ -2271,16 +2271,23 @@ declare namespace io.flow.v0.models {
2271
2271
  readonly discriminator: 'cryptopay_authorization_details';
2272
2272
  readonly payment_id: string;
2273
2273
  }
2274
- interface CsvPriceBookItemExportRow {
2274
+ interface CsvPriceBookItemExportRowByItemNumber {
2275
+ readonly item_number: string;
2275
2276
  readonly price_book_key: string;
2276
2277
  readonly price_book_item_key: string;
2277
- readonly item_number: string;
2278
+ readonly item_name: string;
2279
+ readonly amount: number;
2280
+ readonly item_attributes?: Record<string, string>;
2281
+ readonly schedule: io.flow.v0.models.PriceBookItemSchedule;
2282
+ }
2283
+ interface CsvPriceBookItemExportRowBySku {
2278
2284
  readonly sku: string;
2285
+ readonly price_book_key: string;
2286
+ readonly price_book_item_key: string;
2279
2287
  readonly item_name: string;
2280
2288
  readonly amount: number;
2281
2289
  readonly item_attributes?: Record<string, string>;
2282
- readonly starts_at: string;
2283
- readonly ends_at?: string;
2290
+ readonly schedule: io.flow.v0.models.PriceBookItemSchedule;
2284
2291
  }
2285
2292
  interface Currency {
2286
2293
  readonly name: string;
@@ -5233,7 +5240,11 @@ declare namespace io.flow.v0.models {
5233
5240
  readonly organization: string;
5234
5241
  readonly key: string;
5235
5242
  readonly identifier: io.flow.v0.models.PaymentProcessorIdentifier;
5236
- readonly parent_account?: io.flow.v0.models.PaymentProcessorAccount;
5243
+ readonly parent_account?: io.flow.v0.models.PaymentProcessorAccountReference;
5244
+ }
5245
+ interface PaymentProcessorAccountReference {
5246
+ readonly organization: string;
5247
+ readonly key: string;
5237
5248
  }
5238
5249
  interface PaymentProcessorIdentifier {
5239
5250
  readonly id: string;
@@ -5374,6 +5385,9 @@ declare namespace io.flow.v0.models {
5374
5385
  readonly organization: string;
5375
5386
  readonly id: string;
5376
5387
  }
5388
+ interface PriceBookItemExportOptions {
5389
+ readonly available_identifiers: io.flow.v0.enums.ItemIdentifier[];
5390
+ }
5377
5391
  interface PriceBookItemExportType {
5378
5392
  readonly discriminator: 'price_book_item_export_type';
5379
5393
  readonly price_book_key?: string;
@@ -7798,7 +7812,8 @@ export declare type CrossdockRatecardFee = io.flow.v0.models.CrossdockRatecardFe
7798
7812
  export declare type CrossdockShipment = io.flow.v0.models.CrossdockShipment;
7799
7813
  export declare type CrossdockShipmentUpserted = io.flow.v0.models.CrossdockShipmentUpserted;
7800
7814
  export declare type CryptopayAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails;
7801
- export declare type CsvPriceBookItemExportRow = io.flow.v0.models.CsvPriceBookItemExportRow;
7815
+ export declare type CsvPriceBookItemExportRowByItemNumber = io.flow.v0.models.CsvPriceBookItemExportRowByItemNumber;
7816
+ export declare type CsvPriceBookItemExportRowBySku = io.flow.v0.models.CsvPriceBookItemExportRowBySku;
7802
7817
  export declare type Currency = io.flow.v0.models.Currency;
7803
7818
  export declare type CurrencyFormat = io.flow.v0.models.CurrencyFormat;
7804
7819
  export declare type CurrencyFormatDeleted = io.flow.v0.models.CurrencyFormatDeleted;
@@ -8386,6 +8401,7 @@ export declare type PaymentMethodType = io.flow.v0.enums.PaymentMethodType;
8386
8401
  export declare type PaymentPaypal = io.flow.v0.models.PaymentPaypal;
8387
8402
  export declare type PaymentProcessor = io.flow.v0.models.PaymentProcessor;
8388
8403
  export declare type PaymentProcessorAccount = io.flow.v0.models.PaymentProcessorAccount;
8404
+ export declare type PaymentProcessorAccountReference = io.flow.v0.models.PaymentProcessorAccountReference;
8389
8405
  export declare type PaymentProcessorIdentifier = io.flow.v0.models.PaymentProcessorIdentifier;
8390
8406
  export declare type PaymentProcessorReference = io.flow.v0.models.PaymentProcessorReference;
8391
8407
  export declare type PaymentReference = io.flow.v0.models.PaymentReference;
@@ -8416,6 +8432,7 @@ export declare type PriceBookDeleted = io.flow.v0.models.PriceBookDeleted;
8416
8432
  export declare type PriceBookForm = io.flow.v0.models.PriceBookForm;
8417
8433
  export declare type PriceBookItem = io.flow.v0.models.PriceBookItem;
8418
8434
  export declare type PriceBookItemDeleted = io.flow.v0.models.PriceBookItemDeleted;
8435
+ export declare type PriceBookItemExportOptions = io.flow.v0.models.PriceBookItemExportOptions;
8419
8436
  export declare type PriceBookItemExportType = io.flow.v0.models.PriceBookItemExportType;
8420
8437
  export declare type PriceBookItemForm = io.flow.v0.models.PriceBookItemForm;
8421
8438
  export declare type PriceBookItemQueryForm = io.flow.v0.models.PriceBookItemQueryForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.3.0",
3
+ "version": "11.5.0",
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": "c52ba90b248da3e6d6a65a6b9b0a220358ff6151"
28
+ "gitHead": "b074b7431789c52c4c75cd7719de08bb338ee973"
29
29
  }
@@ -77,7 +77,7 @@ declare namespace io.flow.tracking.internal.v0.models {
77
77
  readonly password: string;
78
78
  readonly access_license_number: string;
79
79
  readonly account_number: string;
80
- readonly direct_feed_location_code: string;
80
+ readonly direct_feed_location_code?: string;
81
81
  }
82
82
  }
83
83
 
@@ -2699,16 +2699,24 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
2699
2699
  readonly sort?: string;
2700
2700
  }
2701
2701
 
2702
- interface CsvPriceBookItemExportRow {
2702
+ interface CsvPriceBookItemExportRowByItemNumber {
2703
+ readonly item_number: string;
2703
2704
  readonly price_book_key: string;
2704
2705
  readonly price_book_item_key: string;
2705
- readonly item_number: string;
2706
+ readonly item_name: string;
2707
+ readonly amount: number;
2708
+ readonly item_attributes?: Record<string, string>;
2709
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
2710
+ }
2711
+
2712
+ interface CsvPriceBookItemExportRowBySku {
2706
2713
  readonly sku: string;
2714
+ readonly price_book_key: string;
2715
+ readonly price_book_item_key: string;
2707
2716
  readonly item_name: string;
2708
2717
  readonly amount: number;
2709
2718
  readonly item_attributes?: Record<string, string>;
2710
- readonly starts_at: string;
2711
- readonly ends_at?: string;
2719
+ readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
2712
2720
  }
2713
2721
 
2714
2722
  interface ExperienceExportType {
@@ -7390,6 +7398,10 @@ declare namespace io.flow.search.v0.models {
7390
7398
  readonly count?: number;
7391
7399
  }
7392
7400
 
7401
+ interface PriceBookItemExportOptions {
7402
+ readonly available_identifiers: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier[];
7403
+ }
7404
+
7393
7405
  interface Suggestion {
7394
7406
  readonly label: string;
7395
7407
  readonly count: number;
@@ -15237,7 +15249,12 @@ declare namespace io.flow.payment.v0.models {
15237
15249
  readonly organization: string;
15238
15250
  readonly key: string;
15239
15251
  readonly identifier: io.flow.payment.v0.models.PaymentProcessorIdentifier;
15240
- readonly parent_account?: io.flow.payment.v0.models.PaymentProcessorAccount;
15252
+ readonly parent_account?: io.flow.payment.v0.models.PaymentProcessorAccountReference;
15253
+ }
15254
+
15255
+ interface PaymentProcessorAccountReference {
15256
+ readonly organization: string;
15257
+ readonly key: string;
15241
15258
  }
15242
15259
 
15243
15260
  interface PaymentProcessorIdentifier {
@@ -24166,6 +24183,7 @@ declare namespace io.flow.internal.v0.models {
24166
24183
  readonly method: string;
24167
24184
  readonly customer?: io.flow.common.v0.models.OrderCustomer;
24168
24185
  readonly address?: io.flow.common.v0.models.Address;
24186
+ readonly processor?: io.flow.payment.v0.models.PaymentProcessor;
24169
24187
  }
24170
24188
 
24171
24189
  interface SearchCustomerSummary {
@@ -25238,7 +25256,7 @@ declare namespace io.flow.internal.v0.models {
25238
25256
  readonly password: string;
25239
25257
  readonly access_license_number: string;
25240
25258
  readonly account_number: string;
25241
- readonly direct_feed_location_code: string;
25259
+ readonly direct_feed_location_code?: string;
25242
25260
  }
25243
25261
 
25244
25262
  interface UserDeletedV2 {
package/src/api.ts CHANGED
@@ -3171,16 +3171,24 @@ declare namespace io.flow.v0.models {
3171
3171
  readonly payment_id: string;
3172
3172
  }
3173
3173
 
3174
- interface CsvPriceBookItemExportRow {
3174
+ interface CsvPriceBookItemExportRowByItemNumber {
3175
+ readonly item_number: string;
3175
3176
  readonly price_book_key: string;
3176
3177
  readonly price_book_item_key: string;
3177
- readonly item_number: string;
3178
+ readonly item_name: string;
3179
+ readonly amount: number;
3180
+ readonly item_attributes?: Record<string, string>;
3181
+ readonly schedule: io.flow.v0.models.PriceBookItemSchedule;
3182
+ }
3183
+
3184
+ interface CsvPriceBookItemExportRowBySku {
3178
3185
  readonly sku: string;
3186
+ readonly price_book_key: string;
3187
+ readonly price_book_item_key: string;
3179
3188
  readonly item_name: string;
3180
3189
  readonly amount: number;
3181
3190
  readonly item_attributes?: Record<string, string>;
3182
- readonly starts_at: string;
3183
- readonly ends_at?: string;
3191
+ readonly schedule: io.flow.v0.models.PriceBookItemSchedule;
3184
3192
  }
3185
3193
 
3186
3194
  interface Currency {
@@ -6617,7 +6625,12 @@ declare namespace io.flow.v0.models {
6617
6625
  readonly organization: string;
6618
6626
  readonly key: string;
6619
6627
  readonly identifier: io.flow.v0.models.PaymentProcessorIdentifier;
6620
- readonly parent_account?: io.flow.v0.models.PaymentProcessorAccount;
6628
+ readonly parent_account?: io.flow.v0.models.PaymentProcessorAccountReference;
6629
+ }
6630
+
6631
+ interface PaymentProcessorAccountReference {
6632
+ readonly organization: string;
6633
+ readonly key: string;
6621
6634
  }
6622
6635
 
6623
6636
  interface PaymentProcessorIdentifier {
@@ -6786,6 +6799,10 @@ declare namespace io.flow.v0.models {
6786
6799
  readonly id: string;
6787
6800
  }
6788
6801
 
6802
+ interface PriceBookItemExportOptions {
6803
+ readonly available_identifiers: io.flow.v0.enums.ItemIdentifier[];
6804
+ }
6805
+
6789
6806
  interface PriceBookItemExportType {
6790
6807
  readonly discriminator: 'price_book_item_export_type';
6791
6808
  readonly price_book_key?: string;
@@ -9867,7 +9884,8 @@ export type CrossdockRatecardFee = io.flow.v0.models.CrossdockRatecardFee;
9867
9884
  export type CrossdockShipment = io.flow.v0.models.CrossdockShipment;
9868
9885
  export type CrossdockShipmentUpserted = io.flow.v0.models.CrossdockShipmentUpserted;
9869
9886
  export type CryptopayAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails;
9870
- export type CsvPriceBookItemExportRow = io.flow.v0.models.CsvPriceBookItemExportRow;
9887
+ export type CsvPriceBookItemExportRowByItemNumber = io.flow.v0.models.CsvPriceBookItemExportRowByItemNumber;
9888
+ export type CsvPriceBookItemExportRowBySku = io.flow.v0.models.CsvPriceBookItemExportRowBySku;
9871
9889
  export type Currency = io.flow.v0.models.Currency;
9872
9890
  export type CurrencyFormat = io.flow.v0.models.CurrencyFormat;
9873
9891
  export type CurrencyFormatDeleted = io.flow.v0.models.CurrencyFormatDeleted;
@@ -10455,6 +10473,7 @@ export type PaymentMethodType = io.flow.v0.enums.PaymentMethodType;
10455
10473
  export type PaymentPaypal = io.flow.v0.models.PaymentPaypal;
10456
10474
  export type PaymentProcessor = io.flow.v0.models.PaymentProcessor;
10457
10475
  export type PaymentProcessorAccount = io.flow.v0.models.PaymentProcessorAccount;
10476
+ export type PaymentProcessorAccountReference = io.flow.v0.models.PaymentProcessorAccountReference;
10458
10477
  export type PaymentProcessorIdentifier = io.flow.v0.models.PaymentProcessorIdentifier;
10459
10478
  export type PaymentProcessorReference = io.flow.v0.models.PaymentProcessorReference;
10460
10479
  export type PaymentReference = io.flow.v0.models.PaymentReference;
@@ -10485,6 +10504,7 @@ export type PriceBookDeleted = io.flow.v0.models.PriceBookDeleted;
10485
10504
  export type PriceBookForm = io.flow.v0.models.PriceBookForm;
10486
10505
  export type PriceBookItem = io.flow.v0.models.PriceBookItem;
10487
10506
  export type PriceBookItemDeleted = io.flow.v0.models.PriceBookItemDeleted;
10507
+ export type PriceBookItemExportOptions = io.flow.v0.models.PriceBookItemExportOptions;
10488
10508
  export type PriceBookItemExportType = io.flow.v0.models.PriceBookItemExportType;
10489
10509
  export type PriceBookItemForm = io.flow.v0.models.PriceBookItemForm;
10490
10510
  export type PriceBookItemQueryForm = io.flow.v0.models.PriceBookItemQueryForm;