@gofynd/fdk-client-javascript 1.4.12 → 1.4.13

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 (29) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  3. package/sdk/application/Content/ContentApplicationModel.d.ts +3 -2
  4. package/sdk/application/Content/ContentApplicationModel.js +5 -2
  5. package/sdk/application/Theme/ThemeApplicationModel.d.ts +3 -2
  6. package/sdk/application/Theme/ThemeApplicationModel.js +5 -2
  7. package/sdk/common/Clickstream.js +12 -0
  8. package/sdk/common/Constant.d.ts +5 -0
  9. package/sdk/common/Constant.js +5 -0
  10. package/sdk/partner/Theme/ThemePartnerModel.d.ts +3 -2
  11. package/sdk/partner/Theme/ThemePartnerModel.js +5 -2
  12. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +38 -35
  13. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +42 -39
  14. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +27 -23
  15. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +14 -12
  16. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +2 -2
  17. package/sdk/platform/Catalog/CatalogPlatformClient.js +2 -2
  18. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1107 -232
  19. package/sdk/platform/Catalog/CatalogPlatformModel.js +466 -224
  20. package/sdk/platform/Content/ContentPlatformModel.d.ts +3 -2
  21. package/sdk/platform/Content/ContentPlatformModel.js +5 -2
  22. package/sdk/platform/Order/OrderPlatformClient.d.ts +5 -49
  23. package/sdk/platform/Order/OrderPlatformClient.js +32 -328
  24. package/sdk/platform/Order/OrderPlatformModel.d.ts +2638 -1394
  25. package/sdk/platform/Order/OrderPlatformModel.js +1068 -1387
  26. package/sdk/platform/Order/OrderPlatformValidator.d.ts +142 -110
  27. package/sdk/platform/Order/OrderPlatformValidator.js +64 -91
  28. package/sdk/platform/Theme/ThemePlatformModel.d.ts +3 -2
  29. package/sdk/platform/Theme/ThemePlatformModel.js +5 -2
@@ -9,26 +9,24 @@ export = OrderPlatformValidator;
9
9
  */
10
10
  /**
11
11
  * @typedef BulkListingParam
12
- * @property {number} pageSize - Page size
13
- * @property {number} pageNo - Page number
14
- * @property {string} startDate - UTC start date in ISO format
15
- * @property {string} endDate - UTC end date in ISO format
16
- * @property {string} [status] - Status for which to fetch the jobs.
17
- * @property {string} [bulkActionType] - Job type.
18
- * @property {string} [searchKey] - Search_key.
12
+ * @property {number} pageSize - The number of records to return per page in the response.
13
+ * @property {number} pageNo - The page number to fetch from the paginated results.
14
+ * @property {string} startDate - The start date for filtering the jobs,
15
+ * expressed in UTC format
16
+ * @property {string} endDate - The end date for filtering the jobs, expressed
17
+ * in UTC format
18
+ * @property {string} [status] - The status of the jobs to filter the results.
19
+ * @property {string} [bulkActionType] - Pecifies the type of job action being requested.
20
+ * @property {string} [searchKey] - A key or keyword used to search for specific jobs.
19
21
  */
20
22
  /**
21
23
  * @typedef BulkStateTransistionParam
22
- * @property {OrderPlatformModel.BulkStateTransistionRequest} body
24
+ * @property {OrderPlatformModel.BulkStateTransistionRequestSchema} body
23
25
  */
24
26
  /**
25
27
  * @typedef CheckOrderStatusParam
26
28
  * @property {OrderPlatformModel.OrderStatus} body
27
29
  */
28
- /**
29
- * @typedef CreateChannelConfigParam
30
- * @property {OrderPlatformModel.CreateChannelConfigData} body
31
- */
32
30
  /**
33
31
  * @typedef CreateOrderParam
34
32
  * @property {OrderPlatformModel.CreateOrderAPI} body
@@ -53,10 +51,6 @@ export = OrderPlatformValidator;
53
51
  * @typedef FailedOrderLogDetailsParam
54
52
  * @property {string} logId - Log Error ID
55
53
  */
56
- /**
57
- * @typedef FetchCreditBalanceDetailParam
58
- * @property {OrderPlatformModel.FetchCreditBalanceRequestPayload} body
59
- */
60
54
  /**
61
55
  * @typedef FetchRefundModeConfigParam
62
56
  * @property {OrderPlatformModel.RefundModeConfigRequestPayload} body
@@ -64,7 +58,7 @@ export = OrderPlatformValidator;
64
58
  /**
65
59
  * @typedef GenerateInvoiceIDParam
66
60
  * @property {string} invoiceType - Mention the type of invoice id to generate
67
- * @property {OrderPlatformModel.GenerateInvoiceIDRequest} body
61
+ * @property {OrderPlatformModel.GenerateInvoiceIDRequestSchema} body
68
62
  */
69
63
  /**
70
64
  * @typedef GeneratePOSReceiptByOrderIdParam
@@ -78,14 +72,14 @@ export = OrderPlatformValidator;
78
72
  */
79
73
  /**
80
74
  * @typedef GetAllowedStateTransitionParam
81
- * @property {string} orderingChannel - Ordering channel
82
- * @property {string} status - Current status of a shipment
75
+ * @property {string} orderingChannel - The channel through which orders are placed.
76
+ * @property {string} status - The status key indicates the current status for
77
+ * which the API will provide a list of possible next state transitions.
83
78
  */
84
79
  /** @typedef GetAllowedTemplatesForBulkParam */
85
80
  /**
86
81
  * @typedef GetAnnouncementsParam
87
- * @property {string} [date] - Date On which the announcement is Active (Date
88
- * should in ISO Datetime format IST Time)
82
+ * @property {string} [date] - Date On which the announcement is Active.
89
83
  */
90
84
  /**
91
85
  * @typedef GetBagByIdParam
@@ -121,13 +115,12 @@ export = OrderPlatformValidator;
121
115
  * @property {number} [pageNo]
122
116
  * @property {number} [pageSize]
123
117
  */
124
- /** @typedef GetChannelConfigParam */
125
118
  /**
126
119
  * @typedef GetFileByStatusParam
127
- * @property {string} batchId
128
- * @property {string} status
129
- * @property {string} fileType
130
- * @property {string} [reportType]
120
+ * @property {string} batchId - Batch Id to identify the bulk operation request.
121
+ * @property {string} status - The status of the jobs to filter the results.
122
+ * @property {string} fileType - The type of file to be downloaded.
123
+ * @property {string} [reportType] - The type of report to be downloaded.
131
124
  */
132
125
  /**
133
126
  * @typedef GetLaneConfigParam
@@ -154,20 +147,26 @@ export = OrderPlatformValidator;
154
147
  */
155
148
  /**
156
149
  * @typedef GetManifestDetailsParam
157
- * @property {string} manifestId
150
+ * @property {string} manifestId - The unique identifier assigned to the manifest.
151
+ * @property {string} [dpIds] - Filter shipments with the specific Courier
152
+ * partner Ids which is a combination of courier partner extension and scheme Ids.
153
+ * @property {string} [endDate] - End date for the shipment search range in manifest.
154
+ * @property {string} [startDate] - Start date for the shipment search range in manifest.
155
+ * @property {number} [pageNo] - Page number for pagination.
156
+ * @property {number} [pageSize] - Number of records per page for pagination.
158
157
  */
159
158
  /**
160
159
  * @typedef GetManifestShipmentsParam
161
160
  * @property {string} dpIds - Filter shipments with the specific Courier partner
162
161
  * Ids which is a combination of courier partner extension and scheme Ids.
163
- * @property {number} stores - Filter with the specific store.
162
+ * @property {number} stores - Filter results based on specific store IDs.
164
163
  * @property {string} toDate - End date for the shipment search range.
165
164
  * @property {string} fromDate - Start date for the shipment search range.
166
- * @property {string} [dpName] - Filter with the specific courier partner name.
167
- * @property {string} [salesChannels] - Comma-separated list of sales channels.
168
- * @property {string} [searchType] - Type of search (e.g., by shipment ID, order
169
- * ID, AWB number).
170
- * @property {string} [searchValue] - Value to search for based on the search type.
165
+ * @property {string} [dpName] - Filter results based on specific courier partner name.
166
+ * @property {string} [salesChannels] - Filter results based on comma-separated
167
+ * list of sales channels.
168
+ * @property {string} [searchType] - Filter results based on search type.
169
+ * @property {string} [searchValue] - Filter results based on the search value.
171
170
  * @property {number} [pageNo] - Page number for pagination.
172
171
  * @property {number} [pageSize] - Number of records per page for pagination.
173
172
  */
@@ -177,16 +176,20 @@ export = OrderPlatformValidator;
177
176
  */
178
177
  /**
179
178
  * @typedef GetManifestsParam
180
- * @property {string} [status] - Possible Status [ active, closed ]
181
- * @property {string} [startDate] - UTC Start Date in ISO format
182
- * @property {string} [endDate] - UTC End Date in ISO format
183
- * @property {string} [searchType] - Search type options [ fynd_order_id,
184
- * shipment_id, manifest_id, dp_name, awb_no ]
185
- * @property {number} [storeId] - Fetch manifests for a Store.
186
- * @property {string} [searchValue] - Search value for selected search type
187
- * @property {string} [dpIds] - DP Ids separated by ',' (comma)
188
- * @property {number} [pageNo]
189
- * @property {number} [pageSize]
179
+ * @property {string} [status] - Filter for the status of manifests.
180
+ * @property {string} [startDate] - The starting date for filtering manifests in
181
+ * ISO format
182
+ * @property {string} [endDate] - The end date for filtering manifests in ISO format
183
+ * @property {string} [searchType] - Specifies the type of search to perform.
184
+ * @property {number} [storeId] - Filter to fetch manifests for a specific store
185
+ * by its ID.
186
+ * @property {string} [searchValue] - The value to search for based on the
187
+ * selected search type.
188
+ * @property {string} [dpIds] - A comma-separated list of courier partner IDs
189
+ * (DP IDs) to filter the manifests.
190
+ * @property {number} [pageNo] - The number of the page to fetch data.
191
+ * @property {number} [pageSize] - The number of records to return per page for
192
+ * pagination.
190
193
  */
191
194
  /**
192
195
  * @typedef GetOrderByIdParam
@@ -239,8 +242,8 @@ export = OrderPlatformValidator;
239
242
  */
240
243
  /**
241
244
  * @typedef GetShipmentHistoryParam
242
- * @property {string} [shipmentId] - Shipment Id
243
- * @property {number} [bagId] - Bag/Product Id
245
+ * @property {string} [shipmentId] - Identifier for the shipment
246
+ * @property {number} [bagId] - Identifier for a bag or product.
244
247
  */
245
248
  /**
246
249
  * @typedef GetShipmentReasonsParam
@@ -309,7 +312,8 @@ export = OrderPlatformValidator;
309
312
  */
310
313
  /**
311
314
  * @typedef JobDetailsParam
312
- * @property {string} batchId
315
+ * @property {string} batchId - A unique identifier for the batch associated
316
+ * with this bulk action.
313
317
  */
314
318
  /**
315
319
  * @typedef OrderUpdateParam
@@ -319,10 +323,6 @@ export = OrderPlatformValidator;
319
323
  * @typedef PostShipmentHistoryParam
320
324
  * @property {OrderPlatformModel.PostShipmentHistory} body
321
325
  */
322
- /**
323
- * @typedef ProcessManifestsParam
324
- * @property {OrderPlatformModel.ProcessManifest} body
325
- */
326
326
  /**
327
327
  * @typedef ReassignLocationParam
328
328
  * @property {OrderPlatformModel.StoreReassign} body
@@ -337,10 +337,10 @@ export = OrderPlatformValidator;
337
337
  */
338
338
  /**
339
339
  * @typedef TrackShipmentParam
340
- * @property {string} [shipmentId] - Shipment ID
340
+ * @property {string} [shipmentId] - Unique identifier of a shipment on the platform.
341
341
  * @property {string} [awb] - AWB number
342
- * @property {number} [pageNo] - Page number
343
- * @property {number} [pageSize] - Page size
342
+ * @property {number} [pageNo] - Page number for pagination.
343
+ * @property {number} [pageSize] - Number of records per page for pagination.
344
344
  */
345
345
  /**
346
346
  * @typedef UpdateAddressParam
@@ -367,7 +367,7 @@ export = OrderPlatformValidator;
367
367
  */
368
368
  /**
369
369
  * @typedef UpdateShipmentStatusParam
370
- * @property {OrderPlatformModel.UpdateShipmentStatusRequest} body
370
+ * @property {OrderPlatformModel.UpdateShipmentStatusRequestSchema} body
371
371
  */
372
372
  /**
373
373
  * @typedef UpdateShipmentTrackingParam
@@ -375,8 +375,7 @@ export = OrderPlatformValidator;
375
375
  */
376
376
  /**
377
377
  * @typedef UploadConsentsParam
378
- * @property {string} manifestId
379
- * @property {OrderPlatformModel.UploadConsent} body
378
+ * @property {OrderPlatformModel.UploadManifestConsent} body
380
379
  */
381
380
  /**
382
381
  * @typedef VerifyMobileOTPParam
@@ -393,8 +392,6 @@ declare class OrderPlatformValidator {
393
392
  static bulkStateTransistion(): BulkStateTransistionParam;
394
393
  /** @returns {CheckOrderStatusParam} */
395
394
  static checkOrderStatus(): CheckOrderStatusParam;
396
- /** @returns {CreateChannelConfigParam} */
397
- static createChannelConfig(): CreateChannelConfigParam;
398
395
  /** @returns {CreateOrderParam} */
399
396
  static createOrder(): CreateOrderParam;
400
397
  /** @returns {DispatchManifestsParam} */
@@ -407,8 +404,6 @@ declare class OrderPlatformValidator {
407
404
  static eInvoiceRetry(): EInvoiceRetryParam;
408
405
  /** @returns {FailedOrderLogDetailsParam} */
409
406
  static failedOrderLogDetails(): FailedOrderLogDetailsParam;
410
- /** @returns {FetchCreditBalanceDetailParam} */
411
- static fetchCreditBalanceDetail(): FetchCreditBalanceDetailParam;
412
407
  /** @returns {FetchRefundModeConfigParam} */
413
408
  static fetchRefundModeConfig(): FetchRefundModeConfigParam;
414
409
  /** @returns {GenerateInvoiceIDParam} */
@@ -431,8 +426,6 @@ declare class OrderPlatformValidator {
431
426
  static getBulkActionTemplate(): any;
432
427
  /** @returns {GetBulkShipmentExcelFileParam} */
433
428
  static getBulkShipmentExcelFile(): GetBulkShipmentExcelFileParam;
434
- /** @returns {GetChannelConfigParam} */
435
- static getChannelConfig(): any;
436
429
  /** @returns {GetFileByStatusParam} */
437
430
  static getFileByStatus(): GetFileByStatusParam;
438
431
  /** @returns {GetLaneConfigParam} */
@@ -475,8 +468,6 @@ declare class OrderPlatformValidator {
475
468
  static orderUpdate(): OrderUpdateParam;
476
469
  /** @returns {PostShipmentHistoryParam} */
477
470
  static postShipmentHistory(): PostShipmentHistoryParam;
478
- /** @returns {ProcessManifestsParam} */
479
- static processManifests(): ProcessManifestsParam;
480
471
  /** @returns {ReassignLocationParam} */
481
472
  static reassignLocation(): ReassignLocationParam;
482
473
  /** @returns {SendSmsNinjaParam} */
@@ -501,7 +492,7 @@ declare class OrderPlatformValidator {
501
492
  static verifyMobileOTP(): VerifyMobileOTPParam;
502
493
  }
503
494
  declare namespace OrderPlatformValidator {
504
- export { AddStateManagerConfigParam, AttachOrderUserParam, BulkListingParam, BulkStateTransistionParam, CheckOrderStatusParam, CreateChannelConfigParam, CreateOrderParam, DispatchManifestsParam, DownloadBulkActionTemplateParam, DownloadLanesReportParam, EInvoiceRetryParam, FailedOrderLogDetailsParam, FetchCreditBalanceDetailParam, FetchRefundModeConfigParam, GenerateInvoiceIDParam, GeneratePOSReceiptByOrderIdParam, GenerateProcessManifestParam, GetAllowedStateTransitionParam, GetAllowedTemplatesForBulkParam, GetAnnouncementsParam, GetBagByIdParam, GetBagsParam, GetBulkActionTemplateParam, GetBulkShipmentExcelFileParam, GetChannelConfigParam, GetFileByStatusParam, GetLaneConfigParam, GetManifestDetailsParam, GetManifestShipmentsParam, GetManifestfiltersParam, GetManifestsParam, GetOrderByIdParam, GetOrdersParam, GetRoleBasedActionsParam, GetShipmentByIdParam, GetShipmentHistoryParam, GetShipmentReasonsParam, GetShipmentsParam, GetStateManagerConfigParam, GetStateTransitionMapParam, GetTemplateParam, GetfiltersParam, InvalidateShipmentCacheParam, JobDetailsParam, OrderUpdateParam, PostShipmentHistoryParam, ProcessManifestsParam, ReassignLocationParam, SendSmsNinjaParam, SendUserMobileOTPParam, TrackShipmentParam, UpdateAddressParam, UpdatePackagingDimensionsParam, UpdateShipmentLockParam, UpdateShipmentStatusParam, UpdateShipmentTrackingParam, UploadConsentsParam, VerifyMobileOTPParam };
495
+ export { AddStateManagerConfigParam, AttachOrderUserParam, BulkListingParam, BulkStateTransistionParam, CheckOrderStatusParam, CreateOrderParam, DispatchManifestsParam, DownloadBulkActionTemplateParam, DownloadLanesReportParam, EInvoiceRetryParam, FailedOrderLogDetailsParam, FetchRefundModeConfigParam, GenerateInvoiceIDParam, GeneratePOSReceiptByOrderIdParam, GenerateProcessManifestParam, GetAllowedStateTransitionParam, GetAllowedTemplatesForBulkParam, GetAnnouncementsParam, GetBagByIdParam, GetBagsParam, GetBulkActionTemplateParam, GetBulkShipmentExcelFileParam, GetFileByStatusParam, GetLaneConfigParam, GetManifestDetailsParam, GetManifestShipmentsParam, GetManifestfiltersParam, GetManifestsParam, GetOrderByIdParam, GetOrdersParam, GetRoleBasedActionsParam, GetShipmentByIdParam, GetShipmentHistoryParam, GetShipmentReasonsParam, GetShipmentsParam, GetStateManagerConfigParam, GetStateTransitionMapParam, GetTemplateParam, GetfiltersParam, InvalidateShipmentCacheParam, JobDetailsParam, OrderUpdateParam, PostShipmentHistoryParam, ReassignLocationParam, SendSmsNinjaParam, SendUserMobileOTPParam, TrackShipmentParam, UpdateAddressParam, UpdatePackagingDimensionsParam, UpdateShipmentLockParam, UpdateShipmentStatusParam, UpdateShipmentTrackingParam, UploadConsentsParam, VerifyMobileOTPParam };
505
496
  }
506
497
  type AddStateManagerConfigParam = {
507
498
  body: OrderPlatformModel.TransitionConfigPayload;
@@ -511,43 +502,42 @@ type AttachOrderUserParam = {
511
502
  };
512
503
  type BulkListingParam = {
513
504
  /**
514
- * - Page size
505
+ * - The number of records to return per page in the response.
515
506
  */
516
507
  pageSize: number;
517
508
  /**
518
- * - Page number
509
+ * - The page number to fetch from the paginated results.
519
510
  */
520
511
  pageNo: number;
521
512
  /**
522
- * - UTC start date in ISO format
513
+ * - The start date for filtering the jobs,
514
+ * expressed in UTC format
523
515
  */
524
516
  startDate: string;
525
517
  /**
526
- * - UTC end date in ISO format
518
+ * - The end date for filtering the jobs, expressed
519
+ * in UTC format
527
520
  */
528
521
  endDate: string;
529
522
  /**
530
- * - Status for which to fetch the jobs.
523
+ * - The status of the jobs to filter the results.
531
524
  */
532
525
  status?: string;
533
526
  /**
534
- * - Job type.
527
+ * - Pecifies the type of job action being requested.
535
528
  */
536
529
  bulkActionType?: string;
537
530
  /**
538
- * - Search_key.
531
+ * - A key or keyword used to search for specific jobs.
539
532
  */
540
533
  searchKey?: string;
541
534
  };
542
535
  type BulkStateTransistionParam = {
543
- body: OrderPlatformModel.BulkStateTransistionRequest;
536
+ body: OrderPlatformModel.BulkStateTransistionRequestSchema;
544
537
  };
545
538
  type CheckOrderStatusParam = {
546
539
  body: OrderPlatformModel.OrderStatus;
547
540
  };
548
- type CreateChannelConfigParam = {
549
- body: OrderPlatformModel.CreateChannelConfigData;
550
- };
551
541
  type CreateOrderParam = {
552
542
  body: OrderPlatformModel.CreateOrderAPI;
553
543
  };
@@ -572,9 +562,6 @@ type FailedOrderLogDetailsParam = {
572
562
  */
573
563
  logId: string;
574
564
  };
575
- type FetchCreditBalanceDetailParam = {
576
- body: OrderPlatformModel.FetchCreditBalanceRequestPayload;
577
- };
578
565
  type FetchRefundModeConfigParam = {
579
566
  body: OrderPlatformModel.RefundModeConfigRequestPayload;
580
567
  };
@@ -583,7 +570,7 @@ type GenerateInvoiceIDParam = {
583
570
  * - Mention the type of invoice id to generate
584
571
  */
585
572
  invoiceType: string;
586
- body: OrderPlatformModel.GenerateInvoiceIDRequest;
573
+ body: OrderPlatformModel.GenerateInvoiceIDRequestSchema;
587
574
  };
588
575
  type GeneratePOSReceiptByOrderIdParam = {
589
576
  orderId: string;
@@ -595,18 +582,18 @@ type GenerateProcessManifestParam = {
595
582
  };
596
583
  type GetAllowedStateTransitionParam = {
597
584
  /**
598
- * - Ordering channel
585
+ * - The channel through which orders are placed.
599
586
  */
600
587
  orderingChannel: string;
601
588
  /**
602
- * - Current status of a shipment
589
+ * - The status key indicates the current status for
590
+ * which the API will provide a list of possible next state transitions.
603
591
  */
604
592
  status: string;
605
593
  };
606
594
  type GetAnnouncementsParam = {
607
595
  /**
608
- * - Date On which the announcement is Active (Date
609
- * should in ISO Datetime format IST Time)
596
+ * - Date On which the announcement is Active.
610
597
  */
611
598
  date?: string;
612
599
  };
@@ -707,9 +694,21 @@ type GetBulkShipmentExcelFileParam = {
707
694
  pageSize?: number;
708
695
  };
709
696
  type GetFileByStatusParam = {
697
+ /**
698
+ * - Batch Id to identify the bulk operation request.
699
+ */
710
700
  batchId: string;
701
+ /**
702
+ * - The status of the jobs to filter the results.
703
+ */
711
704
  status: string;
705
+ /**
706
+ * - The type of file to be downloaded.
707
+ */
712
708
  fileType: string;
709
+ /**
710
+ * - The type of report to be downloaded.
711
+ */
713
712
  reportType?: string;
714
713
  };
715
714
  type GetLaneConfigParam = {
@@ -768,7 +767,31 @@ type GetLaneConfigParam = {
768
767
  orderType?: string;
769
768
  };
770
769
  type GetManifestDetailsParam = {
770
+ /**
771
+ * - The unique identifier assigned to the manifest.
772
+ */
771
773
  manifestId: string;
774
+ /**
775
+ * - Filter shipments with the specific Courier
776
+ * partner Ids which is a combination of courier partner extension and scheme Ids.
777
+ */
778
+ dpIds?: string;
779
+ /**
780
+ * - End date for the shipment search range in manifest.
781
+ */
782
+ endDate?: string;
783
+ /**
784
+ * - Start date for the shipment search range in manifest.
785
+ */
786
+ startDate?: string;
787
+ /**
788
+ * - Page number for pagination.
789
+ */
790
+ pageNo?: number;
791
+ /**
792
+ * - Number of records per page for pagination.
793
+ */
794
+ pageSize?: number;
772
795
  };
773
796
  type GetManifestShipmentsParam = {
774
797
  /**
@@ -777,7 +800,7 @@ type GetManifestShipmentsParam = {
777
800
  */
778
801
  dpIds: string;
779
802
  /**
780
- * - Filter with the specific store.
803
+ * - Filter results based on specific store IDs.
781
804
  */
782
805
  stores: number;
783
806
  /**
@@ -789,20 +812,20 @@ type GetManifestShipmentsParam = {
789
812
  */
790
813
  fromDate: string;
791
814
  /**
792
- * - Filter with the specific courier partner name.
815
+ * - Filter results based on specific courier partner name.
793
816
  */
794
817
  dpName?: string;
795
818
  /**
796
- * - Comma-separated list of sales channels.
819
+ * - Filter results based on comma-separated
820
+ * list of sales channels.
797
821
  */
798
822
  salesChannels?: string;
799
823
  /**
800
- * - Type of search (e.g., by shipment ID, order
801
- * ID, AWB number).
824
+ * - Filter results based on search type.
802
825
  */
803
826
  searchType?: string;
804
827
  /**
805
- * - Value to search for based on the search type.
828
+ * - Filter results based on the search value.
806
829
  */
807
830
  searchValue?: string;
808
831
  /**
@@ -822,35 +845,45 @@ type GetManifestfiltersParam = {
822
845
  };
823
846
  type GetManifestsParam = {
824
847
  /**
825
- * - Possible Status [ active, closed ]
848
+ * - Filter for the status of manifests.
826
849
  */
827
850
  status?: string;
828
851
  /**
829
- * - UTC Start Date in ISO format
852
+ * - The starting date for filtering manifests in
853
+ * ISO format
830
854
  */
831
855
  startDate?: string;
832
856
  /**
833
- * - UTC End Date in ISO format
857
+ * - The end date for filtering manifests in ISO format
834
858
  */
835
859
  endDate?: string;
836
860
  /**
837
- * - Search type options [ fynd_order_id,
838
- * shipment_id, manifest_id, dp_name, awb_no ]
861
+ * - Specifies the type of search to perform.
839
862
  */
840
863
  searchType?: string;
841
864
  /**
842
- * - Fetch manifests for a Store.
865
+ * - Filter to fetch manifests for a specific store
866
+ * by its ID.
843
867
  */
844
868
  storeId?: number;
845
869
  /**
846
- * - Search value for selected search type
870
+ * - The value to search for based on the
871
+ * selected search type.
847
872
  */
848
873
  searchValue?: string;
849
874
  /**
850
- * - DP Ids separated by ',' (comma)
875
+ * - A comma-separated list of courier partner IDs
876
+ * (DP IDs) to filter the manifests.
851
877
  */
852
878
  dpIds?: string;
879
+ /**
880
+ * - The number of the page to fetch data.
881
+ */
853
882
  pageNo?: number;
883
+ /**
884
+ * - The number of records to return per page for
885
+ * pagination.
886
+ */
854
887
  pageSize?: number;
855
888
  };
856
889
  type GetOrderByIdParam = {
@@ -942,11 +975,11 @@ type GetShipmentByIdParam = {
942
975
  };
943
976
  type GetShipmentHistoryParam = {
944
977
  /**
945
- * - Shipment Id
978
+ * - Identifier for the shipment
946
979
  */
947
980
  shipmentId?: string;
948
981
  /**
949
- * - Bag/Product Id
982
+ * - Identifier for a bag or product.
950
983
  */
951
984
  bagId?: number;
952
985
  };
@@ -1102,6 +1135,10 @@ type InvalidateShipmentCacheParam = {
1102
1135
  body: OrderPlatformModel.InvalidateShipmentCachePayload;
1103
1136
  };
1104
1137
  type JobDetailsParam = {
1138
+ /**
1139
+ * - A unique identifier for the batch associated
1140
+ * with this bulk action.
1141
+ */
1105
1142
  batchId: string;
1106
1143
  };
1107
1144
  type OrderUpdateParam = {
@@ -1110,9 +1147,6 @@ type OrderUpdateParam = {
1110
1147
  type PostShipmentHistoryParam = {
1111
1148
  body: OrderPlatformModel.PostShipmentHistory;
1112
1149
  };
1113
- type ProcessManifestsParam = {
1114
- body: OrderPlatformModel.ProcessManifest;
1115
- };
1116
1150
  type ReassignLocationParam = {
1117
1151
  body: OrderPlatformModel.StoreReassign;
1118
1152
  };
@@ -1124,7 +1158,7 @@ type SendUserMobileOTPParam = {
1124
1158
  };
1125
1159
  type TrackShipmentParam = {
1126
1160
  /**
1127
- * - Shipment ID
1161
+ * - Unique identifier of a shipment on the platform.
1128
1162
  */
1129
1163
  shipmentId?: string;
1130
1164
  /**
@@ -1132,11 +1166,11 @@ type TrackShipmentParam = {
1132
1166
  */
1133
1167
  awb?: string;
1134
1168
  /**
1135
- * - Page number
1169
+ * - Page number for pagination.
1136
1170
  */
1137
1171
  pageNo?: number;
1138
1172
  /**
1139
- * - Page size
1173
+ * - Number of records per page for pagination.
1140
1174
  */
1141
1175
  pageSize?: number;
1142
1176
  };
@@ -1161,21 +1195,19 @@ type UpdateShipmentLockParam = {
1161
1195
  body: OrderPlatformModel.UpdateShipmentLockPayload;
1162
1196
  };
1163
1197
  type UpdateShipmentStatusParam = {
1164
- body: OrderPlatformModel.UpdateShipmentStatusRequest;
1198
+ body: OrderPlatformModel.UpdateShipmentStatusRequestSchema;
1165
1199
  };
1166
1200
  type UpdateShipmentTrackingParam = {
1167
1201
  body: OrderPlatformModel.CourierPartnerTrackingDetails;
1168
1202
  };
1169
1203
  type UploadConsentsParam = {
1170
- manifestId: string;
1171
- body: OrderPlatformModel.UploadConsent;
1204
+ body: OrderPlatformModel.UploadManifestConsent;
1172
1205
  };
1173
1206
  type VerifyMobileOTPParam = {
1174
1207
  body: OrderPlatformModel.VerifyMobileOTP;
1175
1208
  };
1176
1209
  type GetAllowedTemplatesForBulkParam = any;
1177
1210
  type GetBulkActionTemplateParam = any;
1178
- type GetChannelConfigParam = any;
1179
1211
  type GetRoleBasedActionsParam = any;
1180
1212
  type GetStateTransitionMapParam = any;
1181
1213
  import OrderPlatformModel = require("./OrderPlatformModel");