@gofynd/fdk-client-javascript 3.15.0 → 3.16.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.
Files changed (58) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Order/OrderApplicationClient.d.ts +11 -1
  4. package/sdk/application/Order/OrderApplicationClient.js +50 -1
  5. package/sdk/application/Payment/PaymentApplicationClient.d.ts +0 -20
  6. package/sdk/application/Payment/PaymentApplicationClient.js +0 -77
  7. package/sdk/partner/Lead/LeadPartnerModel.d.ts +2 -2
  8. package/sdk/partner/Lead/LeadPartnerModel.js +1 -1
  9. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2 -2
  10. package/sdk/partner/Logistics/LogisticsPartnerModel.js +1 -1
  11. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +2 -2
  12. package/sdk/partner/Webhook/WebhookPartnerModel.js +1 -1
  13. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +2 -2
  14. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
  15. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +10 -0
  16. package/sdk/platform/Cart/CartPlatformApplicationClient.js +95 -0
  17. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +47 -1
  18. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +29 -0
  19. package/sdk/platform/Cart/CartPlatformModel.d.ts +17 -3
  20. package/sdk/platform/Cart/CartPlatformModel.js +14 -1
  21. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +3 -3
  22. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +13 -16
  23. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +17 -20
  24. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +10 -11
  25. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +2 -2
  26. package/sdk/platform/Catalog/CatalogPlatformClient.js +1 -1
  27. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +58 -37
  28. package/sdk/platform/Catalog/CatalogPlatformModel.js +33 -28
  29. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +2 -2
  30. package/sdk/platform/Catalog/CatalogPlatformValidator.js +2 -2
  31. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +2 -2
  32. package/sdk/platform/Communication/CommunicationPlatformModel.js +1 -1
  33. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -2
  34. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +1 -1
  35. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2 -2
  36. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1 -1
  37. package/sdk/platform/Content/ContentPlatformModel.d.ts +2 -2
  38. package/sdk/platform/Content/ContentPlatformModel.js +1 -1
  39. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +2 -2
  40. package/sdk/platform/Discount/DiscountPlatformModel.js +1 -1
  41. package/sdk/platform/Lead/LeadPlatformModel.d.ts +2 -2
  42. package/sdk/platform/Lead/LeadPlatformModel.js +1 -1
  43. package/sdk/platform/Order/OrderPlatformModel.d.ts +2 -2
  44. package/sdk/platform/Order/OrderPlatformModel.js +1 -1
  45. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +0 -23
  46. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +0 -161
  47. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -19
  48. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +0 -24
  49. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1 -159
  50. package/sdk/platform/Payment/PaymentPlatformModel.js +0 -112
  51. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +2 -2
  52. package/sdk/platform/Rewards/RewardsPlatformModel.js +1 -1
  53. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +67 -49
  54. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +45 -42
  55. package/sdk/platform/Share/SharePlatformModel.d.ts +2 -2
  56. package/sdk/platform/Share/SharePlatformModel.js +1 -1
  57. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
  58. package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
@@ -31,7 +31,8 @@ export = ServiceabilityPlatformModel;
31
31
  * @property {boolean} [is_default] - Whether this is the default fulfillment option.
32
32
  * @property {string} [type] - Type of fulfillment option.
33
33
  * @property {string} [status] - Status of the fulfillment option.
34
- * @property {BusinessUnit[]} [business_unit]
34
+ * @property {BusinessUnit[]} [business_unit] - Name of the ordering-channel or
35
+ * business, e.g. storefront, storeos.
35
36
  * @property {FulfillmentStores} [fulfillment_stores]
36
37
  * @property {FulfillmentProducts} [products]
37
38
  * @property {CourierPartnerSchemes} [cp_schemes]
@@ -266,13 +267,13 @@ export = ServiceabilityPlatformModel;
266
267
  * @typedef PincodeMopBulkError
267
268
  * @property {string} [batch_id] - A unique identifier for the performed batch operation.
268
269
  * @property {number} [status_code] - Status code for the error.
269
- * @property {Object} [error]
270
+ * @property {Error[]} [error] - An array containing error details.
270
271
  * @property {boolean} [success] - Whether operation was successful.
271
272
  */
272
273
  /**
273
274
  * @typedef CommonError
274
275
  * @property {number} [status_code] - Status code for the error.
275
- * @property {Object} [error]
276
+ * @property {Error[]} [error] - An array containing error details.
276
277
  * @property {boolean} [success] - Whether operation was successful.
277
278
  */
278
279
  /**
@@ -491,8 +492,8 @@ export = ServiceabilityPlatformModel;
491
492
  * @property {string} name - Name for the courier partner rule.
492
493
  * @property {string[]} manual_priority - Has the list of courier partner
493
494
  * account Ids that are to be given priority.
494
- * @property {string} filters - Denotes weather specific filters are applied to
495
- * courier partner accounts or all accounts are considered.
495
+ * @property {string} [filters] - Denotes weather specific filters are applied
496
+ * to courier partner accounts or all accounts are considered.
496
497
  * @property {CourierPartnerRuleConditions} conditions
497
498
  * @property {string[]} sort - Sort Strategy for the courier partners.
498
499
  * @property {string} [type] - Denotes the type of the rule.
@@ -1189,7 +1190,7 @@ export = ServiceabilityPlatformModel;
1189
1190
  * @typedef PlatformLocationArticles
1190
1191
  * @property {PlatformLocationArticle[]} articles - List of articles for this
1191
1192
  * fulfillment location.
1192
- * @property {number} [fulfillment_location_id] - Unique identifier for the
1193
+ * @property {number} fulfillment_location_id - Unique identifier for the
1193
1194
  * fulfillment location.
1194
1195
  * @property {string[]} [fulfillment_tags] - Tags associated with the
1195
1196
  * fulfillment location.
@@ -1243,6 +1244,9 @@ export = ServiceabilityPlatformModel;
1243
1244
  * fulfillment location.
1244
1245
  * @property {ShipmentsCourierPartner[]} [courier_partners] - List of courier
1245
1246
  * partners handling the shipment.
1247
+ * @property {number} [count] - The number of items in the shipment.
1248
+ * @property {boolean} [is_cod_available] - Flag indicating whether Cash on
1249
+ * Delivery (COD) is available for the shipment.
1246
1250
  */
1247
1251
  /**
1248
1252
  * @typedef Packaging
@@ -1529,7 +1533,7 @@ export = ServiceabilityPlatformModel;
1529
1533
  * @property {boolean} [has_previous] - Indicates whether there is a previous page.
1530
1534
  * @property {boolean} [has_next] - Indicates whether there is a next page.
1531
1535
  * @property {number} [current] - The current page number.
1532
- * @property {string} type - The type of the page, such as 'PageType'.
1536
+ * @property {string} type - The type of the page, can be 'cursor' or 'number'.
1533
1537
  * @property {number} [size] - The number of items per page.
1534
1538
  * @property {number} [page_size] - The number of items per page.
1535
1539
  */
@@ -1592,8 +1596,8 @@ export = ServiceabilityPlatformModel;
1592
1596
  * @property {ListViewProduct} product
1593
1597
  * @property {number} company_id - The unique identifier of the company.
1594
1598
  * @property {string} application_id - The unique identifier of the application.
1595
- * @property {CreatedBy} created_by
1596
- * @property {ModifiedBy} modified_by
1599
+ * @property {CreatedBy} [created_by]
1600
+ * @property {ModifiedBy} [modified_by]
1597
1601
  * @property {string} created_on - The timestamp when the record was created.
1598
1602
  * @property {string} modified_on - The timestamp when the record last modified.
1599
1603
  * @property {string} [stage] - Current stage of the zone.
@@ -1750,7 +1754,7 @@ export = ServiceabilityPlatformModel;
1750
1754
  * @property {StringComparisonOperations} [zone_ids]
1751
1755
  * @property {IntComparisonOperations} [department_ids]
1752
1756
  * @property {IntComparisonOperations} [brand_ids]
1753
- * @property {ArithmeticOperations} [order_place_date]
1757
+ * @property {DateOperations} [order_place_date]
1754
1758
  * @property {IntComparisonOperations} [store_ids]
1755
1759
  * @property {StringComparisonOperations} [store_type]
1756
1760
  * @property {StringComparisonOperations} [store_tags]
@@ -1788,6 +1792,11 @@ export = ServiceabilityPlatformModel;
1788
1792
  * @property {number[]} [includes] - Array of integer values to be included in
1789
1793
  * the comparison.
1790
1794
  */
1795
+ /**
1796
+ * @typedef DateOperations
1797
+ * @property {string} lte - Less than or equal to condition for date.
1798
+ * @property {string} gte - Greater than or equal to condition for date.
1799
+ */
1791
1800
  /**
1792
1801
  * @typedef ArithmeticOperations
1793
1802
  * @property {number} [lt] - Specifies a less than operation, comparing values
@@ -2066,13 +2075,6 @@ export = ServiceabilityPlatformModel;
2066
2075
  * @property {number} [gt] - The greater-than comparison value for the radius.
2067
2076
  * @property {number} [gte] - The greater-than-or-equal comparison value for the radius.
2068
2077
  */
2069
- /**
2070
- * @typedef DateOperations
2071
- * @property {string} [lt] - Less than condition for date.
2072
- * @property {string} [gt] - Greater than condition for date.
2073
- * @property {string} [lte] - Less than or equal to condition for date.
2074
- * @property {string} [gte] - Greater than or equal to condition for date.
2075
- */
2076
2078
  /**
2077
2079
  * @typedef CourierPartnerSchemeModel
2078
2080
  * @property {string} extension_id - Unique identifier of courier partner extension.
@@ -2318,7 +2320,8 @@ export = ServiceabilityPlatformModel;
2318
2320
  */
2319
2321
  /**
2320
2322
  * @typedef ApplicationFields
2321
- * @property {GetCountryFieldsAddress[]} [address]
2323
+ * @property {GetCountryFieldsAddress[]} [address] - List of address-related
2324
+ * fields for the application.
2322
2325
  * @property {string[]} [serviceability_fields] - An array of strings
2323
2326
  * representing fields related to the serviceability of the country.
2324
2327
  * @property {GetCountryFieldsAddressTemplateApplication} [address_template]
@@ -2484,7 +2487,7 @@ export = ServiceabilityPlatformModel;
2484
2487
  declare class ServiceabilityPlatformModel {
2485
2488
  }
2486
2489
  declare namespace ServiceabilityPlatformModel {
2487
- export { PlatformShipmentsRequestSchema, PlatformShipmentsResponseSchema, ShipmentsErrorResult, FulfillmentOption, FulfillmentOptionsList, FulfillmentOptionProducts, FulfillmentOptionStores, FulfillmentOptionBulkValidate, FulfillmentOptionBulkValidateData, FulfillmentOptionBulk, FulfillmentOptionBulkData, OperationResponseSchema, SelfshipSchema, ServiceabilityErrorResult, UpdateZoneData, ZoneUpdateSuccessResult, ServiceabilityDeleteErrorResult, ZoneDeleteSuccessResult, ListViewSchema, GetZoneByIdSchema, CommonErrorResult, CreateZoneDataSchema, ZoneBulkExport, GetZoneBulkExport, CreateBulkZoneData, ZoneSchema, CreateBulkZoneResult, BulkCreateZoneExport, PincodeMopData, PincodeMOPResult, PincodeMopUpdateAuditError, PincodeMopBulkError, CommonError, PincodeMopBulkData, PincodeBulkViewResult, PincodeCodStatusListingDetails, PincodeCodStatusListingResult, PincodeMopUpdateAuditHistoryDetails, PincodeMopUpdateAuditHistoryResultData, BulkGeoAreaDetails, BulkGeoAreaResult, BulkGeoAreaGetResult, GeoAreaBulkCreationResult, GeoAreaBulkExportResult, GeoAreaRequestBody, GeoAreaErrorResult, GeoAreaResponseBody, GeoAreaPutResponseBody, GeoAreaGetResponseBody, GeoAreaDetails, Error, CourierAccountDetailsBody, CourierPartnerRuleResult, CourierPartnerRule, BulkFailureResult, FailureResult, CourierPartnerRulesListResult, ShipmentCourierPartnerDetails, ShipmentCourierPartnerResult, CompanyConfig, ApplicationConfigPatch, ApplicationConfigPatchResult, BulkRegionJobDetails, BulkRegionResultItemData, BulkRegionResult, StoreRuleConfigData, StoreRuleDataSchema, GetStoreRulesApiResult, CreateStoreRuleDetailsSchema, StoreRuleResultSchema, StoreRuleUpdateResultSchema, CourierAccountResult, CompanyCourierPartnerAccountListResult, PackageMaterial, PackageMaterialNotFound, PackageMaterialsErrorResult, PackageMaterialResult, PackageRule, PackageRuleResult, PackagesListResult, PackageItem, RulePriorityDetails, RulePriorityResult, OptimalLocationsResult, OptimlLocationsRequestSchema, ValidationError, StandardError, CourierPartnerSchemeDetailsModel, CourierPartnerSchemeModelSchema, CourierPartnerSchemeUpdateDetailsSchema, CourierPartnerSchemeList, BulkRegionServiceabilityTatDetails, BulkRegionServiceabilityTatResultItemData, BulkRegionServiceabilityTatResult, GetCountries, GetLocalities, GetCountry, BulkImportLocalitiesDetails, BulkImportLocalitiesResult, BulkErrorResult, LocalitiesBulkExport, LocalitiesBulkExportFetch, LocalitiesErrorResult, GetLocality, ValidateAddress, ErrorResult, ApplicationConfigPut, ApplicationConfigPutDetail, ApplicationConfigGetResult, InstallCourierPartnerResponseSchema, GetLocalitiesBulkHistory, CompanyConfigurationSchema, PlatformLocationArticles, PlatformLocationArticle, ParentItemIdentifiers, PlatformShipmentsToServiceability, PlatformShipmentsSchema, Packaging, Dimension, FulfillmentOptionItem, ShipmentsPromise, CustomerPromise, ShipmentPromiseMeta, SellerPromise, CourierPartnerPromise, CourierPartnerAttributes, CourierPartnerTAT, CustomerInitialPromise, ShipmentsArticle, ShipmentDimension, ShipmentsMeta, ShipmentsCourierPartner, AreaCode, TAT, BusinessUnit, FulfillmentStores, FulfillmentProducts, CourierPartnerSchemes, CourierPartnerScheme, FulfillmentOptionProduct, NetQuantity, Trader, ProductPublish, TaxIdentifier, ReturnConfig, CustomOrder, Size, Identifier, Page, FulfillmentOptionStore, Address, FulfillmentOptionValidate, ProductSchema, StoresSchema, CreatedBy, ModifiedBy, ListViewItems, GeoArea, ListViewProduct, Summary, RegionSchema, ZoneStores, ZoneProduct, ZoneBulkItem, PincodeMopUpdateResult, PincodeCodStatusItem, PincodeCodStatusListingSummary, PincodeMopUpdateAuditHistoryPaging, PincodeMopUpdateAuditHistoryResult, Area, GeoAreaResponseDetail, GeoAreaItemResult, AreaExpanded, Country, Region, Page2, CourierPartnerRuleConditions, LocationRule, LocationRuleValues, StringComparisonOperations, IntComparisonOperations, ArithmeticOperations, CourierPartnerRuleCPListResult, CourierPartnerSchemeDefaultTat, CourierPartnerSchemeTat, CourierPartnerSchemeFeatures, CourierPartnerList, ShipmentsCourierPartnersServiceability, CPShipments, ShipmentsArticles, ArticleWeight, ArticleAttributes, ArticleDimension, ArticleSet, ArticleSizeDistribution, SetSize, ArticleDeliverySlots, ArticleReturnReason, CourierPartners, ShipmentCourierPartners, CourierPartnerConfig, BuyboxRuleConfig, PromiseConfig, StorePromiseAttributeConfig, DeliveryServiceAttributeConfig, BufferField, StorePrioritySchema, StoreRuleConditionSchema, CustomerRadiusSchema, DateOperations, CourierPartnerSchemeModel, PackageMaterialRule, PackageMaterialRuleQuantity, Channel, PackageRuleCategory, PackageRuleProduct, PackageRuleProductTag, PackageRuleDepartmentId, PackageRuleProductAttributes, PackageChannel, StoreFilter, PackageRuleSchema, Quantity, PackagePageInfo, OptimalLocationAssignedStoresResult, OptimalLocationArticlesResult, ArticleAssignment, LocationDetailsServiceability, ServiceabilityLocation, OptimalLocationsArticles, GetCountriesItems, HierarchyItems, CurrencyObject, Localities, PincodeLatLongData, LocalityParent, CountryMetaFields, ApplicationFields, GetCountryFieldsAddress, FieldValidation, FieldValidationRegex, LengthValidation, GetCountryFieldsAddressValues, GetOneOrAll, GetOneOrAllParams, GetOneOrAllPath, GetOneOrAllQuery, GetCountryFieldsAddressTemplateApplication, CountryHierarchy, GetCountryFields, GetCountryFieldsAddressTemplate, LocalityParents, ZoneConfig, PromiseType, InstallCourierPartnerItemsSchema, HistoryObject };
2490
+ export { PlatformShipmentsRequestSchema, PlatformShipmentsResponseSchema, ShipmentsErrorResult, FulfillmentOption, FulfillmentOptionsList, FulfillmentOptionProducts, FulfillmentOptionStores, FulfillmentOptionBulkValidate, FulfillmentOptionBulkValidateData, FulfillmentOptionBulk, FulfillmentOptionBulkData, OperationResponseSchema, SelfshipSchema, ServiceabilityErrorResult, UpdateZoneData, ZoneUpdateSuccessResult, ServiceabilityDeleteErrorResult, ZoneDeleteSuccessResult, ListViewSchema, GetZoneByIdSchema, CommonErrorResult, CreateZoneDataSchema, ZoneBulkExport, GetZoneBulkExport, CreateBulkZoneData, ZoneSchema, CreateBulkZoneResult, BulkCreateZoneExport, PincodeMopData, PincodeMOPResult, PincodeMopUpdateAuditError, PincodeMopBulkError, CommonError, PincodeMopBulkData, PincodeBulkViewResult, PincodeCodStatusListingDetails, PincodeCodStatusListingResult, PincodeMopUpdateAuditHistoryDetails, PincodeMopUpdateAuditHistoryResultData, BulkGeoAreaDetails, BulkGeoAreaResult, BulkGeoAreaGetResult, GeoAreaBulkCreationResult, GeoAreaBulkExportResult, GeoAreaRequestBody, GeoAreaErrorResult, GeoAreaResponseBody, GeoAreaPutResponseBody, GeoAreaGetResponseBody, GeoAreaDetails, Error, CourierAccountDetailsBody, CourierPartnerRuleResult, CourierPartnerRule, BulkFailureResult, FailureResult, CourierPartnerRulesListResult, ShipmentCourierPartnerDetails, ShipmentCourierPartnerResult, CompanyConfig, ApplicationConfigPatch, ApplicationConfigPatchResult, BulkRegionJobDetails, BulkRegionResultItemData, BulkRegionResult, StoreRuleConfigData, StoreRuleDataSchema, GetStoreRulesApiResult, CreateStoreRuleDetailsSchema, StoreRuleResultSchema, StoreRuleUpdateResultSchema, CourierAccountResult, CompanyCourierPartnerAccountListResult, PackageMaterial, PackageMaterialNotFound, PackageMaterialsErrorResult, PackageMaterialResult, PackageRule, PackageRuleResult, PackagesListResult, PackageItem, RulePriorityDetails, RulePriorityResult, OptimalLocationsResult, OptimlLocationsRequestSchema, ValidationError, StandardError, CourierPartnerSchemeDetailsModel, CourierPartnerSchemeModelSchema, CourierPartnerSchemeUpdateDetailsSchema, CourierPartnerSchemeList, BulkRegionServiceabilityTatDetails, BulkRegionServiceabilityTatResultItemData, BulkRegionServiceabilityTatResult, GetCountries, GetLocalities, GetCountry, BulkImportLocalitiesDetails, BulkImportLocalitiesResult, BulkErrorResult, LocalitiesBulkExport, LocalitiesBulkExportFetch, LocalitiesErrorResult, GetLocality, ValidateAddress, ErrorResult, ApplicationConfigPut, ApplicationConfigPutDetail, ApplicationConfigGetResult, InstallCourierPartnerResponseSchema, GetLocalitiesBulkHistory, CompanyConfigurationSchema, PlatformLocationArticles, PlatformLocationArticle, ParentItemIdentifiers, PlatformShipmentsToServiceability, PlatformShipmentsSchema, Packaging, Dimension, FulfillmentOptionItem, ShipmentsPromise, CustomerPromise, ShipmentPromiseMeta, SellerPromise, CourierPartnerPromise, CourierPartnerAttributes, CourierPartnerTAT, CustomerInitialPromise, ShipmentsArticle, ShipmentDimension, ShipmentsMeta, ShipmentsCourierPartner, AreaCode, TAT, BusinessUnit, FulfillmentStores, FulfillmentProducts, CourierPartnerSchemes, CourierPartnerScheme, FulfillmentOptionProduct, NetQuantity, Trader, ProductPublish, TaxIdentifier, ReturnConfig, CustomOrder, Size, Identifier, Page, FulfillmentOptionStore, Address, FulfillmentOptionValidate, ProductSchema, StoresSchema, CreatedBy, ModifiedBy, ListViewItems, GeoArea, ListViewProduct, Summary, RegionSchema, ZoneStores, ZoneProduct, ZoneBulkItem, PincodeMopUpdateResult, PincodeCodStatusItem, PincodeCodStatusListingSummary, PincodeMopUpdateAuditHistoryPaging, PincodeMopUpdateAuditHistoryResult, Area, GeoAreaResponseDetail, GeoAreaItemResult, AreaExpanded, Country, Region, Page2, CourierPartnerRuleConditions, LocationRule, LocationRuleValues, StringComparisonOperations, IntComparisonOperations, DateOperations, ArithmeticOperations, CourierPartnerRuleCPListResult, CourierPartnerSchemeDefaultTat, CourierPartnerSchemeTat, CourierPartnerSchemeFeatures, CourierPartnerList, ShipmentsCourierPartnersServiceability, CPShipments, ShipmentsArticles, ArticleWeight, ArticleAttributes, ArticleDimension, ArticleSet, ArticleSizeDistribution, SetSize, ArticleDeliverySlots, ArticleReturnReason, CourierPartners, ShipmentCourierPartners, CourierPartnerConfig, BuyboxRuleConfig, PromiseConfig, StorePromiseAttributeConfig, DeliveryServiceAttributeConfig, BufferField, StorePrioritySchema, StoreRuleConditionSchema, CustomerRadiusSchema, CourierPartnerSchemeModel, PackageMaterialRule, PackageMaterialRuleQuantity, Channel, PackageRuleCategory, PackageRuleProduct, PackageRuleProductTag, PackageRuleDepartmentId, PackageRuleProductAttributes, PackageChannel, StoreFilter, PackageRuleSchema, Quantity, PackagePageInfo, OptimalLocationAssignedStoresResult, OptimalLocationArticlesResult, ArticleAssignment, LocationDetailsServiceability, ServiceabilityLocation, OptimalLocationsArticles, GetCountriesItems, HierarchyItems, CurrencyObject, Localities, PincodeLatLongData, LocalityParent, CountryMetaFields, ApplicationFields, GetCountryFieldsAddress, FieldValidation, FieldValidationRegex, LengthValidation, GetCountryFieldsAddressValues, GetOneOrAll, GetOneOrAllParams, GetOneOrAllPath, GetOneOrAllQuery, GetCountryFieldsAddressTemplateApplication, CountryHierarchy, GetCountryFields, GetCountryFieldsAddressTemplate, LocalityParents, ZoneConfig, PromiseType, InstallCourierPartnerItemsSchema, HistoryObject };
2488
2491
  }
2489
2492
  /** @returns {PlatformShipmentsRequestSchema} */
2490
2493
  declare function PlatformShipmentsRequestSchema(): PlatformShipmentsRequestSchema;
@@ -2570,6 +2573,10 @@ type FulfillmentOption = {
2570
2573
  * - Status of the fulfillment option.
2571
2574
  */
2572
2575
  status?: string;
2576
+ /**
2577
+ * - Name of the ordering-channel or
2578
+ * business, e.g. storefront, storeos.
2579
+ */
2573
2580
  business_unit?: BusinessUnit[];
2574
2581
  fulfillment_stores?: FulfillmentStores;
2575
2582
  products?: FulfillmentProducts;
@@ -3142,7 +3149,10 @@ type PincodeMopBulkError = {
3142
3149
  * - Status code for the error.
3143
3150
  */
3144
3151
  status_code?: number;
3145
- error?: any;
3152
+ /**
3153
+ * - An array containing error details.
3154
+ */
3155
+ error?: Error[];
3146
3156
  /**
3147
3157
  * - Whether operation was successful.
3148
3158
  */
@@ -3155,7 +3165,10 @@ type CommonError = {
3155
3165
  * - Status code for the error.
3156
3166
  */
3157
3167
  status_code?: number;
3158
- error?: any;
3168
+ /**
3169
+ * - An array containing error details.
3170
+ */
3171
+ error?: Error[];
3159
3172
  /**
3160
3173
  * - Whether operation was successful.
3161
3174
  */
@@ -3729,10 +3742,10 @@ type CourierPartnerRule = {
3729
3742
  */
3730
3743
  manual_priority: string[];
3731
3744
  /**
3732
- * - Denotes weather specific filters are applied to
3733
- * courier partner accounts or all accounts are considered.
3745
+ * - Denotes weather specific filters are applied
3746
+ * to courier partner accounts or all accounts are considered.
3734
3747
  */
3735
- filters: string;
3748
+ filters?: string;
3736
3749
  conditions: CourierPartnerRuleConditions;
3737
3750
  /**
3738
3751
  * - Sort Strategy for the courier partners.
@@ -5428,7 +5441,7 @@ type PlatformLocationArticles = {
5428
5441
  * - Unique identifier for the
5429
5442
  * fulfillment location.
5430
5443
  */
5431
- fulfillment_location_id?: number;
5444
+ fulfillment_location_id: number;
5432
5445
  /**
5433
5446
  * - Tags associated with the
5434
5447
  * fulfillment location.
@@ -5569,6 +5582,15 @@ type PlatformShipmentsSchema = {
5569
5582
  * partners handling the shipment.
5570
5583
  */
5571
5584
  courier_partners?: ShipmentsCourierPartner[];
5585
+ /**
5586
+ * - The number of items in the shipment.
5587
+ */
5588
+ count?: number;
5589
+ /**
5590
+ * - Flag indicating whether Cash on
5591
+ * Delivery (COD) is available for the shipment.
5592
+ */
5593
+ is_cod_available?: boolean;
5572
5594
  };
5573
5595
  /** @returns {Packaging} */
5574
5596
  declare function Packaging(): Packaging;
@@ -6341,7 +6363,7 @@ type Page = {
6341
6363
  */
6342
6364
  current?: number;
6343
6365
  /**
6344
- * - The type of the page, such as 'PageType'.
6366
+ * - The type of the page, can be 'cursor' or 'number'.
6345
6367
  */
6346
6368
  type: string;
6347
6369
  /**
@@ -6507,8 +6529,8 @@ type ListViewItems = {
6507
6529
  * - The unique identifier of the application.
6508
6530
  */
6509
6531
  application_id: string;
6510
- created_by: CreatedBy;
6511
- modified_by: ModifiedBy;
6532
+ created_by?: CreatedBy;
6533
+ modified_by?: ModifiedBy;
6512
6534
  /**
6513
6535
  * - The timestamp when the record was created.
6514
6536
  */
@@ -6913,7 +6935,7 @@ type CourierPartnerRuleConditions = {
6913
6935
  zone_ids?: StringComparisonOperations;
6914
6936
  department_ids?: IntComparisonOperations;
6915
6937
  brand_ids?: IntComparisonOperations;
6916
- order_place_date?: ArithmeticOperations;
6938
+ order_place_date?: DateOperations;
6917
6939
  store_ids?: IntComparisonOperations;
6918
6940
  store_type?: StringComparisonOperations;
6919
6941
  store_tags?: StringComparisonOperations;
@@ -6988,6 +7010,18 @@ type IntComparisonOperations = {
6988
7010
  */
6989
7011
  includes?: number[];
6990
7012
  };
7013
+ /** @returns {DateOperations} */
7014
+ declare function DateOperations(): DateOperations;
7015
+ type DateOperations = {
7016
+ /**
7017
+ * - Less than or equal to condition for date.
7018
+ */
7019
+ lte: string;
7020
+ /**
7021
+ * - Greater than or equal to condition for date.
7022
+ */
7023
+ gte: string;
7024
+ };
6991
7025
  /** @returns {ArithmeticOperations} */
6992
7026
  declare function ArithmeticOperations(): ArithmeticOperations;
6993
7027
  type ArithmeticOperations = {
@@ -7633,26 +7667,6 @@ type CustomerRadiusSchema = {
7633
7667
  */
7634
7668
  gte?: number;
7635
7669
  };
7636
- /** @returns {DateOperations} */
7637
- declare function DateOperations(): DateOperations;
7638
- type DateOperations = {
7639
- /**
7640
- * - Less than condition for date.
7641
- */
7642
- lt?: string;
7643
- /**
7644
- * - Greater than condition for date.
7645
- */
7646
- gt?: string;
7647
- /**
7648
- * - Less than or equal to condition for date.
7649
- */
7650
- lte?: string;
7651
- /**
7652
- * - Greater than or equal to condition for date.
7653
- */
7654
- gte?: string;
7655
- };
7656
7670
  /** @returns {CourierPartnerSchemeModel} */
7657
7671
  declare function CourierPartnerSchemeModel(): CourierPartnerSchemeModel;
7658
7672
  type CourierPartnerSchemeModel = {
@@ -8286,6 +8300,10 @@ type CountryMetaFields = {
8286
8300
  /** @returns {ApplicationFields} */
8287
8301
  declare function ApplicationFields(): ApplicationFields;
8288
8302
  type ApplicationFields = {
8303
+ /**
8304
+ * - List of address-related
8305
+ * fields for the application.
8306
+ */
8289
8307
  address?: GetCountryFieldsAddress[];
8290
8308
  /**
8291
8309
  * - An array of strings
@@ -35,7 +35,8 @@ const Joi = require("joi");
35
35
  * @property {boolean} [is_default] - Whether this is the default fulfillment option.
36
36
  * @property {string} [type] - Type of fulfillment option.
37
37
  * @property {string} [status] - Status of the fulfillment option.
38
- * @property {BusinessUnit[]} [business_unit]
38
+ * @property {BusinessUnit[]} [business_unit] - Name of the ordering-channel or
39
+ * business, e.g. storefront, storeos.
39
40
  * @property {FulfillmentStores} [fulfillment_stores]
40
41
  * @property {FulfillmentProducts} [products]
41
42
  * @property {CourierPartnerSchemes} [cp_schemes]
@@ -298,14 +299,14 @@ const Joi = require("joi");
298
299
  * @typedef PincodeMopBulkError
299
300
  * @property {string} [batch_id] - A unique identifier for the performed batch operation.
300
301
  * @property {number} [status_code] - Status code for the error.
301
- * @property {Object} [error]
302
+ * @property {Error[]} [error] - An array containing error details.
302
303
  * @property {boolean} [success] - Whether operation was successful.
303
304
  */
304
305
 
305
306
  /**
306
307
  * @typedef CommonError
307
308
  * @property {number} [status_code] - Status code for the error.
308
- * @property {Object} [error]
309
+ * @property {Error[]} [error] - An array containing error details.
309
310
  * @property {boolean} [success] - Whether operation was successful.
310
311
  */
311
312
 
@@ -545,8 +546,8 @@ const Joi = require("joi");
545
546
  * @property {string} name - Name for the courier partner rule.
546
547
  * @property {string[]} manual_priority - Has the list of courier partner
547
548
  * account Ids that are to be given priority.
548
- * @property {string} filters - Denotes weather specific filters are applied to
549
- * courier partner accounts or all accounts are considered.
549
+ * @property {string} [filters] - Denotes weather specific filters are applied
550
+ * to courier partner accounts or all accounts are considered.
550
551
  * @property {CourierPartnerRuleConditions} conditions
551
552
  * @property {string[]} sort - Sort Strategy for the courier partners.
552
553
  * @property {string} [type] - Denotes the type of the rule.
@@ -1302,7 +1303,7 @@ const Joi = require("joi");
1302
1303
  * @typedef PlatformLocationArticles
1303
1304
  * @property {PlatformLocationArticle[]} articles - List of articles for this
1304
1305
  * fulfillment location.
1305
- * @property {number} [fulfillment_location_id] - Unique identifier for the
1306
+ * @property {number} fulfillment_location_id - Unique identifier for the
1306
1307
  * fulfillment location.
1307
1308
  * @property {string[]} [fulfillment_tags] - Tags associated with the
1308
1309
  * fulfillment location.
@@ -1360,6 +1361,9 @@ const Joi = require("joi");
1360
1361
  * fulfillment location.
1361
1362
  * @property {ShipmentsCourierPartner[]} [courier_partners] - List of courier
1362
1363
  * partners handling the shipment.
1364
+ * @property {number} [count] - The number of items in the shipment.
1365
+ * @property {boolean} [is_cod_available] - Flag indicating whether Cash on
1366
+ * Delivery (COD) is available for the shipment.
1363
1367
  */
1364
1368
 
1365
1369
  /**
@@ -1678,7 +1682,7 @@ const Joi = require("joi");
1678
1682
  * @property {boolean} [has_previous] - Indicates whether there is a previous page.
1679
1683
  * @property {boolean} [has_next] - Indicates whether there is a next page.
1680
1684
  * @property {number} [current] - The current page number.
1681
- * @property {string} type - The type of the page, such as 'PageType'.
1685
+ * @property {string} type - The type of the page, can be 'cursor' or 'number'.
1682
1686
  * @property {number} [size] - The number of items per page.
1683
1687
  * @property {number} [page_size] - The number of items per page.
1684
1688
  */
@@ -1749,8 +1753,8 @@ const Joi = require("joi");
1749
1753
  * @property {ListViewProduct} product
1750
1754
  * @property {number} company_id - The unique identifier of the company.
1751
1755
  * @property {string} application_id - The unique identifier of the application.
1752
- * @property {CreatedBy} created_by
1753
- * @property {ModifiedBy} modified_by
1756
+ * @property {CreatedBy} [created_by]
1757
+ * @property {ModifiedBy} [modified_by]
1754
1758
  * @property {string} created_on - The timestamp when the record was created.
1755
1759
  * @property {string} modified_on - The timestamp when the record last modified.
1756
1760
  * @property {string} [stage] - Current stage of the zone.
@@ -1927,7 +1931,7 @@ const Joi = require("joi");
1927
1931
  * @property {StringComparisonOperations} [zone_ids]
1928
1932
  * @property {IntComparisonOperations} [department_ids]
1929
1933
  * @property {IntComparisonOperations} [brand_ids]
1930
- * @property {ArithmeticOperations} [order_place_date]
1934
+ * @property {DateOperations} [order_place_date]
1931
1935
  * @property {IntComparisonOperations} [store_ids]
1932
1936
  * @property {StringComparisonOperations} [store_type]
1933
1937
  * @property {StringComparisonOperations} [store_tags]
@@ -1970,6 +1974,12 @@ const Joi = require("joi");
1970
1974
  * the comparison.
1971
1975
  */
1972
1976
 
1977
+ /**
1978
+ * @typedef DateOperations
1979
+ * @property {string} lte - Less than or equal to condition for date.
1980
+ * @property {string} gte - Greater than or equal to condition for date.
1981
+ */
1982
+
1973
1983
  /**
1974
1984
  * @typedef ArithmeticOperations
1975
1985
  * @property {number} [lt] - Specifies a less than operation, comparing values
@@ -2276,14 +2286,6 @@ const Joi = require("joi");
2276
2286
  * @property {number} [gte] - The greater-than-or-equal comparison value for the radius.
2277
2287
  */
2278
2288
 
2279
- /**
2280
- * @typedef DateOperations
2281
- * @property {string} [lt] - Less than condition for date.
2282
- * @property {string} [gt] - Greater than condition for date.
2283
- * @property {string} [lte] - Less than or equal to condition for date.
2284
- * @property {string} [gte] - Greater than or equal to condition for date.
2285
- */
2286
-
2287
2289
  /**
2288
2290
  * @typedef CourierPartnerSchemeModel
2289
2291
  * @property {string} extension_id - Unique identifier of courier partner extension.
@@ -2556,7 +2558,8 @@ const Joi = require("joi");
2556
2558
 
2557
2559
  /**
2558
2560
  * @typedef ApplicationFields
2559
- * @property {GetCountryFieldsAddress[]} [address]
2561
+ * @property {GetCountryFieldsAddress[]} [address] - List of address-related
2562
+ * fields for the application.
2560
2563
  * @property {string[]} [serviceability_fields] - An array of strings
2561
2564
  * representing fields related to the serviceability of the country.
2562
2565
  * @property {GetCountryFieldsAddressTemplateApplication} [address_template]
@@ -3088,7 +3091,7 @@ class ServiceabilityPlatformModel {
3088
3091
  return Joi.object({
3089
3092
  batch_id: Joi.string().allow(""),
3090
3093
  status_code: Joi.number(),
3091
- error: Joi.any(),
3094
+ error: Joi.array().items(ServiceabilityPlatformModel.Error()),
3092
3095
  success: Joi.boolean(),
3093
3096
  });
3094
3097
  }
@@ -3097,7 +3100,7 @@ class ServiceabilityPlatformModel {
3097
3100
  static CommonError() {
3098
3101
  return Joi.object({
3099
3102
  status_code: Joi.number(),
3100
- error: Joi.any(),
3103
+ error: Joi.array().items(ServiceabilityPlatformModel.Error()),
3101
3104
  success: Joi.boolean(),
3102
3105
  });
3103
3106
  }
@@ -3336,7 +3339,7 @@ class ServiceabilityPlatformModel {
3336
3339
  application_id: Joi.string().allow(""),
3337
3340
  company_id: Joi.number(),
3338
3341
  manual_priority: Joi.array().items(Joi.string().allow("")),
3339
- filters: Joi.string().allow(""),
3342
+ filters: Joi.string().allow("").allow(null),
3340
3343
  conditions: ServiceabilityPlatformModel.CourierPartnerRuleConditions(),
3341
3344
  sort: Joi.array().items(Joi.string().allow("")),
3342
3345
  created_by: ServiceabilityPlatformModel.CreatedBy(),
@@ -3360,7 +3363,7 @@ class ServiceabilityPlatformModel {
3360
3363
  ),
3361
3364
  name: Joi.string().allow("").required(),
3362
3365
  manual_priority: Joi.array().items(Joi.string().allow("")).required(),
3363
- filters: Joi.string().allow("").required(),
3366
+ filters: Joi.string().allow("").allow(null),
3364
3367
  conditions: ServiceabilityPlatformModel.CourierPartnerRuleConditions().required(),
3365
3368
  sort: Joi.array().items(Joi.string().allow("")).required(),
3366
3369
  type: Joi.string().allow(""),
@@ -3504,7 +3507,7 @@ class ServiceabilityPlatformModel {
3504
3507
  manual_priority: Joi.array().items(Joi.number()),
3505
3508
  meta_sort_priority: Joi.object().pattern(/\S/, Joi.any()),
3506
3509
  meta_conditions: Joi.object().pattern(/\S/, Joi.any()),
3507
- filters: Joi.string().allow(""),
3510
+ filters: Joi.string().allow("").allow(null),
3508
3511
  company_id: Joi.number(),
3509
3512
  application_id: Joi.string().allow(""),
3510
3513
  type_based_priority: Joi.array().items(Joi.string().allow("")),
@@ -3535,7 +3538,7 @@ class ServiceabilityPlatformModel {
3535
3538
  manual_priority: Joi.array().items(Joi.number()),
3536
3539
  meta_sort_priority: Joi.object().pattern(/\S/, Joi.any()),
3537
3540
  meta_conditions: Joi.object().pattern(/\S/, Joi.any()),
3538
- filters: Joi.string().allow(""),
3541
+ filters: Joi.string().allow("").allow(null),
3539
3542
  is_active: Joi.boolean(),
3540
3543
  conditions: ServiceabilityPlatformModel.StoreRuleConditionSchema(),
3541
3544
  type_based_priority: Joi.array().items(Joi.string().allow("")),
@@ -3555,7 +3558,7 @@ class ServiceabilityPlatformModel {
3555
3558
  manual_priority: Joi.array().items(Joi.number()),
3556
3559
  meta_sort_priority: Joi.object().pattern(/\S/, Joi.any()),
3557
3560
  meta_conditions: Joi.object().pattern(/\S/, Joi.any()),
3558
- filters: Joi.string().allow(""),
3561
+ filters: Joi.string().allow("").allow(null),
3559
3562
  type: Joi.string().allow(""),
3560
3563
  type_based_priority: Joi.array().items(Joi.string().allow("")),
3561
3564
  tag_based_priority: Joi.array().items(Joi.string().allow("")),
@@ -3576,7 +3579,7 @@ class ServiceabilityPlatformModel {
3576
3579
  manual_priority: Joi.array().items(Joi.number()),
3577
3580
  meta_sort_priority: Joi.object().pattern(/\S/, Joi.any()),
3578
3581
  meta_conditions: Joi.object().pattern(/\S/, Joi.any()),
3579
- filters: Joi.string().allow(""),
3582
+ filters: Joi.string().allow("").allow(null),
3580
3583
  type: Joi.string().allow(""),
3581
3584
  type_based_priority: Joi.array().items(Joi.string().allow("")),
3582
3585
  tag_based_priority: Joi.array().items(Joi.string().allow("")),
@@ -4137,7 +4140,7 @@ class ServiceabilityPlatformModel {
4137
4140
  articles: Joi.array()
4138
4141
  .items(ServiceabilityPlatformModel.PlatformLocationArticle())
4139
4142
  .required(),
4140
- fulfillment_location_id: Joi.number(),
4143
+ fulfillment_location_id: Joi.number().required(),
4141
4144
  fulfillment_tags: Joi.array().items(Joi.string().allow("")),
4142
4145
  fulfillment_type: Joi.string().allow("").required(),
4143
4146
  });
@@ -4198,6 +4201,8 @@ class ServiceabilityPlatformModel {
4198
4201
  courier_partners: Joi.array().items(
4199
4202
  ServiceabilityPlatformModel.ShipmentsCourierPartner()
4200
4203
  ),
4204
+ count: Joi.number(),
4205
+ is_cod_available: Joi.boolean(),
4201
4206
  });
4202
4207
  }
4203
4208
 
@@ -4540,7 +4545,7 @@ class ServiceabilityPlatformModel {
4540
4545
  is_set: Joi.boolean(),
4541
4546
  track_inventory: Joi.boolean(),
4542
4547
  identifiers: Joi.array().items(ServiceabilityPlatformModel.Identifier()),
4543
- _custom_json: Joi.any(),
4548
+ _custom_json: Joi.object().pattern(/\S/, Joi.any()),
4544
4549
  });
4545
4550
  }
4546
4551
 
@@ -4646,8 +4651,8 @@ class ServiceabilityPlatformModel {
4646
4651
  product: ServiceabilityPlatformModel.ListViewProduct().required(),
4647
4652
  company_id: Joi.number().required(),
4648
4653
  application_id: Joi.string().allow("").required(),
4649
- created_by: ServiceabilityPlatformModel.CreatedBy().required(),
4650
- modified_by: ServiceabilityPlatformModel.ModifiedBy().required(),
4654
+ created_by: ServiceabilityPlatformModel.CreatedBy(),
4655
+ modified_by: ServiceabilityPlatformModel.ModifiedBy(),
4651
4656
  created_on: Joi.string().allow("").required(),
4652
4657
  modified_on: Joi.string().allow("").required(),
4653
4658
  stage: Joi.string().allow(""),
@@ -4859,7 +4864,7 @@ class ServiceabilityPlatformModel {
4859
4864
  zone_ids: ServiceabilityPlatformModel.StringComparisonOperations(),
4860
4865
  department_ids: ServiceabilityPlatformModel.IntComparisonOperations(),
4861
4866
  brand_ids: ServiceabilityPlatformModel.IntComparisonOperations(),
4862
- order_place_date: ServiceabilityPlatformModel.ArithmeticOperations(),
4867
+ order_place_date: ServiceabilityPlatformModel.DateOperations(),
4863
4868
  store_ids: ServiceabilityPlatformModel.IntComparisonOperations(),
4864
4869
  store_type: ServiceabilityPlatformModel.StringComparisonOperations(),
4865
4870
  store_tags: ServiceabilityPlatformModel.StringComparisonOperations(),
@@ -4907,6 +4912,14 @@ class ServiceabilityPlatformModel {
4907
4912
  });
4908
4913
  }
4909
4914
 
4915
+ /** @returns {DateOperations} */
4916
+ static DateOperations() {
4917
+ return Joi.object({
4918
+ lte: Joi.string().allow("").required(),
4919
+ gte: Joi.string().allow("").required(),
4920
+ });
4921
+ }
4922
+
4910
4923
  /** @returns {ArithmeticOperations} */
4911
4924
  static ArithmeticOperations() {
4912
4925
  return Joi.object({
@@ -5220,16 +5233,6 @@ class ServiceabilityPlatformModel {
5220
5233
  });
5221
5234
  }
5222
5235
 
5223
- /** @returns {DateOperations} */
5224
- static DateOperations() {
5225
- return Joi.object({
5226
- lt: Joi.string().allow("").allow(null),
5227
- gt: Joi.string().allow("").allow(null),
5228
- lte: Joi.string().allow("").allow(null),
5229
- gte: Joi.string().allow("").allow(null),
5230
- });
5231
- }
5232
-
5233
5236
  /** @returns {CourierPartnerSchemeModel} */
5234
5237
  static CourierPartnerSchemeModel() {
5235
5238
  return Joi.object({
@@ -104,7 +104,7 @@ export = SharePlatformModel;
104
104
  * @property {boolean} [has_previous] - Indicates whether there is a previous page.
105
105
  * @property {boolean} [has_next] - Indicates whether there is a next page.
106
106
  * @property {number} [current] - The current page number.
107
- * @property {string} type - The type of the page, such as 'PageType'.
107
+ * @property {string} type - The type of the page, can be 'cursor' or 'number'.
108
108
  * @property {number} [size] - The number of items per page.
109
109
  * @property {number} [page_size] - The number of items per page.
110
110
  */
@@ -283,7 +283,7 @@ type Page = {
283
283
  */
284
284
  current?: number;
285
285
  /**
286
- * - The type of the page, such as 'PageType'.
286
+ * - The type of the page, can be 'cursor' or 'number'.
287
287
  */
288
288
  type: string;
289
289
  /**
@@ -117,7 +117,7 @@ const Joi = require("joi");
117
117
  * @property {boolean} [has_previous] - Indicates whether there is a previous page.
118
118
  * @property {boolean} [has_next] - Indicates whether there is a next page.
119
119
  * @property {number} [current] - The current page number.
120
- * @property {string} type - The type of the page, such as 'PageType'.
120
+ * @property {string} type - The type of the page, can be 'cursor' or 'number'.
121
121
  * @property {number} [size] - The number of items per page.
122
122
  * @property {number} [page_size] - The number of items per page.
123
123
  */
@@ -6,7 +6,7 @@ export = WebhookPlatformModel;
6
6
  * @property {boolean} [has_previous] - Indicates whether there is a previous page.
7
7
  * @property {boolean} [has_next] - Indicates whether there is a next page.
8
8
  * @property {number} [current] - The current page number.
9
- * @property {string} type - The type of the page, such as 'PageType'.
9
+ * @property {string} type - The type of the page, can be 'cursor' or 'number'.
10
10
  * @property {number} [size] - The number of items per page.
11
11
  * @property {number} [page_size] - The number of items per page.
12
12
  */
@@ -343,7 +343,7 @@ type Page = {
343
343
  */
344
344
  current?: number;
345
345
  /**
346
- * - The type of the page, such as 'PageType'.
346
+ * - The type of the page, can be 'cursor' or 'number'.
347
347
  */
348
348
  type: string;
349
349
  /**
@@ -7,7 +7,7 @@ const Joi = require("joi");
7
7
  * @property {boolean} [has_previous] - Indicates whether there is a previous page.
8
8
  * @property {boolean} [has_next] - Indicates whether there is a next page.
9
9
  * @property {number} [current] - The current page number.
10
- * @property {string} type - The type of the page, such as 'PageType'.
10
+ * @property {string} type - The type of the page, can be 'cursor' or 'number'.
11
11
  * @property {number} [size] - The number of items per page.
12
12
  * @property {number} [page_size] - The number of items per page.
13
13
  */