@gofynd/fdk-client-javascript 1.3.3-beta.1 → 1.3.3-beta.3

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.
@@ -81,6 +81,7 @@ export = OrderPlatformModel;
81
81
  /**
82
82
  * @typedef AffiliateConfig
83
83
  * @property {AffiliateAppConfig} [app]
84
+ * @property {number} [app_company_id]
84
85
  * @property {AffiliateInventoryConfig} [inventory]
85
86
  */
86
87
  /**
@@ -93,6 +94,7 @@ export = OrderPlatformModel;
93
94
  * @property {string} affiliate_shipment_id
94
95
  * @property {string} affiliate_store_id
95
96
  * @property {string} [company_affiliate_tag]
97
+ * @property {AffiliateConfig} [config]
96
98
  * @property {PDFLinks} [pdf_links]
97
99
  * @property {ShipmentMeta} shipment_meta
98
100
  */
@@ -700,7 +702,7 @@ export = OrderPlatformModel;
700
702
  * @property {string} [state_type]
701
703
  * @property {string} [status]
702
704
  * @property {number} [store_id]
703
- * @property {number} [updated_at]
705
+ * @property {string} [updated_at]
704
706
  */
705
707
  /**
706
708
  * @typedef DataUpdates
@@ -1165,6 +1167,7 @@ export = OrderPlatformModel;
1165
1167
  * @property {string} [group_id]
1166
1168
  * @property {BagGST} [gst_details]
1167
1169
  * @property {string} [identifier]
1170
+ * @property {boolean} [is_parent]
1168
1171
  * @property {PlatformItem} [item]
1169
1172
  * @property {number} [line_number]
1170
1173
  * @property {BagMeta} [meta]
@@ -1211,6 +1214,7 @@ export = OrderPlatformModel;
1211
1214
  * @property {string} [affiliate_id]
1212
1215
  * @property {string} [cod_charges]
1213
1216
  * @property {string} fynd_order_id
1217
+ * @property {OrderMeta} [meta]
1214
1218
  * @property {string} [order_date]
1215
1219
  * @property {string} [order_value]
1216
1220
  * @property {string} [ordering_channel]
@@ -1273,6 +1277,7 @@ export = OrderPlatformModel;
1273
1277
  * @typedef OrderMeta
1274
1278
  * @property {BillingStaffDetails} [billing_staff_details]
1275
1279
  * @property {number} [cart_id]
1280
+ * @property {string} [cart_object_id]
1276
1281
  * @property {string} [comment]
1277
1282
  * @property {string} [company_logo]
1278
1283
  * @property {string} [currency_symbol]
@@ -1484,6 +1489,7 @@ export = OrderPlatformModel;
1484
1489
  * @property {boolean} [can_update_dimension]
1485
1490
  * @property {CompanyDetails} [company_details]
1486
1491
  * @property {Object} [coupon]
1492
+ * @property {string} [credit_note_id]
1487
1493
  * @property {string} [custom_message]
1488
1494
  * @property {Object[]} [custom_meta]
1489
1495
  * @property {UserDetailsData} [delivery_details]
@@ -1499,9 +1505,11 @@ export = OrderPlatformModel;
1499
1505
  * @property {InvoiceInfo} [invoice]
1500
1506
  * @property {string} [invoice_id]
1501
1507
  * @property {boolean} [is_dp_assign_enabled]
1508
+ * @property {boolean} [is_self_ship]
1502
1509
  * @property {string} [journey_type]
1503
1510
  * @property {boolean} [lock_status]
1504
1511
  * @property {ShipmentMeta} [meta]
1512
+ * @property {string} [mode_of_payment]
1505
1513
  * @property {string} [operational_status]
1506
1514
  * @property {OrderDetailsData} [order]
1507
1515
  * @property {OrderingStoreDetails} [ordering_store]
@@ -1512,14 +1520,17 @@ export = OrderPlatformModel;
1512
1520
  * @property {Object} [pdf_links]
1513
1521
  * @property {string} [picked_date]
1514
1522
  * @property {string} [platform_logo]
1523
+ * @property {string} [previous_shipment_id]
1515
1524
  * @property {Prices} [prices]
1516
1525
  * @property {string} [priority_text]
1526
+ * @property {PlatformDeliveryAddress} [rto_address]
1517
1527
  * @property {string} [shipment_created_at]
1518
1528
  * @property {ShipmentDetails} [shipment_details]
1519
1529
  * @property {string} shipment_id
1520
1530
  * @property {string[]} [shipment_images]
1521
1531
  * @property {number} [shipment_quantity]
1522
1532
  * @property {string} [shipment_status]
1533
+ * @property {number} [shipment_update_time]
1523
1534
  * @property {ShipmentStatusData} [status]
1524
1535
  * @property {number} [total_bags]
1525
1536
  * @property {number} [total_items]
@@ -1823,6 +1834,7 @@ export = OrderPlatformModel;
1823
1834
  * @property {string} [invoice_id]
1824
1835
  * @property {boolean} [lock_status]
1825
1836
  * @property {ShipmentItemMeta} [meta]
1837
+ * @property {string} [mode_of_payment]
1826
1838
  * @property {string} [order_date]
1827
1839
  * @property {string} order_id
1828
1840
  * @property {string} [ordering_channnel]
@@ -1927,6 +1939,7 @@ export = OrderPlatformModel;
1927
1939
  * @property {string} [packaging_name]
1928
1940
  * @property {string} [parent_dp_id]
1929
1941
  * @property {string} [po_number]
1942
+ * @property {string} [refund_to]
1930
1943
  * @property {string} [return_affiliate_order_id]
1931
1944
  * @property {string} [return_affiliate_shipment_id]
1932
1945
  * @property {string} [return_awb_number]
@@ -2436,6 +2449,7 @@ type AffiliateBagsDetails = {
2436
2449
  declare function AffiliateConfig(): AffiliateConfig;
2437
2450
  type AffiliateConfig = {
2438
2451
  app?: AffiliateAppConfig;
2452
+ app_company_id?: number;
2439
2453
  inventory?: AffiliateInventoryConfig;
2440
2454
  };
2441
2455
  /** @returns {AffiliateDetails} */
@@ -2449,6 +2463,7 @@ type AffiliateDetails = {
2449
2463
  affiliate_shipment_id: string;
2450
2464
  affiliate_store_id: string;
2451
2465
  company_affiliate_tag?: string;
2466
+ config?: AffiliateConfig;
2452
2467
  pdf_links?: PDFLinks;
2453
2468
  shipment_meta: ShipmentMeta;
2454
2469
  };
@@ -3217,7 +3232,7 @@ type CurrentStatus = {
3217
3232
  state_type?: string;
3218
3233
  status?: string;
3219
3234
  store_id?: number;
3220
- updated_at?: number;
3235
+ updated_at?: string;
3221
3236
  };
3222
3237
  /** @returns {DataUpdates} */
3223
3238
  declare function DataUpdates(): DataUpdates;
@@ -3807,6 +3822,7 @@ type OrderBags = {
3807
3822
  group_id?: string;
3808
3823
  gst_details?: BagGST;
3809
3824
  identifier?: string;
3825
+ is_parent?: boolean;
3810
3826
  item?: PlatformItem;
3811
3827
  line_number?: number;
3812
3828
  meta?: BagMeta;
@@ -3858,6 +3874,7 @@ type OrderDetailsData = {
3858
3874
  affiliate_id?: string;
3859
3875
  cod_charges?: string;
3860
3876
  fynd_order_id: string;
3877
+ meta?: OrderMeta;
3861
3878
  order_date?: string;
3862
3879
  order_value?: string;
3863
3880
  ordering_channel?: string;
@@ -3926,6 +3943,7 @@ declare function OrderMeta(): OrderMeta;
3926
3943
  type OrderMeta = {
3927
3944
  billing_staff_details?: BillingStaffDetails;
3928
3945
  cart_id?: number;
3946
+ cart_object_id?: string;
3929
3947
  comment?: string;
3930
3948
  company_logo?: string;
3931
3949
  currency_symbol?: string;
@@ -4179,6 +4197,7 @@ type PlatformShipment = {
4179
4197
  can_update_dimension?: boolean;
4180
4198
  company_details?: CompanyDetails;
4181
4199
  coupon?: any;
4200
+ credit_note_id?: string;
4182
4201
  custom_message?: string;
4183
4202
  custom_meta?: any[];
4184
4203
  delivery_details?: UserDetailsData;
@@ -4194,9 +4213,11 @@ type PlatformShipment = {
4194
4213
  invoice?: InvoiceInfo;
4195
4214
  invoice_id?: string;
4196
4215
  is_dp_assign_enabled?: boolean;
4216
+ is_self_ship?: boolean;
4197
4217
  journey_type?: string;
4198
4218
  lock_status?: boolean;
4199
4219
  meta?: ShipmentMeta;
4220
+ mode_of_payment?: string;
4200
4221
  operational_status?: string;
4201
4222
  order?: OrderDetailsData;
4202
4223
  ordering_store?: OrderingStoreDetails;
@@ -4207,14 +4228,17 @@ type PlatformShipment = {
4207
4228
  pdf_links?: any;
4208
4229
  picked_date?: string;
4209
4230
  platform_logo?: string;
4231
+ previous_shipment_id?: string;
4210
4232
  prices?: Prices;
4211
4233
  priority_text?: string;
4234
+ rto_address?: PlatformDeliveryAddress;
4212
4235
  shipment_created_at?: string;
4213
4236
  shipment_details?: ShipmentDetails;
4214
4237
  shipment_id: string;
4215
4238
  shipment_images?: string[];
4216
4239
  shipment_quantity?: number;
4217
4240
  shipment_status?: string;
4241
+ shipment_update_time?: number;
4218
4242
  status?: ShipmentStatusData;
4219
4243
  total_bags?: number;
4220
4244
  total_items?: number;
@@ -4590,6 +4614,7 @@ type ShipmentItem = {
4590
4614
  invoice_id?: string;
4591
4615
  lock_status?: boolean;
4592
4616
  meta?: ShipmentItemMeta;
4617
+ mode_of_payment?: string;
4593
4618
  order_date?: string;
4594
4619
  order_id: string;
4595
4620
  ordering_channnel?: string;
@@ -4699,6 +4724,7 @@ type ShipmentMeta = {
4699
4724
  packaging_name?: string;
4700
4725
  parent_dp_id?: string;
4701
4726
  po_number?: string;
4727
+ refund_to?: string;
4702
4728
  return_affiliate_order_id?: string;
4703
4729
  return_affiliate_shipment_id?: string;
4704
4730
  return_awb_number?: string;