@whiplashmerch/whiplash-api-client 2.0.29 → 2.0.30

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.
@@ -1,4 +1,4 @@
1
- import { ApiV21EntitiesNotificationSubscription, ApiV21EntitiesPostResponse, ApiV2EntitiesCount, ApiV2EntitiesNotificationSubscription, GetApiV21NotificationSubscriptionsCountParams, GetApiV21NotificationSubscriptionsParams, GetApiV2NotificationSubscriptionsCountParams, GetApiV2NotificationSubscriptionsParams, PostApiV21NotificationSubscriptionsRequest, PostApiV2NotificationSubscriptionsRequest, PutApiV21NotificationSubscriptionsIdRequest, PutApiV2NotificationSubscriptionsIdRequest } from "./data-contracts";
1
+ import { ApiV21EntitiesNotificationSubscription, ApiV21EntitiesPostResponse, ApiV2EntitiesAudits, ApiV2EntitiesCount, ApiV2EntitiesNotificationSubscription, GetApiV21NotificationSubscriptionsCountParams, GetApiV21NotificationSubscriptionsParams, GetApiV2NotificationSubscriptionsCountParams, GetApiV2NotificationSubscriptionsParams, PostApiV21NotificationSubscriptionsRequest, PostApiV2NotificationSubscriptionsRequest, PutApiV21NotificationSubscriptionsIdRequest, PutApiV2NotificationSubscriptionsIdRequest } from "./data-contracts";
2
2
  import { HttpClient, RequestParams } from "./http-client";
3
3
  /**
4
4
  * @description Get a list of notification subscriptions
@@ -54,6 +54,15 @@ export declare const putApiV2NotificationSubscriptionsId: (client: HttpClient, i
54
54
  * @request DELETE:/api/v2/notification_subscriptions/{id}
55
55
  */
56
56
  export declare const deleteApiV2NotificationSubscriptionsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
57
+ /**
58
+ * @description Get all audits for users
59
+ *
60
+ * @tags notification_subscriptions
61
+ * @name GetApiV2NotificationSubscriptionsIdAudits
62
+ * @summary Retrieve audit info for users
63
+ * @request GET:/api/v2/notification_subscriptions/{id}/audits
64
+ */
65
+ export declare const getApiV2NotificationSubscriptionsIdAudits: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesAudits>;
57
66
  /**
58
67
  * @description Test a notification subscription
59
68
  *
@@ -117,6 +126,15 @@ export declare const putApiV21NotificationSubscriptionsId: (client: HttpClient,
117
126
  * @request DELETE:/api/v2.1/notification_subscriptions/{id}
118
127
  */
119
128
  export declare const deleteApiV21NotificationSubscriptionsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
129
+ /**
130
+ * @description Get all audits for users
131
+ *
132
+ * @tags notification_subscriptions
133
+ * @name GetApiV21NotificationSubscriptionsIdAudits
134
+ * @summary Retrieve audit info for users
135
+ * @request GET:/api/v2.1/notification_subscriptions/{id}/audits
136
+ */
137
+ export declare const getApiV21NotificationSubscriptionsIdAudits: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesAudits>;
120
138
  /**
121
139
  * @description Test a notification subscription
122
140
  *
@@ -2715,6 +2715,11 @@ export interface ApiV2EntitiesNotificationSubscription {
2715
2715
  * @format int32
2716
2716
  */
2717
2717
  customer_id?: number | null;
2718
+ /**
2719
+ * the notification subscription discarded date and time
2720
+ * @format date-time
2721
+ */
2722
+ discarded_at?: string | null;
2718
2723
  /** the URL the subscription will hit for Slack and Webhook types */
2719
2724
  endpoint?: string | null;
2720
2725
  /**
@@ -2975,7 +2980,7 @@ export interface ApiV2EntitiesOrder {
2975
2980
  return_zip?: string | null;
2976
2981
  /** require a carrier that delivers on Saturdays for this order? */
2977
2982
  saturday_delivery?: boolean | null;
2978
- /** the order scac number */
2983
+ /** the orders Standard Carrier Alpha Code number */
2979
2984
  scac?: string | null;
2980
2985
  serial_numbers?: ApiV2EntitiesSerialNumber[];
2981
2986
  /**
@@ -3052,6 +3057,10 @@ export interface ApiV2EntitiesOrder {
3052
3057
  status?: ApiV2EntitiesOrderStatus;
3053
3058
  /** the order status name */
3054
3059
  status_name?: string;
3060
+ /** The Transport Management System ID for the order, if applicable */
3061
+ tms_id?: string | null;
3062
+ /** Does the order require a Transport Management System ID */
3063
+ tms_required?: boolean | null;
3055
3064
  tracking?: string[];
3056
3065
  tracking_links?: string[];
3057
3066
  /**
@@ -7294,6 +7303,11 @@ export interface ApiV21EntitiesNotificationSubscription {
7294
7303
  * @format int32
7295
7304
  */
7296
7305
  customer_id?: number | null;
7306
+ /**
7307
+ * the notification subscription discarded date and time
7308
+ * @format date-time
7309
+ */
7310
+ discarded_at?: string | null;
7297
7311
  /** the URL the subscription will hit for Slack and Webhook types */
7298
7312
  endpoint?: string | null;
7299
7313
  /**
@@ -7637,6 +7651,10 @@ export interface ApiV21EntitiesOrder {
7637
7651
  status?: ApiV21EntitiesOrderStatus;
7638
7652
  /** the order status name */
7639
7653
  status_name?: string;
7654
+ /** The Transport Management System ID for the order, if applicable */
7655
+ tms_id?: string | null;
7656
+ /** Does the order require a Transport Management System ID */
7657
+ tms_required?: boolean | null;
7640
7658
  tracking?: string[];
7641
7659
  tracking_links?: string[];
7642
7660
  /**
@@ -15933,8 +15951,12 @@ export interface PostApiV21OrdersBulkRequest {
15933
15951
  email?: string;
15934
15952
  /** skip order shipping address verification? (staff only) */
15935
15953
  skip_address_verification?: boolean;
15936
- /** the order scac number */
15954
+ /** the orders Standard Carrier Alpha Code number */
15937
15955
  scac?: string;
15956
+ /** The Transport Management System ID for the order, if applicable */
15957
+ tms_id?: string;
15958
+ /** Does the order require a Transport Management System ID */
15959
+ tms_required?: boolean;
15938
15960
  /** the order shop warehouse ids */
15939
15961
  shop_warehouse_ids?: number[];
15940
15962
  /** the order shop shipping method currency */
@@ -16833,7 +16855,7 @@ export interface PostApiV21OrdersRequest {
16833
16855
  return_zip?: string;
16834
16856
  /** require a carrier that delivers on Saturdays for this order? */
16835
16857
  saturday_delivery?: boolean;
16836
- /** the order scac number */
16858
+ /** the orders Standard Carrier Alpha Code number */
16837
16859
  scac?: string;
16838
16860
  /** the order ship notes */
16839
16861
  ship_notes?: string;
@@ -16894,6 +16916,10 @@ export interface PostApiV21OrdersRequest {
16894
16916
  * @format int32
16895
16917
  */
16896
16918
  status?: PostApiV21OrdersRequestStatus;
16919
+ /** The Transport Management System ID for the order, if applicable */
16920
+ tms_id?: string;
16921
+ /** Does the order require a Transport Management System ID */
16922
+ tms_required?: boolean;
16897
16923
  /** the order tracking numbers */
16898
16924
  tracking?: string[];
16899
16925
  /** the order tracking links */
@@ -19560,8 +19586,12 @@ export interface PostApiV2OrdersBulkRequest {
19560
19586
  email?: string;
19561
19587
  /** skip order shipping address verification? (staff only) */
19562
19588
  skip_address_verification?: boolean;
19563
- /** the order scac number */
19589
+ /** the orders Standard Carrier Alpha Code number */
19564
19590
  scac?: string;
19591
+ /** The Transport Management System ID for the order, if applicable */
19592
+ tms_id?: string;
19593
+ /** Does the order require a Transport Management System ID */
19594
+ tms_required?: boolean;
19565
19595
  /** the order shop warehouse ids */
19566
19596
  shop_warehouse_ids?: number[];
19567
19597
  /** the order shop shipping method currency */
@@ -20460,7 +20490,7 @@ export interface PostApiV2OrdersRequest {
20460
20490
  return_zip?: string;
20461
20491
  /** require a carrier that delivers on Saturdays for this order? */
20462
20492
  saturday_delivery?: boolean;
20463
- /** the order scac number */
20493
+ /** the orders Standard Carrier Alpha Code number */
20464
20494
  scac?: string;
20465
20495
  /** the order ship notes */
20466
20496
  ship_notes?: string;
@@ -20521,6 +20551,10 @@ export interface PostApiV2OrdersRequest {
20521
20551
  * @format int32
20522
20552
  */
20523
20553
  status?: PostApiV2OrdersRequestStatus;
20554
+ /** The Transport Management System ID for the order, if applicable */
20555
+ tms_id?: string;
20556
+ /** Does the order require a Transport Management System ID */
20557
+ tms_required?: boolean;
20524
20558
  /** the order tracking numbers */
20525
20559
  tracking?: string[];
20526
20560
  /** the order tracking links */
@@ -22872,6 +22906,11 @@ export interface PutApiV21NotificationSubscriptionsIdRequest {
22872
22906
  * @format int32
22873
22907
  */
22874
22908
  customer_id?: number;
22909
+ /**
22910
+ * the notification subscription discarded date and time
22911
+ * @format date-time
22912
+ */
22913
+ discarded_at?: string;
22875
22914
  /** the URL the subscription will hit for Slack and Webhook types */
22876
22915
  endpoint?: string;
22877
22916
  /**
@@ -23415,7 +23454,7 @@ export interface PutApiV21OrdersIdRequest {
23415
23454
  return_zip?: string;
23416
23455
  /** require a carrier that delivers on Saturdays for this order? */
23417
23456
  saturday_delivery?: boolean;
23418
- /** the order scac number */
23457
+ /** the orders Standard Carrier Alpha Code number */
23419
23458
  scac?: string;
23420
23459
  /** the order ship notes */
23421
23460
  ship_notes?: string;
@@ -23471,6 +23510,10 @@ export interface PutApiV21OrdersIdRequest {
23471
23510
  skip_address_verification?: boolean;
23472
23511
  /** skip street date for this order? */
23473
23512
  skip_street_date?: boolean;
23513
+ /** The Transport Management System ID for the order, if applicable */
23514
+ tms_id?: string;
23515
+ /** Does the order require a Transport Management System ID */
23516
+ tms_required?: boolean;
23474
23517
  /** the order tracking numbers */
23475
23518
  tracking?: string[];
23476
23519
  /** the order tracking links */
@@ -25859,6 +25902,11 @@ export interface PutApiV2NotificationSubscriptionsIdRequest {
25859
25902
  * @format int32
25860
25903
  */
25861
25904
  customer_id?: number;
25905
+ /**
25906
+ * the notification subscription discarded date and time
25907
+ * @format date-time
25908
+ */
25909
+ discarded_at?: string;
25862
25910
  /** the URL the subscription will hit for Slack and Webhook types */
25863
25911
  endpoint?: string;
25864
25912
  /**
@@ -26402,7 +26450,7 @@ export interface PutApiV2OrdersIdRequest {
26402
26450
  return_zip?: string;
26403
26451
  /** require a carrier that delivers on Saturdays for this order? */
26404
26452
  saturday_delivery?: boolean;
26405
- /** the order scac number */
26453
+ /** the orders Standard Carrier Alpha Code number */
26406
26454
  scac?: string;
26407
26455
  /** the order ship notes */
26408
26456
  ship_notes?: string;
@@ -26458,6 +26506,10 @@ export interface PutApiV2OrdersIdRequest {
26458
26506
  skip_address_verification?: boolean;
26459
26507
  /** skip street date for this order? */
26460
26508
  skip_street_date?: boolean;
26509
+ /** The Transport Management System ID for the order, if applicable */
26510
+ tms_id?: string;
26511
+ /** Does the order require a Transport Management System ID */
26512
+ tms_required?: boolean;
26461
26513
  /** the order tracking numbers */
26462
26514
  tracking?: string[];
26463
26515
  /** the order tracking links */
@@ -1255,6 +1255,11 @@ export interface ApiV2EntitiesNotificationSubscription {
1255
1255
  * @format int32
1256
1256
  */
1257
1257
  customer_id?: number | null;
1258
+ /**
1259
+ * the notification subscription discarded date and time
1260
+ * @format date-time
1261
+ */
1262
+ discarded_at?: string | null;
1258
1263
  /** the URL the subscription will hit for Slack and Webhook types */
1259
1264
  endpoint?: string | null;
1260
1265
  /**
@@ -1516,7 +1521,7 @@ export interface ApiV2EntitiesOrder {
1516
1521
  return_zip?: string | null;
1517
1522
  /** require a carrier that delivers on Saturdays for this order? */
1518
1523
  saturday_delivery?: boolean | null;
1519
- /** the order scac number */
1524
+ /** the orders Standard Carrier Alpha Code number */
1520
1525
  scac?: string | null;
1521
1526
  serial_numbers?: ApiV2EntitiesSerialNumber[];
1522
1527
  /**
@@ -1593,6 +1598,10 @@ export interface ApiV2EntitiesOrder {
1593
1598
  status?: ApiV2EntitiesOrderStatus;
1594
1599
  /** the order status name */
1595
1600
  status_name?: string;
1601
+ /** The Transport Management System ID for the order, if applicable */
1602
+ tms_id?: string | null;
1603
+ /** Does the order require a Transport Management System ID */
1604
+ tms_required?: boolean | null;
1596
1605
  tracking?: string[];
1597
1606
  tracking_links?: string[];
1598
1607
  /**
@@ -3695,6 +3704,11 @@ export interface ApiV21EntitiesNotificationSubscription {
3695
3704
  * @format int32
3696
3705
  */
3697
3706
  customer_id?: number | null;
3707
+ /**
3708
+ * the notification subscription discarded date and time
3709
+ * @format date-time
3710
+ */
3711
+ discarded_at?: string | null;
3698
3712
  /** the URL the subscription will hit for Slack and Webhook types */
3699
3713
  endpoint?: string | null;
3700
3714
  /**
@@ -4039,6 +4053,10 @@ export interface ApiV21EntitiesOrder {
4039
4053
  status?: ApiV21EntitiesOrderStatus;
4040
4054
  /** the order status name */
4041
4055
  status_name?: string;
4056
+ /** The Transport Management System ID for the order, if applicable */
4057
+ tms_id?: string | null;
4058
+ /** Does the order require a Transport Management System ID */
4059
+ tms_required?: boolean | null;
4042
4060
  tracking?: string[];
4043
4061
  tracking_links?: string[];
4044
4062
  /**
@@ -6415,8 +6433,12 @@ export interface PostApiV21OrdersBulkRequest {
6415
6433
  email?: string;
6416
6434
  /** skip order shipping address verification? (staff only) */
6417
6435
  skip_address_verification?: boolean;
6418
- /** the order scac number */
6436
+ /** the orders Standard Carrier Alpha Code number */
6419
6437
  scac?: string;
6438
+ /** The Transport Management System ID for the order, if applicable */
6439
+ tms_id?: string;
6440
+ /** Does the order require a Transport Management System ID */
6441
+ tms_required?: boolean;
6420
6442
  /** the order shop warehouse ids */
6421
6443
  shop_warehouse_ids?: number[];
6422
6444
  /** the order shop shipping method currency */
@@ -7214,7 +7236,7 @@ export interface PostApiV21OrdersRequest {
7214
7236
  return_zip?: string;
7215
7237
  /** require a carrier that delivers on Saturdays for this order? */
7216
7238
  saturday_delivery?: boolean;
7217
- /** the order scac number */
7239
+ /** the orders Standard Carrier Alpha Code number */
7218
7240
  scac?: string;
7219
7241
  /** the order ship notes */
7220
7242
  ship_notes?: string;
@@ -7275,6 +7297,10 @@ export interface PostApiV21OrdersRequest {
7275
7297
  * @format int32
7276
7298
  */
7277
7299
  status?: PostApiV21OrdersRequestStatus;
7300
+ /** The Transport Management System ID for the order, if applicable */
7301
+ tms_id?: string;
7302
+ /** Does the order require a Transport Management System ID */
7303
+ tms_required?: boolean;
7278
7304
  /** the order tracking numbers */
7279
7305
  tracking?: string[];
7280
7306
  /** the order tracking links */
@@ -8367,8 +8393,12 @@ export interface PostApiV2OrdersBulkRequest {
8367
8393
  email?: string;
8368
8394
  /** skip order shipping address verification? (staff only) */
8369
8395
  skip_address_verification?: boolean;
8370
- /** the order scac number */
8396
+ /** the orders Standard Carrier Alpha Code number */
8371
8397
  scac?: string;
8398
+ /** The Transport Management System ID for the order, if applicable */
8399
+ tms_id?: string;
8400
+ /** Does the order require a Transport Management System ID */
8401
+ tms_required?: boolean;
8372
8402
  /** the order shop warehouse ids */
8373
8403
  shop_warehouse_ids?: number[];
8374
8404
  /** the order shop shipping method currency */
@@ -9166,7 +9196,7 @@ export interface PostApiV2OrdersRequest {
9166
9196
  return_zip?: string;
9167
9197
  /** require a carrier that delivers on Saturdays for this order? */
9168
9198
  saturday_delivery?: boolean;
9169
- /** the order scac number */
9199
+ /** the orders Standard Carrier Alpha Code number */
9170
9200
  scac?: string;
9171
9201
  /** the order ship notes */
9172
9202
  ship_notes?: string;
@@ -9227,6 +9257,10 @@ export interface PostApiV2OrdersRequest {
9227
9257
  * @format int32
9228
9258
  */
9229
9259
  status?: PostApiV2OrdersRequestStatus;
9260
+ /** The Transport Management System ID for the order, if applicable */
9261
+ tms_id?: string;
9262
+ /** Does the order require a Transport Management System ID */
9263
+ tms_required?: boolean;
9230
9264
  /** the order tracking numbers */
9231
9265
  tracking?: string[];
9232
9266
  /** the order tracking links */
@@ -10202,6 +10236,11 @@ export interface PutApiV21NotificationSubscriptionsIdRequest {
10202
10236
  * @format int32
10203
10237
  */
10204
10238
  customer_id?: number;
10239
+ /**
10240
+ * the notification subscription discarded date and time
10241
+ * @format date-time
10242
+ */
10243
+ discarded_at?: string;
10205
10244
  /** the URL the subscription will hit for Slack and Webhook types */
10206
10245
  endpoint?: string;
10207
10246
  /**
@@ -10605,7 +10644,7 @@ export interface PutApiV21OrdersIdRequest {
10605
10644
  return_zip?: string;
10606
10645
  /** require a carrier that delivers on Saturdays for this order? */
10607
10646
  saturday_delivery?: boolean;
10608
- /** the order scac number */
10647
+ /** the orders Standard Carrier Alpha Code number */
10609
10648
  scac?: string;
10610
10649
  /** the order ship notes */
10611
10650
  ship_notes?: string;
@@ -10661,6 +10700,10 @@ export interface PutApiV21OrdersIdRequest {
10661
10700
  skip_address_verification?: boolean;
10662
10701
  /** skip street date for this order? */
10663
10702
  skip_street_date?: boolean;
10703
+ /** The Transport Management System ID for the order, if applicable */
10704
+ tms_id?: string;
10705
+ /** Does the order require a Transport Management System ID */
10706
+ tms_required?: boolean;
10664
10707
  /** the order tracking numbers */
10665
10708
  tracking?: string[];
10666
10709
  /** the order tracking links */
@@ -11432,6 +11475,11 @@ export interface PutApiV2NotificationSubscriptionsIdRequest {
11432
11475
  * @format int32
11433
11476
  */
11434
11477
  customer_id?: number;
11478
+ /**
11479
+ * the notification subscription discarded date and time
11480
+ * @format date-time
11481
+ */
11482
+ discarded_at?: string;
11435
11483
  /** the URL the subscription will hit for Slack and Webhook types */
11436
11484
  endpoint?: string;
11437
11485
  /**
@@ -11835,7 +11883,7 @@ export interface PutApiV2OrdersIdRequest {
11835
11883
  return_zip?: string;
11836
11884
  /** require a carrier that delivers on Saturdays for this order? */
11837
11885
  saturday_delivery?: boolean;
11838
- /** the order scac number */
11886
+ /** the orders Standard Carrier Alpha Code number */
11839
11887
  scac?: string;
11840
11888
  /** the order ship notes */
11841
11889
  ship_notes?: string;
@@ -11891,6 +11939,10 @@ export interface PutApiV2OrdersIdRequest {
11891
11939
  skip_address_verification?: boolean;
11892
11940
  /** skip street date for this order? */
11893
11941
  skip_street_date?: boolean;
11942
+ /** The Transport Management System ID for the order, if applicable */
11943
+ tms_id?: string;
11944
+ /** Does the order require a Transport Management System ID */
11945
+ tms_required?: boolean;
11894
11946
  /** the order tracking numbers */
11895
11947
  tracking?: string[];
11896
11948
  /** the order tracking links */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiplashmerch/whiplash-api-client",
3
- "version": "2.0.29",
3
+ "version": "2.0.30",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {