@whiplashmerch/whiplash-api-client 3.2.0 → 3.2.2

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.
@@ -2312,6 +2312,51 @@ export interface ApiV2EntitiesShipnoticeItem {
2312
2312
  warehouse_id?: number;
2313
2313
  }
2314
2314
 
2315
+ /** V2 */
2316
+ export interface ApiV2EntitiesShippingDocument {
2317
+ /**
2318
+ * the document creation date and time
2319
+ * @format date-time
2320
+ */
2321
+ created_at?: string;
2322
+ /** document format (e.g. PDF, PNG) */
2323
+ document_format?: string;
2324
+ /** whether the document was electronically submitted to customs */
2325
+ electronically_submitted?: boolean;
2326
+ /**
2327
+ * the shipping document id
2328
+ * @format int32
2329
+ */
2330
+ id?: number;
2331
+ /** label provider name (e.g. easypost, shipium) */
2332
+ label_provider?: string | null;
2333
+ /**
2334
+ * the associated order id
2335
+ * @format int32
2336
+ */
2337
+ order_id?: number;
2338
+ /**
2339
+ * the owner id (Package or Order id)
2340
+ * @format int32
2341
+ */
2342
+ owner_id?: number;
2343
+ /** the owner type (Package or Order) */
2344
+ owner_type?: string;
2345
+ /** type of document from provider (e.g. commercial_invoice, label) */
2346
+ provider_document_type?: string | null;
2347
+ /** the raw carrier-provided document url (staff only) */
2348
+ provider_url?: string | null;
2349
+ /** the pre-signed or resolved document url */
2350
+ resolved_url?: string;
2351
+ /**
2352
+ * the document last updated date and time
2353
+ * @format date-time
2354
+ */
2355
+ updated_at?: string;
2356
+ /** the internal document file url (S3 or CDN path) (staff only) */
2357
+ url?: string;
2358
+ }
2359
+
2315
2360
  /** V2 */
2316
2361
  export interface ApiV2EntitiesShippingMethod {
2317
2362
  /** is the shipping method active? */
@@ -4673,6 +4718,51 @@ export interface ApiV21EntitiesShipnoticeItem {
4673
4718
  updated_at?: string | null;
4674
4719
  }
4675
4720
 
4721
+ /** V3 */
4722
+ export interface ApiV21EntitiesShippingDocument {
4723
+ /**
4724
+ * the document creation date and time
4725
+ * @format date-time
4726
+ */
4727
+ created_at?: string;
4728
+ /** document format (e.g. PDF, PNG) */
4729
+ document_format?: string;
4730
+ /** whether the document was electronically submitted to customs */
4731
+ electronically_submitted?: boolean;
4732
+ /**
4733
+ * the shipping document id
4734
+ * @format int32
4735
+ */
4736
+ id?: number;
4737
+ /** label provider name (e.g. easypost, shipium) */
4738
+ label_provider?: string | null;
4739
+ /**
4740
+ * the associated order id
4741
+ * @format int32
4742
+ */
4743
+ order_id?: number;
4744
+ /**
4745
+ * the owner id (Package or Order id)
4746
+ * @format int32
4747
+ */
4748
+ owner_id?: number;
4749
+ /** the owner type (Package or Order) */
4750
+ owner_type?: string;
4751
+ /** type of document from provider (e.g. commercial_invoice, label) */
4752
+ provider_document_type?: string | null;
4753
+ /** the raw carrier-provided document url (staff only) */
4754
+ provider_url?: string | null;
4755
+ /** the pre-signed or resolved document url */
4756
+ resolved_url?: string;
4757
+ /**
4758
+ * the document last updated date and time
4759
+ * @format date-time
4760
+ */
4761
+ updated_at?: string;
4762
+ /** the internal document file url (S3 or CDN path) (staff only) */
4763
+ url?: string;
4764
+ }
4765
+
4676
4766
  /** V3 */
4677
4767
  export interface ApiV21EntitiesTemplate {
4678
4768
  /** Content of the template */
@@ -5381,6 +5471,30 @@ export interface GetApiV21OrdersIdOrderItemsParams {
5381
5471
  id: number;
5382
5472
  }
5383
5473
 
5474
+ export interface GetApiV21OrdersIdShippingDocumentsParams {
5475
+ /** JSON search string like {"attribute_eq": "Term"} */
5476
+ search?: string;
5477
+ /** Comma-separated list of fields to include in the response */
5478
+ fields?: string;
5479
+ /** A list of sort options (ex: name asc,created_at desc) */
5480
+ sort?: string;
5481
+ /**
5482
+ * Page of results to fetch
5483
+ * @format int32
5484
+ */
5485
+ page?: number;
5486
+ /**
5487
+ * Number of results to return per page
5488
+ * @format int32
5489
+ */
5490
+ per_page?: number;
5491
+ /** Include total count of results */
5492
+ page_total?: boolean;
5493
+ /** Include prev/next links in response headers */
5494
+ page_links?: boolean;
5495
+ id: number;
5496
+ }
5497
+
5384
5498
  export interface GetApiV21OrdersParams {
5385
5499
  /** JSON search string like {"attribute_eq": "Term"} */
5386
5500
  search?: string;
@@ -5427,6 +5541,30 @@ export interface GetApiV21OriginatorsParams {
5427
5541
  page_links?: boolean;
5428
5542
  }
5429
5543
 
5544
+ export interface GetApiV21PackagesIdShippingDocumentsParams {
5545
+ /** JSON search string like {"attribute_eq": "Term"} */
5546
+ search?: string;
5547
+ /** Comma-separated list of fields to include in the response */
5548
+ fields?: string;
5549
+ /** A list of sort options (ex: name asc,created_at desc) */
5550
+ sort?: string;
5551
+ /**
5552
+ * Page of results to fetch
5553
+ * @format int32
5554
+ */
5555
+ page?: number;
5556
+ /**
5557
+ * Number of results to return per page
5558
+ * @format int32
5559
+ */
5560
+ per_page?: number;
5561
+ /** Include total count of results */
5562
+ page_total?: boolean;
5563
+ /** Include prev/next links in response headers */
5564
+ page_links?: boolean;
5565
+ id: number;
5566
+ }
5567
+
5430
5568
  export interface GetApiV21ProjectsIdProjectTasksParams {
5431
5569
  /** JSON search string like {"attribute_eq": "Term"} */
5432
5570
  search?: string;
@@ -6025,6 +6163,30 @@ export interface GetApiV2OrdersIdOrderItemsParams {
6025
6163
  id: number;
6026
6164
  }
6027
6165
 
6166
+ export interface GetApiV2OrdersIdShippingDocumentsParams {
6167
+ /** JSON search string like {"attribute_eq": "Term"} */
6168
+ search?: string;
6169
+ /** Comma-separated list of fields to include in the response */
6170
+ fields?: string;
6171
+ /** A list of sort options (ex: name asc,created_at desc) */
6172
+ sort?: string;
6173
+ /**
6174
+ * Page of results to fetch
6175
+ * @format int32
6176
+ */
6177
+ page?: number;
6178
+ /**
6179
+ * Number of results to return per page
6180
+ * @format int32
6181
+ */
6182
+ per_page?: number;
6183
+ /** Include total count of results */
6184
+ page_total?: boolean;
6185
+ /** Include prev/next links in response headers */
6186
+ page_links?: boolean;
6187
+ id: number;
6188
+ }
6189
+
6028
6190
  export interface GetApiV2OrdersParams {
6029
6191
  /** JSON search string like {"attribute_eq": "Term"} */
6030
6192
  search?: string;
@@ -6071,6 +6233,30 @@ export interface GetApiV2OriginatorsParams {
6071
6233
  page_links?: boolean;
6072
6234
  }
6073
6235
 
6236
+ export interface GetApiV2PackagesIdShippingDocumentsParams {
6237
+ /** JSON search string like {"attribute_eq": "Term"} */
6238
+ search?: string;
6239
+ /** Comma-separated list of fields to include in the response */
6240
+ fields?: string;
6241
+ /** A list of sort options (ex: name asc,created_at desc) */
6242
+ sort?: string;
6243
+ /**
6244
+ * Page of results to fetch
6245
+ * @format int32
6246
+ */
6247
+ page?: number;
6248
+ /**
6249
+ * Number of results to return per page
6250
+ * @format int32
6251
+ */
6252
+ per_page?: number;
6253
+ /** Include total count of results */
6254
+ page_total?: boolean;
6255
+ /** Include prev/next links in response headers */
6256
+ page_links?: boolean;
6257
+ id: number;
6258
+ }
6259
+
6074
6260
  export interface GetApiV2ProjectsIdProjectTasksParams {
6075
6261
  /** JSON search string like {"attribute_eq": "Term"} */
6076
6262
  search?: string;
@@ -11,6 +11,7 @@ export * from './OrderItems';
11
11
  export * from './OrderTotes';
12
12
  export * from './Orders';
13
13
  export * from './Originators';
14
+ export * from './Packages';
14
15
  export * from './Projects';
15
16
  export * from './ShipnoticeItems';
16
17
  export * from './Shipnotices';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiplashmerch/whiplash-api-client",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {