@whiplashmerch/whiplash-api-client 0.1.22 → 0.2.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.
@@ -18,28 +18,28 @@ import {
18
18
  APIV2EntitiesItemWarehouseQuantity,
19
19
  APIV2EntitiesMetaFields,
20
20
  APIV2EntitiesOriginator,
21
- APIV2EntitiesScancodeAlias,
21
+ APIV2EntitiesScancode,
22
22
  APIV2EntitiesShipnoticeItem,
23
23
  APIV2EntitiesTransaction,
24
24
  GetApiV21ItemsCountParams,
25
25
  GetApiV21ItemsIdMetaFieldsParams,
26
26
  GetApiV21ItemsIdOriginatorsParams,
27
- GetApiV21ItemsIdScancodeAliasesParams,
27
+ GetApiV21ItemsIdScancodesParams,
28
28
  GetApiV21ItemsIdShipnoticeItemsCountParams,
29
29
  GetApiV21ItemsIdShipnoticeItemsParams,
30
30
  GetApiV21ItemsIdTransactionsCountParams,
31
31
  GetApiV21ItemsIdTransactionsParams,
32
- GetApiV21ItemsOriginatorOriginatorIdScancodeAliasesParams,
32
+ GetApiV21ItemsOriginatorOriginatorIdScancodesParams,
33
33
  GetApiV21ItemsParams,
34
34
  GetApiV2ItemsCountParams,
35
35
  GetApiV2ItemsIdMetaFieldsParams,
36
36
  GetApiV2ItemsIdOriginatorsParams,
37
- GetApiV2ItemsIdScancodeAliasesParams,
37
+ GetApiV2ItemsIdScancodesParams,
38
38
  GetApiV2ItemsIdShipnoticeItemsCountParams,
39
39
  GetApiV2ItemsIdShipnoticeItemsParams,
40
40
  GetApiV2ItemsIdTransactionsCountParams,
41
41
  GetApiV2ItemsIdTransactionsParams,
42
- GetApiV2ItemsOriginatorOriginatorIdScancodeAliasesParams,
42
+ GetApiV2ItemsOriginatorOriginatorIdScancodesParams,
43
43
  GetApiV2ItemsParams,
44
44
  PostApiV21Items,
45
45
  PostApiV21ItemsIdBundleItems,
@@ -110,17 +110,17 @@ export const getApiV2ItemsActions = (client: HttpClient, params: RequestParams =
110
110
  * @description An item may have many alternate scancodes
111
111
  *
112
112
  * @tags originators
113
- * @name GetApiV2ItemsOriginatorOriginatorIdScancodeAliases
113
+ * @name GetApiV2ItemsOriginatorOriginatorIdScancodes
114
114
  * @summary List all scancodes associated with this item
115
- * @request GET:/api/v2/items/originator/{originator_id}/scancode_aliases
115
+ * @request GET:/api/v2/items/originator/{originator_id}/scancodes
116
116
  */
117
- export const getApiV2ItemsOriginatorOriginatorIdScancodeAliases = (
117
+ export const getApiV2ItemsOriginatorOriginatorIdScancodes = (
118
118
  client: HttpClient,
119
- { originatorId, ...query }: GetApiV2ItemsOriginatorOriginatorIdScancodeAliasesParams,
119
+ { originatorId, ...query }: GetApiV2ItemsOriginatorOriginatorIdScancodesParams,
120
120
  params: RequestParams = {},
121
121
  ) => {
122
- return client.request<APIV2EntitiesScancodeAlias[], APIV2EntitiesApiError>({
123
- path: `/api/v2/items/originator/${originatorId}/scancode_aliases`,
122
+ return client.request<APIV2EntitiesScancode[], APIV2EntitiesApiError>({
123
+ path: `/api/v2/items/originator/${originatorId}/scancodes`,
124
124
  method: "GET",
125
125
  query: query,
126
126
  format: "json",
@@ -296,17 +296,17 @@ export const getApiV2ItemsIdMetaFields = (
296
296
  * @description An item may have many alternate scancodes
297
297
  *
298
298
  * @tags items
299
- * @name GetApiV2ItemsIdScancodeAliases
299
+ * @name GetApiV2ItemsIdScancodes
300
300
  * @summary List all scancodes associated with this item
301
- * @request GET:/api/v2/items/{id}/scancode_aliases
301
+ * @request GET:/api/v2/items/{id}/scancodes
302
302
  */
303
- export const getApiV2ItemsIdScancodeAliases = (
303
+ export const getApiV2ItemsIdScancodes = (
304
304
  client: HttpClient,
305
- { id, ...query }: GetApiV2ItemsIdScancodeAliasesParams,
305
+ { id, ...query }: GetApiV2ItemsIdScancodesParams,
306
306
  params: RequestParams = {},
307
307
  ) => {
308
- return client.request<APIV2EntitiesScancodeAlias[], APIV2EntitiesApiError>({
309
- path: `/api/v2/items/${id}/scancode_aliases`,
308
+ return client.request<APIV2EntitiesScancode[], APIV2EntitiesApiError>({
309
+ path: `/api/v2/items/${id}/scancodes`,
310
310
  method: "GET",
311
311
  query: query,
312
312
  format: "json",
@@ -638,17 +638,17 @@ export const getApiV21ItemsActions = (client: HttpClient, params: RequestParams
638
638
  * @description An item may have many alternate scancodes
639
639
  *
640
640
  * @tags originators
641
- * @name GetApiV21ItemsOriginatorOriginatorIdScancodeAliases
641
+ * @name GetApiV21ItemsOriginatorOriginatorIdScancodes
642
642
  * @summary List all scancodes associated with this item
643
- * @request GET:/api/v2.1/items/originator/{originator_id}/scancode_aliases
643
+ * @request GET:/api/v2.1/items/originator/{originator_id}/scancodes
644
644
  */
645
- export const getApiV21ItemsOriginatorOriginatorIdScancodeAliases = (
645
+ export const getApiV21ItemsOriginatorOriginatorIdScancodes = (
646
646
  client: HttpClient,
647
- { originatorId, ...query }: GetApiV21ItemsOriginatorOriginatorIdScancodeAliasesParams,
647
+ { originatorId, ...query }: GetApiV21ItemsOriginatorOriginatorIdScancodesParams,
648
648
  params: RequestParams = {},
649
649
  ) => {
650
- return client.request<APIV2EntitiesScancodeAlias[], APIV2EntitiesApiError>({
651
- path: `/api/v2.1/items/originator/${originatorId}/scancode_aliases`,
650
+ return client.request<APIV2EntitiesScancode[], APIV2EntitiesApiError>({
651
+ path: `/api/v2.1/items/originator/${originatorId}/scancodes`,
652
652
  method: "GET",
653
653
  query: query,
654
654
  format: "json",
@@ -823,17 +823,17 @@ export const getApiV21ItemsIdMetaFields = (
823
823
  * @description An item may have many alternate scancodes
824
824
  *
825
825
  * @tags items
826
- * @name GetApiV21ItemsIdScancodeAliases
826
+ * @name GetApiV21ItemsIdScancodes
827
827
  * @summary List all scancodes associated with this item
828
- * @request GET:/api/v2.1/items/{id}/scancode_aliases
828
+ * @request GET:/api/v2.1/items/{id}/scancodes
829
829
  */
830
- export const getApiV21ItemsIdScancodeAliases = (
830
+ export const getApiV21ItemsIdScancodes = (
831
831
  client: HttpClient,
832
- { id, ...query }: GetApiV21ItemsIdScancodeAliasesParams,
832
+ { id, ...query }: GetApiV21ItemsIdScancodesParams,
833
833
  params: RequestParams = {},
834
834
  ) => {
835
- return client.request<APIV2EntitiesScancodeAlias[], APIV2EntitiesApiError>({
836
- path: `/api/v2.1/items/${id}/scancode_aliases`,
835
+ return client.request<APIV2EntitiesScancode[], APIV2EntitiesApiError>({
836
+ path: `/api/v2.1/items/${id}/scancodes`,
837
837
  method: "GET",
838
838
  query: query,
839
839
  format: "json",
@@ -9,7 +9,6 @@
9
9
  * ---------------------------------------------------------------
10
10
  */
11
11
 
12
- /** Create a meta_key */
13
12
  export interface APIV21EntitiesPostResponse {
14
13
  /**
15
14
  * The Whiplash ID of the newly created resource
@@ -288,6 +287,8 @@ export interface APIV2EntitiesCustomer {
288
287
  eori_number?: string;
289
288
  /** Customer estimated monthly volume. */
290
289
  estimated_monthly_volume?: string;
290
+ /** is this account flagged for exit notice? (admins only) */
291
+ exit_notice?: boolean;
291
292
  /**
292
293
  * items that are this many days from expiration will not be allowed to ship
293
294
  * @format int32
@@ -848,45 +849,6 @@ export interface APIV2EntitiesMetaFields {
848
849
  fields?: object;
849
850
  }
850
851
 
851
- /** Get a meta_key */
852
- export interface APIV2EntitiesMetaKey {
853
- /**
854
- * Key creation date and time
855
- * @format date-time
856
- */
857
- created_at?: string;
858
- /**
859
- * Customer who owns this key (admins only)
860
- * @format int32
861
- */
862
- customer_id?: number;
863
- /** Key description */
864
- description?: string;
865
- /**
866
- * Key discard date and time (admins only)
867
- * @format date-time
868
- */
869
- discarded_at?: string;
870
- /**
871
- * Key ID
872
- * @format int32
873
- */
874
- id?: number;
875
- /** array of tag keywords */
876
- keyword_list?: string;
877
- /** Key name */
878
- name?: string;
879
- /** Resource this key will be attached to */
880
- owner_type?: string;
881
- /**
882
- * Key last update date and time
883
- * @format date-time
884
- */
885
- updated_at?: string;
886
- /** Value type */
887
- value_type?: string;
888
- }
889
-
890
852
  export interface APIV2EntitiesNotificationEvent {
891
853
  /**
892
854
  * the notification event creation date and time
@@ -1026,6 +988,8 @@ export interface APIV2EntitiesOrder {
1026
988
  * @format int32
1027
989
  */
1028
990
  carrier_account_id?: number;
991
+ /** packingslip pdf url */
992
+ cf_packingslip_pdf_url?: string;
1029
993
  /** does the order contain alcohol? */
1030
994
  contains_alcohol?: boolean;
1031
995
  /**
@@ -1111,7 +1075,7 @@ export interface APIV2EntitiesOrder {
1111
1075
  /** the order type */
1112
1076
  order_type?: string;
1113
1077
  originator?: APIV2EntitiesOriginator;
1114
- packages?: APIV2EntitiesPackage;
1078
+ packages?: APIV2EntitiesPackage[];
1115
1079
  /** url for this orders packing slip */
1116
1080
  packingslip_pdf_url?: string;
1117
1081
  /** Permission limited orders are not editable, but still may be processed/shipped */
@@ -1174,8 +1138,7 @@ export interface APIV2EntitiesOrder {
1174
1138
  return_zip?: string;
1175
1139
  /** require a carrier that delivers on Saturdays for this order? */
1176
1140
  saturday_delivery?: boolean;
1177
- /** Serial numbers are scanned and saved during the packing process. */
1178
- serial_numbers?: APIV2EntitiesSerialNumber;
1141
+ serial_numbers?: APIV2EntitiesSerialNumber[];
1179
1142
  /**
1180
1143
  * the order actual cost of shipping
1181
1144
  * @format float
@@ -1655,7 +1618,7 @@ export interface APIV2EntitiesReturnItem {
1655
1618
  sku?: string;
1656
1619
  }
1657
1620
 
1658
- /** Get all scancode_aliases */
1621
+ /** An item may have many alternate scancodes */
1659
1622
  export interface APIV2EntitiesScancode {
1660
1623
  /** is this scancode active? */
1661
1624
  active?: boolean;
@@ -1694,36 +1657,6 @@ export interface APIV2EntitiesScancode {
1694
1657
  updated_at?: string;
1695
1658
  }
1696
1659
 
1697
- /** An item may have many alternate scancodes */
1698
- export interface APIV2EntitiesScancodeAlias {
1699
- /** is this scancode_alias active? */
1700
- active?: boolean;
1701
- /**
1702
- * scancode_alias creation date
1703
- * @format date-time
1704
- */
1705
- created_at?: string;
1706
- /**
1707
- * the scancode_alias id
1708
- * @format int32
1709
- */
1710
- id?: number;
1711
- /**
1712
- * the item_id
1713
- * @format int32
1714
- */
1715
- item_id?: number;
1716
- /** label format for the scancode_alias */
1717
- label_format?: string;
1718
- /** the scancode for the scancode_alias */
1719
- scancode?: string;
1720
- /**
1721
- * scancode_alias last updated date
1722
- * @format date-time
1723
- */
1724
- updated_at?: string;
1725
- }
1726
-
1727
1660
  /** Serial numbers are scanned and saved during the packing process. */
1728
1661
  export interface APIV2EntitiesSerialNumber {
1729
1662
  /**
@@ -2167,15 +2100,21 @@ export interface APIV2EntitiesUser {
2167
2100
  id?: number;
2168
2101
  /** last name of the user */
2169
2102
  last_name?: string;
2170
- /** locale for languate settings */
2171
- locale?: string;
2103
+ /**
2104
+ * locale for language settings
2105
+ * @default "en"
2106
+ */
2107
+ locale?: ApiV2EntitiesUserLocale;
2172
2108
  /**
2173
2109
  * partner_id of the user
2174
2110
  * @format int32
2175
2111
  */
2176
2112
  partner_id?: number;
2177
- /** role of the user */
2178
- role?: string;
2113
+ /**
2114
+ * role of the user
2115
+ * @default "customer"
2116
+ */
2117
+ role?: ApiV2EntitiesUserRole;
2179
2118
  /**
2180
2119
  * the user sign in count
2181
2120
  * @format int32
@@ -2366,6 +2305,18 @@ export interface GetApiV21CustomersParams {
2366
2305
  fields?: string;
2367
2306
  /** A list of sort options (ex: name asc,created_at desc) */
2368
2307
  sort?: string;
2308
+ /**
2309
+ * Page of results to fetch.
2310
+ * @format int32
2311
+ * @default 1
2312
+ */
2313
+ page?: number;
2314
+ /**
2315
+ * Number of results to return per page.
2316
+ * @format int32
2317
+ * @default 25
2318
+ */
2319
+ per_page?: number;
2369
2320
  }
2370
2321
 
2371
2322
  export interface GetApiV21DocumentsParams {
@@ -2412,7 +2363,7 @@ export interface GetApiV21ItemsIdOriginatorsParams {
2412
2363
  id: number;
2413
2364
  }
2414
2365
 
2415
- export interface GetApiV21ItemsIdScancodeAliasesParams {
2366
+ export interface GetApiV21ItemsIdScancodesParams {
2416
2367
  /** JSON search string like {"attribute_eq": "Term"} */
2417
2368
  search?: string;
2418
2369
  /** A list of sort options (ex: name asc,created_at desc) */
@@ -2489,7 +2440,7 @@ export interface GetApiV21ItemsIdTransactionsParams {
2489
2440
  id: number;
2490
2441
  }
2491
2442
 
2492
- export interface GetApiV21ItemsOriginatorOriginatorIdScancodeAliasesParams {
2443
+ export interface GetApiV21ItemsOriginatorOriginatorIdScancodesParams {
2493
2444
  /** JSON search string like {"attribute_eq": "Term"} */
2494
2445
  search?: string;
2495
2446
  /** A list of sort options (ex: name asc,created_at desc) */
@@ -2531,32 +2482,6 @@ export interface GetApiV21ItemsParams {
2531
2482
  per_page?: number;
2532
2483
  }
2533
2484
 
2534
- export interface GetApiV21MetaKeysCountParams {
2535
- /** JSON search string like {"attribute_eq": "Term"} */
2536
- search?: string;
2537
- }
2538
-
2539
- export interface GetApiV21MetaKeysParams {
2540
- /** JSON search string like {"attribute_eq": "Term"} */
2541
- search?: string;
2542
- /** Comma-separated list of fields to include in the response */
2543
- fields?: string;
2544
- /** A list of sort options (ex: name asc,created_at desc) */
2545
- sort?: string;
2546
- /**
2547
- * Page of results to fetch.
2548
- * @format int32
2549
- * @default 1
2550
- */
2551
- page?: number;
2552
- /**
2553
- * Number of results to return per page.
2554
- * @format int32
2555
- * @default 25
2556
- */
2557
- per_page?: number;
2558
- }
2559
-
2560
2485
  export interface GetApiV21NotificationEventsParams {
2561
2486
  /** JSON search string like {"attribute_eq": "Term"} */
2562
2487
  search?: string;
@@ -2757,27 +2682,6 @@ export interface GetApiV21OriginatorsParams {
2757
2682
  per_page?: number;
2758
2683
  }
2759
2684
 
2760
- export interface GetApiV21ScancodeAliasesParams {
2761
- /** JSON search string like {"attribute_eq": "Term"} */
2762
- search?: string;
2763
- /** Comma-separated list of fields to include in the response */
2764
- fields?: string;
2765
- /** A list of sort options (ex: name asc,created_at desc) */
2766
- sort?: string;
2767
- /**
2768
- * Page of results to fetch.
2769
- * @format int32
2770
- * @default 1
2771
- */
2772
- page?: number;
2773
- /**
2774
- * Number of results to return per page.
2775
- * @format int32
2776
- * @default 25
2777
- */
2778
- per_page?: number;
2779
- }
2780
-
2781
2685
  export interface GetApiV21ShipnoticeItemsCountParams {
2782
2686
  /** JSON search string like {"attribute_eq": "Term"} */
2783
2687
  search?: string;
@@ -2901,6 +2805,18 @@ export interface GetApiV2CustomersParams {
2901
2805
  fields?: string;
2902
2806
  /** A list of sort options (ex: name asc,created_at desc) */
2903
2807
  sort?: string;
2808
+ /**
2809
+ * Page of results to fetch.
2810
+ * @format int32
2811
+ * @default 1
2812
+ */
2813
+ page?: number;
2814
+ /**
2815
+ * Number of results to return per page.
2816
+ * @format int32
2817
+ * @default 25
2818
+ */
2819
+ per_page?: number;
2904
2820
  }
2905
2821
 
2906
2822
  export interface GetApiV2DocumentsParams {
@@ -2947,7 +2863,7 @@ export interface GetApiV2ItemsIdOriginatorsParams {
2947
2863
  id: number;
2948
2864
  }
2949
2865
 
2950
- export interface GetApiV2ItemsIdScancodeAliasesParams {
2866
+ export interface GetApiV2ItemsIdScancodesParams {
2951
2867
  /** JSON search string like {"attribute_eq": "Term"} */
2952
2868
  search?: string;
2953
2869
  /** A list of sort options (ex: name asc,created_at desc) */
@@ -3024,7 +2940,7 @@ export interface GetApiV2ItemsIdTransactionsParams {
3024
2940
  id: number;
3025
2941
  }
3026
2942
 
3027
- export interface GetApiV2ItemsOriginatorOriginatorIdScancodeAliasesParams {
2943
+ export interface GetApiV2ItemsOriginatorOriginatorIdScancodesParams {
3028
2944
  /** JSON search string like {"attribute_eq": "Term"} */
3029
2945
  search?: string;
3030
2946
  /** A list of sort options (ex: name asc,created_at desc) */
@@ -3066,32 +2982,6 @@ export interface GetApiV2ItemsParams {
3066
2982
  per_page?: number;
3067
2983
  }
3068
2984
 
3069
- export interface GetApiV2MetaKeysCountParams {
3070
- /** JSON search string like {"attribute_eq": "Term"} */
3071
- search?: string;
3072
- }
3073
-
3074
- export interface GetApiV2MetaKeysParams {
3075
- /** JSON search string like {"attribute_eq": "Term"} */
3076
- search?: string;
3077
- /** Comma-separated list of fields to include in the response */
3078
- fields?: string;
3079
- /** A list of sort options (ex: name asc,created_at desc) */
3080
- sort?: string;
3081
- /**
3082
- * Page of results to fetch.
3083
- * @format int32
3084
- * @default 1
3085
- */
3086
- page?: number;
3087
- /**
3088
- * Number of results to return per page.
3089
- * @format int32
3090
- * @default 25
3091
- */
3092
- per_page?: number;
3093
- }
3094
-
3095
2985
  export interface GetApiV2NotificationEventsParams {
3096
2986
  /** JSON search string like {"attribute_eq": "Term"} */
3097
2987
  search?: string;
@@ -3292,48 +3182,6 @@ export interface GetApiV2OriginatorsParams {
3292
3182
  per_page?: number;
3293
3183
  }
3294
3184
 
3295
- export interface GetApiV2ScancodeAliasesParams {
3296
- /** JSON search string like {"attribute_eq": "Term"} */
3297
- search?: string;
3298
- /** Comma-separated list of fields to include in the response */
3299
- fields?: string;
3300
- /** A list of sort options (ex: name asc,created_at desc) */
3301
- sort?: string;
3302
- /**
3303
- * Page of results to fetch.
3304
- * @format int32
3305
- * @default 1
3306
- */
3307
- page?: number;
3308
- /**
3309
- * Number of results to return per page.
3310
- * @format int32
3311
- * @default 25
3312
- */
3313
- per_page?: number;
3314
- }
3315
-
3316
- export interface GetApiV2ScancodesParams {
3317
- /** JSON search string like {"attribute_eq": "Term"} */
3318
- search?: string;
3319
- /** Comma-separated list of fields to include in the response */
3320
- fields?: string;
3321
- /** A list of sort options (ex: name asc,created_at desc) */
3322
- sort?: string;
3323
- /**
3324
- * Page of results to fetch.
3325
- * @format int32
3326
- * @default 1
3327
- */
3328
- page?: number;
3329
- /**
3330
- * Number of results to return per page.
3331
- * @format int32
3332
- * @default 25
3333
- */
3334
- per_page?: number;
3335
- }
3336
-
3337
3185
  export interface GetApiV2ShipnoticeItemsCountParams {
3338
3186
  /** JSON search string like {"attribute_eq": "Term"} */
3339
3187
  search?: string;
@@ -3742,6 +3590,27 @@ export enum ApiV2EntitiesOrderIncoterm {
3742
3590
  DDU = "DDU",
3743
3591
  }
3744
3592
 
3593
+ /**
3594
+ * locale for language settings
3595
+ * @default "en"
3596
+ */
3597
+ export enum ApiV2EntitiesUserLocale {
3598
+ En = "en",
3599
+ Es = "es",
3600
+ }
3601
+
3602
+ /**
3603
+ * role of the user
3604
+ * @default "customer"
3605
+ */
3606
+ export enum ApiV2EntitiesUserRole {
3607
+ Admin = "admin",
3608
+ Manager = "manager",
3609
+ Staff = "staff",
3610
+ Customer = "customer",
3611
+ Partner = "partner",
3612
+ }
3613
+
3745
3614
  /** Create a consumer return */
3746
3615
  export interface PostApiV21ConsumerReturns {
3747
3616
  /**
@@ -4420,18 +4289,6 @@ export enum PostApiV21ItemsPackagingType {
4420
4289
  MediumParcel = "MediumParcel",
4421
4290
  }
4422
4291
 
4423
- /** Create a meta_key */
4424
- export interface PostApiV21MetaKeys {
4425
- "Key description"?: string;
4426
- "Key name"?: string;
4427
- "Resource this key will be attached to"?: string;
4428
- "Value type"?: string;
4429
- String?: string;
4430
- desc?: string;
4431
- type?: string;
4432
- values?: string;
4433
- }
4434
-
4435
4292
  /** Create a notification subscription */
4436
4293
  export interface PostApiV21NotificationSubscriptions {
4437
4294
  /** is the notification subscription active? */
@@ -4521,6 +4378,8 @@ export interface PostApiV21Orders {
4521
4378
  * @format int32
4522
4379
  */
4523
4380
  carrier_account_id?: number;
4381
+ /** packingslip pdf url */
4382
+ cf_packingslip_pdf_url?: string;
4524
4383
  /** does the order contain alcohol? */
4525
4384
  contains_alcohol?: boolean;
4526
4385
  /** the carrier on the customer provided label (for tracking purposes) */
@@ -5874,18 +5733,6 @@ export enum PostApiV2ItemsPackagingType {
5874
5733
  MediumParcel = "MediumParcel",
5875
5734
  }
5876
5735
 
5877
- /** Create a meta_key */
5878
- export interface PostApiV2MetaKeys {
5879
- "Key description"?: string;
5880
- "Key name"?: string;
5881
- "Resource this key will be attached to"?: string;
5882
- "Value type"?: string;
5883
- String?: string;
5884
- desc?: string;
5885
- type?: string;
5886
- values?: string;
5887
- }
5888
-
5889
5736
  /** Create a notification subscription */
5890
5737
  export interface PostApiV2NotificationSubscriptions {
5891
5738
  /** is the notification subscription active? */
@@ -5975,6 +5822,8 @@ export interface PostApiV2Orders {
5975
5822
  * @format int32
5976
5823
  */
5977
5824
  carrier_account_id?: number;
5825
+ /** packingslip pdf url */
5826
+ cf_packingslip_pdf_url?: string;
5978
5827
  /** does the order contain alcohol? */
5979
5828
  contains_alcohol?: boolean;
5980
5829
  /** the carrier on the customer provided label (for tracking purposes) */
@@ -6813,6 +6662,8 @@ export interface PutApiV21Customers {
6813
6662
  eori_number?: string;
6814
6663
  /** Customer estimated monthly volume. */
6815
6664
  estimated_monthly_volume?: string;
6665
+ /** is this account flagged for exit notice? (admins only) */
6666
+ exit_notice?: boolean;
6816
6667
  /**
6817
6668
  * items that are this many days from expiration will not be allowed to ship
6818
6669
  * @format int32
@@ -7918,18 +7769,6 @@ export enum PutApiV21ItemsPackagingType {
7918
7769
  MediumParcel = "MediumParcel",
7919
7770
  }
7920
7771
 
7921
- /** Update a meta_key */
7922
- export interface PutApiV21MetaKeys {
7923
- "Key description"?: string;
7924
- "Key name"?: string;
7925
- "Resource this key will be attached to"?: string;
7926
- "Value type"?: string;
7927
- String?: string;
7928
- desc?: string;
7929
- type?: string;
7930
- values?: string;
7931
- }
7932
-
7933
7772
  /** Update a notification subscription */
7934
7773
  export interface PutApiV21NotificationSubscriptions {
7935
7774
  /** is the notification subscription active? */
@@ -8111,6 +7950,8 @@ export interface PutApiV21Orders {
8111
7950
  * @format int32
8112
7951
  */
8113
7952
  carrier_account_id?: number;
7953
+ /** packingslip pdf url */
7954
+ cf_packingslip_pdf_url?: string;
8114
7955
  /** does the order contain alcohol? */
8115
7956
  contains_alcohol?: boolean;
8116
7957
  /** the carrier on the customer provided label (for tracking purposes) */
@@ -8361,6 +8202,8 @@ export interface PutApiV21OrdersOriginator {
8361
8202
  * @format int32
8362
8203
  */
8363
8204
  carrier_account_id?: number;
8205
+ /** packingslip pdf url */
8206
+ cf_packingslip_pdf_url?: string;
8364
8207
  /** does the order contain alcohol? */
8365
8208
  contains_alcohol?: boolean;
8366
8209
  /** the carrier on the customer provided label (for tracking purposes) */
@@ -9013,6 +8856,8 @@ export interface PutApiV2Customers {
9013
8856
  eori_number?: string;
9014
8857
  /** Customer estimated monthly volume. */
9015
8858
  estimated_monthly_volume?: string;
8859
+ /** is this account flagged for exit notice? (admins only) */
8860
+ exit_notice?: boolean;
9016
8861
  /**
9017
8862
  * items that are this many days from expiration will not be allowed to ship
9018
8863
  * @format int32
@@ -10118,18 +9963,6 @@ export enum PutApiV2ItemsPackagingType {
10118
9963
  MediumParcel = "MediumParcel",
10119
9964
  }
10120
9965
 
10121
- /** Update a meta_key */
10122
- export interface PutApiV2MetaKeys {
10123
- "Key description"?: string;
10124
- "Key name"?: string;
10125
- "Resource this key will be attached to"?: string;
10126
- "Value type"?: string;
10127
- String?: string;
10128
- desc?: string;
10129
- type?: string;
10130
- values?: string;
10131
- }
10132
-
10133
9966
  /** Update a notification subscription */
10134
9967
  export interface PutApiV2NotificationSubscriptions {
10135
9968
  /** is the notification subscription active? */
@@ -10311,6 +10144,8 @@ export interface PutApiV2Orders {
10311
10144
  * @format int32
10312
10145
  */
10313
10146
  carrier_account_id?: number;
10147
+ /** packingslip pdf url */
10148
+ cf_packingslip_pdf_url?: string;
10314
10149
  /** does the order contain alcohol? */
10315
10150
  contains_alcohol?: boolean;
10316
10151
  /** the carrier on the customer provided label (for tracking purposes) */
@@ -10559,6 +10394,8 @@ export interface PutApiV2OrdersOriginator {
10559
10394
  * @format int32
10560
10395
  */
10561
10396
  carrier_account_id?: number;
10397
+ /** packingslip pdf url */
10398
+ cf_packingslip_pdf_url?: string;
10562
10399
  /** does the order contain alcohol? */
10563
10400
  contains_alcohol?: boolean;
10564
10401
  /** the carrier on the customer provided label (for tracking purposes) */
@@ -3,16 +3,12 @@ export * from './ConsumerReturns';
3
3
  export * from './Customers';
4
4
  export * from './Documents';
5
5
  export * from './Items';
6
- export * from './MetaKeys';
7
6
  export * from './NotificationEvents';
8
7
  export * from './NotificationSubscriptions';
9
8
  export * from './OrderDocuments';
10
9
  export * from './OrderItems';
11
10
  export * from './Orders';
12
11
  export * from './Originators';
13
- export * from './Public';
14
- export * from './ScancodeAliases';
15
- export * from './Scancodes';
16
12
  export * from './ShipnoticeItems';
17
13
  export * from './Shipnotices';
18
14
  export * from './Simulate';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiplashmerch/whiplash-api-client",
3
- "version": "0.1.22",
3
+ "version": "0.2.0",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {