@artisan-commerce/types 0.14.0-canary.47 → 0.14.0-canary.48

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.
Files changed (2) hide show
  1. package/dist/bundle.d.ts +99 -99
  2. package/package.json +2 -2
package/dist/bundle.d.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  */
7
7
  interface Country<T extends AdditionalInfo = AdditionalInfo> {
8
8
  /** Country's identifier */
9
- id: number;
9
+ id: string;
10
10
  /** Country's name */
11
11
  name: string;
12
12
  /** Country ISO code, see {@link CountryCode} */
@@ -27,7 +27,7 @@ interface Country<T extends AdditionalInfo = AdditionalInfo> {
27
27
  */
28
28
  interface CountryCurrency {
29
29
  /** Currency's identifier */
30
- id: number;
30
+ id: string;
31
31
  /** Currency's name */
32
32
  name: string;
33
33
  /** Currency's symbol */
@@ -153,7 +153,7 @@ type DocumentType = ARDocumentType | BODocumentType | BRDocumentType | CLDocumen
153
153
  */
154
154
  interface CountrySummary {
155
155
  /** Country's id */
156
- id: number;
156
+ id: string;
157
157
  /** Country's name */
158
158
  name: string;
159
159
  }
@@ -268,7 +268,7 @@ interface RandomImageConfig {
268
268
  */
269
269
  interface Account<T extends AdditionalInfo = AdditionalInfo> {
270
270
  /** Artisn's account unique identifier */
271
- accountId: number;
271
+ accountId: string;
272
272
  /** Account's name */
273
273
  name: string;
274
274
  /** Account's description */
@@ -287,7 +287,7 @@ interface Account<T extends AdditionalInfo = AdditionalInfo> {
287
287
  */
288
288
  interface Category<T extends AdditionalInfo = AdditionalInfo> {
289
289
  /** Category's id */
290
- categoryId: number;
290
+ categoryId: string;
291
291
  /** Category's name */
292
292
  name: string;
293
293
  /** Category image's array, see {@link CDNImage} */
@@ -370,7 +370,7 @@ interface Catalogue<T extends AdditionalInfo = AdditionalInfo> {
370
370
  */
371
371
  interface Store<T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo, V extends AdditionalInfo = AdditionalInfo> {
372
372
  /** Store unique identifier */
373
- storeId: number;
373
+ storeId: string;
374
374
  /** Store name */
375
375
  storeName: string;
376
376
  /** Store address */
@@ -560,7 +560,7 @@ interface StorePolygons {
560
560
  */
561
561
  interface ShippingCost<T extends AdditionalInfo = AdditionalInfo> {
562
562
  /** Shipping cost product's id */
563
- productId: number;
563
+ productId: string;
564
564
  /** Shipping cost's name */
565
565
  name: string;
566
566
  /** Shipping cost's amount */
@@ -640,7 +640,7 @@ interface ShoppingCart<T extends AdditionalInfo = AdditionalInfo, U extends Addi
640
640
  /** Shopping cart update date */
641
641
  updatedAt: string;
642
642
  /** Shopping cart channel unique identifier */
643
- channelId: number;
643
+ channelId: string;
644
644
  /** Shopping cart stores, see Objectify<{@link CartStore}> */
645
645
  stores: Objectify<CartStore<W, U, V, X, Y>>;
646
646
  /** Shopping cart shipping cost */
@@ -728,9 +728,9 @@ interface BillTotalCategory {
728
728
  * @since 0.1.0
729
729
  */
730
730
  interface Discount {
731
- benefitId: number;
731
+ benefitId: string;
732
732
  /** Benefit wallet id */
733
- benefitWalletId: number;
733
+ benefitWalletId: string;
734
734
  /** Discount base value */
735
735
  discountBase: number;
736
736
  /** Whether or not the coupon has taxes */
@@ -989,7 +989,7 @@ interface ProductDetails<T extends AdditionalInfo = AdditionalInfo, U extends Ad
989
989
  /** Array of product questions, see {@link ProductQuestion} */
990
990
  questions: ProductQuestion<T>[];
991
991
  /** The benefit id of the product */
992
- benefitId: number | null;
992
+ benefitId: string | null;
993
993
  /** An array of categories which the product belongs to, see {@link Category} */
994
994
  categories: Category<U>[] | null;
995
995
  }
@@ -1102,7 +1102,7 @@ interface Wallet {
1102
1102
  */
1103
1103
  interface Benefit {
1104
1104
  /** The account id of the benefit */
1105
- accountId: number;
1105
+ accountId: string;
1106
1106
  /**
1107
1107
  * An array of benefit awards if the benefit is of `PRODUCT` type, and an
1108
1108
  * object if the benefit is of `ALTER_DELIVERY` or `DISCOUNT` type,
@@ -1110,11 +1110,11 @@ interface Benefit {
1110
1110
  * */
1111
1111
  award: Award | Award[];
1112
1112
  /** Benefit id */
1113
- benefitId: number;
1113
+ benefitId: string;
1114
1114
  /** Benefit wallet id */
1115
- benefitWalletId: number;
1115
+ benefitWalletId: string;
1116
1116
  /** The channel id of the benefit */
1117
- channelId: number;
1117
+ channelId: string;
1118
1118
  /** Benefit code in back-end */
1119
1119
  code: null;
1120
1120
  /** Combined */
@@ -1162,9 +1162,9 @@ interface Benefit {
1162
1162
  */
1163
1163
  interface Award {
1164
1164
  /** The id of the award */
1165
- id: number;
1165
+ id: string;
1166
1166
  /** The id of the benefit */
1167
- benefitId: number;
1167
+ benefitId: string;
1168
1168
  /** Benefit discount percentage */
1169
1169
  discountPercentage: number;
1170
1170
  /** Benefit discount value */
@@ -1174,7 +1174,7 @@ interface Award {
1174
1174
  /** Product description associated with the benefit award */
1175
1175
  productDescription: string;
1176
1176
  /** Product unique identifier associated with the benefit award */
1177
- productId: number;
1177
+ productId: string;
1178
1178
  /** The vendor id of the award */
1179
1179
  vendorId: Vendor["id"];
1180
1180
  }
@@ -1200,7 +1200,7 @@ type BenefitTypes = "ALTER_DELIVERY" | "PRODUCT" | "DISCOUNT_FIXED" | "DISCOUNT_
1200
1200
  */
1201
1201
  interface BenefitData {
1202
1202
  /** Benefit account unique identifier */
1203
- account_id: number;
1203
+ account_id: string;
1204
1204
  /** Benefit data amount */
1205
1205
  amount: number | null;
1206
1206
  /** Indicates if the benefit is redeemed automatically */
@@ -1224,7 +1224,7 @@ interface BenefitData {
1224
1224
  /** Benefit external id */
1225
1225
  external_id: string | null;
1226
1226
  /** Benefit data unique identifier */
1227
- id: number;
1227
+ id: string;
1228
1228
  /** Benefit image */
1229
1229
  image: null;
1230
1230
  /** Benefit instruction */
@@ -1274,17 +1274,17 @@ interface ProductCoupon {
1274
1274
  /** Product coupon amount */
1275
1275
  amount: number;
1276
1276
  /** Product coupon benefit unique identifier */
1277
- benefitId: number;
1277
+ benefitId: string;
1278
1278
  /** Product coupon discount percentage */
1279
1279
  discountPercentage: number;
1280
1280
  /** Product coupon discount */
1281
1281
  discountValue: number | null;
1282
1282
  /** Product coupon id */
1283
- id: number;
1283
+ id: string;
1284
1284
  /** Product description */
1285
1285
  productDescription: string | null;
1286
1286
  /** Product unique identifier */
1287
- productId: number | null;
1287
+ productId: string | null;
1288
1288
  /** Coupon swap product unique identifier */
1289
1289
  swapProductId: null;
1290
1290
  /** Coupon vendor unique identifier */
@@ -1302,7 +1302,7 @@ interface StoreCoupon {
1302
1302
  /** Whether or not the store coupon is featured */
1303
1303
  featured: boolean;
1304
1304
  /** Store coupon unique identifier */
1305
- id: number;
1305
+ id: string;
1306
1306
  /** Store coupon name */
1307
1307
  name: string;
1308
1308
  /** Store coupon vendor unique identifier */
@@ -1327,7 +1327,7 @@ interface Coupon {
1327
1327
  /** Coupon end date */
1328
1328
  end_date: string;
1329
1329
  /** Coupon unique identifier */
1330
- id: number;
1330
+ id: string;
1331
1331
  /** Coupon image */
1332
1332
  image: URLImage | null;
1333
1333
  /** Coupon name */
@@ -1368,7 +1368,7 @@ interface CouponCategory {
1368
1368
  /** Whether or not the store coupon category is featured */
1369
1369
  featured: boolean;
1370
1370
  /** Coupon category unique identifier */
1371
- id: number;
1371
+ id: string;
1372
1372
  /** Coupon category name */
1373
1373
  name: string;
1374
1374
  }
@@ -1382,9 +1382,9 @@ interface Code {
1382
1382
  /** The code associated with the coupon */
1383
1383
  code: string;
1384
1384
  /** Coupon code unique identifier */
1385
- coupon_id: number;
1385
+ coupon_id: string;
1386
1386
  /** Code unique identifier */
1387
- id: number;
1387
+ id: string;
1388
1388
  /** The token corresponding to a QR code */
1389
1389
  jwt: Token | null;
1390
1390
  /** The status of the code, see {@link ProductStatus} */
@@ -1426,7 +1426,7 @@ interface StoreCouponDetail extends Omit<Coupon, "category"> {
1426
1426
  */
1427
1427
  interface Banner<T extends AdditionalInfo = AdditionalInfo> {
1428
1428
  /** Banner category id */
1429
- banner_category_id: number;
1429
+ banner_category_id: string;
1430
1430
  /** Banner description */
1431
1431
  banner_description: string;
1432
1432
  /** Banner qr code */
@@ -1440,15 +1440,15 @@ interface Banner<T extends AdditionalInfo = AdditionalInfo> {
1440
1440
  /** Banner's benefits */
1441
1441
  benefits: BannerBenefits[] | null;
1442
1442
  /** Banner category id */
1443
- category_id: number | null;
1443
+ category_id: string | null;
1444
1444
  /** Banner category name */
1445
1445
  category_name: string | null;
1446
1446
  /** Banner channel's id */
1447
- channel_id: number | null;
1447
+ channel_id: string | null;
1448
1448
  /** Banner coupon's code */
1449
1449
  coupon: BannerCoupon | null;
1450
1450
  /** Banner coupon's id */
1451
- coupon_id: number | null;
1451
+ coupon_id: string | null;
1452
1452
  /** The bucket where the image is saved */
1453
1453
  image_bucket: string | null;
1454
1454
  /** he cloud where the banner is saved, see {@link CDNImage} */
@@ -1462,7 +1462,7 @@ interface Banner<T extends AdditionalInfo = AdditionalInfo> {
1462
1462
  /** An array of banner images, see {@link BannerImage} */
1463
1463
  images: BannerImage[];
1464
1464
  /** Banner product's id */
1465
- product_id: number | null;
1465
+ product_id: string | null;
1466
1466
  /** Banner product's name */
1467
1467
  product_name: string | null;
1468
1468
  /** Banner's section */
@@ -1472,7 +1472,7 @@ interface Banner<T extends AdditionalInfo = AdditionalInfo> {
1472
1472
  /** Banner stores array */
1473
1473
  stores: unknown[];
1474
1474
  /** Banner vendor's id */
1475
- vendor_id: number;
1475
+ vendor_id: string;
1476
1476
  /** Banner vendor's name */
1477
1477
  vendor_name: string;
1478
1478
  /** Banner additional info */
@@ -1500,7 +1500,7 @@ type BannerScope = "WEB" | "GLOBAL" | "APP";
1500
1500
  */
1501
1501
  interface BannerImage {
1502
1502
  /** Banner's id */
1503
- id: number;
1503
+ id: string;
1504
1504
  /** Banner image's filename */
1505
1505
  file_name: string;
1506
1506
  /** Banner image's filename */
@@ -1521,7 +1521,7 @@ interface BannerImage {
1521
1521
  * @since 0.1.0
1522
1522
  */
1523
1523
  interface BannerBenefits {
1524
- id: number;
1524
+ id: string;
1525
1525
  name: string;
1526
1526
  }
1527
1527
  /**
@@ -1573,7 +1573,7 @@ interface BaseBillingData<T extends AdditionalInfo = AdditionalInfo> {
1573
1573
  */
1574
1574
  interface BillingData<T extends AdditionalInfo = AdditionalInfo> extends BaseBillingData<T> {
1575
1575
  /** Billing's auto generated id */
1576
- id: number;
1576
+ id: string;
1577
1577
  }
1578
1578
 
1579
1579
  /**
@@ -1594,7 +1594,7 @@ interface Workflow<T extends AdditionalInfo = AdditionalInfo> {
1594
1594
  /** Workflow description */
1595
1595
  description: string;
1596
1596
  /** Workflow unique identifier */
1597
- id: number;
1597
+ id: string;
1598
1598
  /** Workflow name */
1599
1599
  name: string;
1600
1600
  /** An array of workflow steps, see {@link StepWorkflow} */
@@ -1650,7 +1650,7 @@ interface StepWorkflow {
1650
1650
  /** Step workflow description to use on front end */
1651
1651
  description_frontend: string | null;
1652
1652
  /** Step workflow id */
1653
- id: number;
1653
+ id: string;
1654
1654
  /** Step workflow name */
1655
1655
  name: string;
1656
1656
  /** Step workflow subtitle to use on front end */
@@ -1700,21 +1700,21 @@ interface StepWorkflowGroup {
1700
1700
  */
1701
1701
  interface TransitionWorkflow {
1702
1702
  /** Channel unique identifier */
1703
- channel_id: number;
1703
+ channel_id: string;
1704
1704
  /** Transition workflow conditions */
1705
1705
  conditions: any[];
1706
1706
  /** Transition workflow description */
1707
1707
  description: string;
1708
1708
  /** The step id where the transition comes from */
1709
- from_step_id: number;
1709
+ from_step_id: string;
1710
1710
  /** Transition workflow unique identifier */
1711
- id: number;
1711
+ id: string;
1712
1712
  /** Transition workflow name */
1713
1713
  name: string;
1714
1714
  /** The step id where the transition can go */
1715
- to_step_id: number;
1715
+ to_step_id: string;
1716
1716
  /** Vendor unique identifier */
1717
- vendor_id: number;
1717
+ vendor_id: string;
1718
1718
  }
1719
1719
  /**
1720
1720
  * Workflow webhook.
@@ -1724,7 +1724,7 @@ interface TransitionWorkflow {
1724
1724
  */
1725
1725
  interface WebhookWorkflow {
1726
1726
  /** Webhook workflow unique identifier */
1727
- id: number;
1727
+ id: string;
1728
1728
  /** Webhook workflow method type */
1729
1729
  method: string;
1730
1730
  /** Webhook workflow url */
@@ -1750,11 +1750,11 @@ interface IssueAdditionalInfo {
1750
1750
  */
1751
1751
  interface IssueHistory {
1752
1752
  /** History unique identifier */
1753
- id: number;
1753
+ id: string;
1754
1754
  /** Transition unique identifier */
1755
- transition_id: number;
1755
+ transition_id: string;
1756
1756
  /** Step unique identifier */
1757
- step_id: number;
1757
+ step_id: string;
1758
1758
  /** Step name */
1759
1759
  step_name: string;
1760
1760
  /** History additional info, see {@link IssueAdditionalInfo} */
@@ -1774,23 +1774,23 @@ interface IssueHistory {
1774
1774
  */
1775
1775
  interface Issue {
1776
1776
  /** Issue unique identifier */
1777
- id: number;
1777
+ id: string;
1778
1778
  /** Client issue unique identifier */
1779
1779
  client_issue_id: string;
1780
1780
  /** Workflow unique identifier */
1781
- workflow_id: number;
1781
+ workflow_id: string;
1782
1782
  /** Parent issue unique identifier */
1783
1783
  parent_issue_id: null;
1784
1784
  /** Related issue unique identifier */
1785
1785
  related_issue_id: null;
1786
1786
  /** Step unique identifier */
1787
- step_id: number;
1787
+ step_id: string;
1788
1788
  /** The step where the issue is located */
1789
1789
  step: StepWorkflow;
1790
1790
  /** Account unique identifier */
1791
- account_id: number;
1791
+ account_id: string;
1792
1792
  /** Vendor unique identifier */
1793
- vendor_id: number;
1793
+ vendor_id: string;
1794
1794
  /** Children issues */
1795
1795
  children: any[];
1796
1796
  /** Related issues */
@@ -1802,7 +1802,7 @@ interface Issue {
1802
1802
  /** Issue history, see {@link IssueHistory} */
1803
1803
  history: IssueHistory[];
1804
1804
  /** Transaction unique identifier */
1805
- transaction_id: number | null;
1805
+ transaction_id: string | null;
1806
1806
  }
1807
1807
 
1808
1808
  /**
@@ -1878,7 +1878,7 @@ interface ArtisnParams {
1878
1878
  */
1879
1879
  interface BaseLivingPlace {
1880
1880
  /** Living place's id */
1881
- id: number;
1881
+ id: string;
1882
1882
  }
1883
1883
  /**
1884
1884
  * Representation of a living place.
@@ -1893,7 +1893,7 @@ interface LivingPlace extends BaseLivingPlace {
1893
1893
  /** Whether or not the living place is active */
1894
1894
  active: number;
1895
1895
  /** Country unique identifier */
1896
- countryId: number;
1896
+ countryId: string;
1897
1897
  /** Array of fields required to save a living place, see {@link Field} */
1898
1898
  fields: Field[];
1899
1899
  }
@@ -2007,7 +2007,7 @@ interface BaseShippingAddress<T extends AdditionalInfo = AdditionalInfo> {
2007
2007
  */
2008
2008
  interface ShippingAddress<T extends AdditionalInfo = AdditionalInfo> extends BaseShippingAddress<T> {
2009
2009
  /** Shipping address unique identifier */
2010
- id: number;
2010
+ id: string;
2011
2011
  /** Object which contains the living place, see {@link LivingPlace} */
2012
2012
  livingPlace: LivingPlace;
2013
2013
  }
@@ -2038,7 +2038,7 @@ interface NewShippingAddress<T extends AdditionalInfo = AdditionalInfo> extends
2038
2038
  */
2039
2039
  interface UpdatedShippingAddress<T extends AdditionalInfo = AdditionalInfo> extends BaseShippingAddress<T> {
2040
2040
  /** Shipping address unique identifier */
2041
- id: number;
2041
+ id: string;
2042
2042
  /**
2043
2043
  * Object which contains the living place to update,
2044
2044
  * see {@link LivingPlaceToSave}
@@ -2122,7 +2122,7 @@ type UserType = "NORMAL" | "DEPENDENT";
2122
2122
  */
2123
2123
  interface UserCountry {
2124
2124
  /** User's country id */
2125
- id: number;
2125
+ id: string;
2126
2126
  }
2127
2127
  /**
2128
2128
  * Representation of a phone.
@@ -2189,9 +2189,9 @@ interface Settings {
2189
2189
  */
2190
2190
  interface BaseOrder<T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo = AdditionalInfo, V extends AdditionalInfo = AdditionalInfo> {
2191
2191
  /** Order unique identifier */
2192
- id: number;
2192
+ id: string;
2193
2193
  /** Account unique identifier */
2194
- accountId: number;
2194
+ accountId: string;
2195
2195
  /** Order additional info*/
2196
2196
  additionalInfo?: T;
2197
2197
  /** User's order billing data' unique identifier */
@@ -2201,7 +2201,7 @@ interface BaseOrder<T extends AdditionalInfo = AdditionalInfo, U extends Additio
2201
2201
  /** Order allocation, see {@link Allocation} */
2202
2202
  allocation: Allocation;
2203
2203
  /** Channel unique identifier */
2204
- channelId: number;
2204
+ channelId: string;
2205
2205
  /** Order channel name */
2206
2206
  channelName: string;
2207
2207
  /** Order comment */
@@ -2233,7 +2233,7 @@ interface BaseOrder<T extends AdditionalInfo = AdditionalInfo, U extends Additio
2233
2233
  /** Step code, see {@link StepCode} */
2234
2234
  stepCode: StepCode;
2235
2235
  /** Step unique identifier */
2236
- stepId: number;
2236
+ stepId: string;
2237
2237
  /** Step name */
2238
2238
  stepName: string;
2239
2239
  /** User unique identifier */
@@ -2241,9 +2241,9 @@ interface BaseOrder<T extends AdditionalInfo = AdditionalInfo, U extends Additio
2241
2241
  /** Order user, see {@link OrderUser} */
2242
2242
  user: OrderUser<V>;
2243
2243
  /** Order transaction unique identifier */
2244
- transactionId: number | null;
2244
+ transactionId: string | null;
2245
2245
  /** Vendor unique identifier */
2246
- vendorId: number;
2246
+ vendorId: string;
2247
2247
  /** Vendor name */
2248
2248
  vendorName: string;
2249
2249
  /** Order operator information, see {@link OperatorInformation} */
@@ -2270,7 +2270,7 @@ interface OrderShoppingCart<T extends AdditionalInfo = AdditionalInfo> extends O
2270
2270
  /** Order instructions */
2271
2271
  instructions: string | null;
2272
2272
  /** Order status unique identifier */
2273
- statusId: number;
2273
+ statusId: string;
2274
2274
  /** Order issue unique identifier */
2275
2275
  issueId: string | null;
2276
2276
  /** Order invoice number */
@@ -2322,13 +2322,13 @@ interface OrderCommonFields {
2322
2322
  */
2323
2323
  interface OrderStore {
2324
2324
  /** Suborder unique identifier */
2325
- id: number;
2325
+ id: string;
2326
2326
  /** Order unique identifier */
2327
- orderId: number;
2327
+ orderId: string;
2328
2328
  /** Order digital command sent */
2329
2329
  digitalCommandSent: string;
2330
2330
  /** Order store status unique identifier */
2331
- statusId: number;
2331
+ statusId: string;
2332
2332
  /** Order store status name */
2333
2333
  statusName: string;
2334
2334
  /** Order store status code, see {@link StepCode} */
@@ -2410,11 +2410,11 @@ interface OrderStoreDelivery {
2410
2410
  */
2411
2411
  interface OrderProduct {
2412
2412
  /** Order product id */
2413
- id: number;
2413
+ id: string;
2414
2414
  /** Order product additional info, see {@link OrderProductAdditionalInfo } */
2415
2415
  additionalInfo: OrderProductAdditionalInfo;
2416
2416
  /** Order product unique identifier */
2417
- productId: number;
2417
+ productId: string;
2418
2418
  /** Order product name */
2419
2419
  productName: string;
2420
2420
  /** Order product comment */
@@ -2452,7 +2452,7 @@ interface OrderProductAdditionalInfo {
2452
2452
  /** The measure of the product */
2453
2453
  measure: string;
2454
2454
  /** The store associated with the product */
2455
- new_store: number;
2455
+ new_store: string;
2456
2456
  /** Indicates if a product is out of service */
2457
2457
  out_of_service: boolean;
2458
2458
  /** Indicates if a product is out of stock */
@@ -2612,7 +2612,7 @@ interface OrderProductPriceCategory {
2612
2612
  /** Order product price category type, see {@link PriceCategoryType} */
2613
2613
  category: PriceCategoryType;
2614
2614
  /** Order product price product id */
2615
- product_id?: number;
2615
+ product_id?: string;
2616
2616
  /** Order product price product name */
2617
2617
  name?: string;
2618
2618
  /** Order product price subtotal without taxes */
@@ -2641,9 +2641,9 @@ interface OrderProductPriceCategory {
2641
2641
  */
2642
2642
  interface OrderRetry extends Status, OrderCommonFields {
2643
2643
  /** Order retry unique identifier */
2644
- id: number;
2644
+ id: string;
2645
2645
  /** Order payment method id **/
2646
- payment_method_by_order_id: number;
2646
+ payment_method_by_order_id: string;
2647
2647
  /** Order retry reference **/
2648
2648
  reference: string;
2649
2649
  /** Order retry platform **/
@@ -2672,13 +2672,13 @@ interface OrderRetry extends Status, OrderCommonFields {
2672
2672
  */
2673
2673
  interface PaymentMethodByOrder extends Status, OrderCommonFields {
2674
2674
  /** Payment method by order unique identifier **/
2675
- id: number;
2675
+ id: string;
2676
2676
  /** Order unique identifier **/
2677
- order_id: number;
2677
+ order_id: string;
2678
2678
  /** Payment method id **/
2679
- payment_method_id: number;
2679
+ payment_method_id: string;
2680
2680
  /** Internal revenue service payment method id **/
2681
- sri_payment_method_id: number;
2681
+ sri_payment_method_id: string;
2682
2682
  /** Order payment method, see {@link OrderRetryPaymentMethod} */
2683
2683
  order: OrderRetryPaymentMethod;
2684
2684
  }
@@ -2690,7 +2690,7 @@ interface PaymentMethodByOrder extends Status, OrderCommonFields {
2690
2690
  */
2691
2691
  interface OrderRetryPaymentMethod extends Status {
2692
2692
  /** Order retry payment method unique identifier **/
2693
- id: number;
2693
+ id: string;
2694
2694
  /** User unique identifier associated with the order retry **/
2695
2695
  uid: string;
2696
2696
  /** Order retry billing data by user id **/
@@ -2710,13 +2710,13 @@ interface OrderRetryPaymentMethod extends Status {
2710
2710
  /** Order retry sent fulfillment **/
2711
2711
  sent_fulfillment: string;
2712
2712
  /** Order retry account id **/
2713
- account_id: number;
2713
+ account_id: string;
2714
2714
  /** Order retry sequence value **/
2715
2715
  seq_val: string;
2716
2716
  /** Order retry vendor id **/
2717
- vendor_id: number;
2717
+ vendor_id: string;
2718
2718
  /** Order retry channel id **/
2719
- channel_id: number;
2719
+ channel_id: string;
2720
2720
  /** Order retry created date **/
2721
2721
  created_at: string;
2722
2722
  /** Order retry update date **/
@@ -2734,7 +2734,7 @@ interface OrderRetryPaymentMethod extends Status {
2734
2734
  */
2735
2735
  interface Status {
2736
2736
  /** Status unique identifier **/
2737
- status_id: number;
2737
+ status_id: string;
2738
2738
  /** Status name **/
2739
2739
  status_name: string;
2740
2740
  /** Status code **/
@@ -2751,13 +2751,13 @@ interface Status {
2751
2751
  */
2752
2752
  interface Suborder extends Status {
2753
2753
  /** Suborder unique identifier **/
2754
- id: number;
2754
+ id: string;
2755
2755
  /** Suborder store unique identifier **/
2756
- store_id: number;
2756
+ store_id: string;
2757
2757
  /** Suborder store unique identifier **/
2758
2758
  store_name: string;
2759
2759
  /** Suborder order id **/
2760
- order_id: number;
2760
+ order_id: string;
2761
2761
  /** Suborder digital command sent **/
2762
2762
  digital_command_sent: string;
2763
2763
  /** Suborder vendor **/
@@ -2781,7 +2781,7 @@ interface OrderStep {
2781
2781
  /** Order step description to use on front end */
2782
2782
  description_frontend: string;
2783
2783
  /** Order step unique identifier */
2784
- id: number;
2784
+ id: string;
2785
2785
  /** Order step name */
2786
2786
  name: string;
2787
2787
  /** Order step code */
@@ -2875,7 +2875,7 @@ type Order<T extends AdditionalInfo = AdditionalInfo, U extends AdditionalInfo =
2875
2875
  */
2876
2876
  interface BaseField {
2877
2877
  /** Base field unique identifier */
2878
- id: number;
2878
+ id: string;
2879
2879
  /** Base field name */
2880
2880
  name: string;
2881
2881
  }
@@ -2997,9 +2997,9 @@ interface OperatorInformation {
2997
2997
  */
2998
2998
  interface OrderPaymentMethod {
2999
2999
  /** Order payment method id */
3000
- id: number;
3000
+ id: string;
3001
3001
  /** Order payment method id */
3002
- payment_method_id: number;
3002
+ payment_method_id: string;
3003
3003
  /** Order payment method name */
3004
3004
  payment_method_name: string;
3005
3005
  /** Order total by payment method */
@@ -3027,7 +3027,7 @@ type OrderStatus = "APPROVED" | "REJECTED" | "PENDING";
3027
3027
  */
3028
3028
  interface Notification {
3029
3029
  /** Notification unique identifier */
3030
- id: number;
3030
+ id: string;
3031
3031
  /** Notification title */
3032
3032
  title: string;
3033
3033
  /** Notification description */
@@ -3070,7 +3070,7 @@ type ReadValue = "YES" | "NO";
3070
3070
  */
3071
3071
  interface NotificationExtraData {
3072
3072
  /** The id of the notification extra data */
3073
- id: number;
3073
+ id: string;
3074
3074
  /** Sequential value */
3075
3075
  seqVal: string;
3076
3076
  /** Unique identifier */
@@ -3086,9 +3086,9 @@ interface NotificationExtraData {
3086
3086
  /** Store related to the notification, see {@link NotificationStore} */
3087
3087
  store: NotificationStore;
3088
3088
  /** Channel unique identifier */
3089
- channel_id: number;
3089
+ channel_id: string;
3090
3090
  /** Provided country id */
3091
- countryId: number;
3091
+ countryId: string;
3092
3092
  /** Notification step, see {@link NotificationStep} */
3093
3093
  step: NotificationStep;
3094
3094
  /** Allocation options, see {@link Allocation} */
@@ -3159,7 +3159,7 @@ interface NotificationAdditionalInfo {
3159
3159
  /** Project unique identifier */
3160
3160
  aud: string;
3161
3161
  /** Unique identifier of workflowId */
3162
- workflowId: number;
3162
+ workflowId: string;
3163
3163
  }
3164
3164
  /**
3165
3165
  * Notification list item.
@@ -3182,7 +3182,7 @@ interface NotificationListItem {
3182
3182
  */
3183
3183
  interface BasePaymentMethod {
3184
3184
  /** Payment method's id */
3185
- id: number;
3185
+ id: string;
3186
3186
  /** Payment method's created date */
3187
3187
  created_at: string | null;
3188
3188
  /** Payment method's updated date */
@@ -3251,7 +3251,7 @@ interface PaymentProvider extends Omit<PaymentMethod, "name"> {
3251
3251
  */
3252
3252
  interface CreditCardMapping extends BasePaymentMethod {
3253
3253
  /** Credit card mapping unique identifier */
3254
- id: number;
3254
+ id: string;
3255
3255
  /** Credit card mapping name, see {@link CardName} */
3256
3256
  name: CardName;
3257
3257
  /** Payment method image's url, commonly used to save image cards */
@@ -3280,7 +3280,7 @@ type CardName = "Diners" | "Discover" | "American Express" | "Visa" | "MasterCar
3280
3280
  * @since 0.5.15
3281
3281
  */
3282
3282
  interface CardInscription {
3283
- id: number;
3283
+ id: string;
3284
3284
  uid: string;
3285
3285
  number: string;
3286
3286
  type: string;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@artisan-commerce/types",
3
3
  "description": "Artisn's types and interfaces library",
4
4
  "type": "module",
5
- "version": "0.14.0-canary.47",
5
+ "version": "0.14.0-canary.48",
6
6
  "types": "./dist/bundle.d.ts",
7
7
  "files": [
8
8
  "dist"
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "author": "Luis Eduardo Andrade",
26
26
  "license": "MIT",
27
- "gitHead": "31a5315d6416ef7c087483b2633e3082a93d93c7",
27
+ "gitHead": "2b6418d5e5d73fe1b6e939dd0942e6dcce7b95fa",
28
28
  "nx": {
29
29
  "targets": {
30
30
  "build": {