@gofynd/fdk-client-javascript 3.3.5 → 3.3.6

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 (158) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +30 -30
  4. package/sdk/application/Cart/CartApplicationClient.js +30 -30
  5. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +30 -30
  6. package/sdk/application/Catalog/CatalogApplicationClient.js +30 -30
  7. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  8. package/sdk/application/Common/CommonApplicationClient.js +2 -2
  9. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
  10. package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
  11. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +16 -16
  12. package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -16
  13. package/sdk/application/Content/ContentApplicationClient.d.ts +24 -24
  14. package/sdk/application/Content/ContentApplicationClient.js +24 -24
  15. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
  17. package/sdk/application/Finance/FinanceApplicationClient.d.ts +2 -2
  18. package/sdk/application/Finance/FinanceApplicationClient.js +2 -2
  19. package/sdk/application/Lead/LeadApplicationClient.d.ts +5 -5
  20. package/sdk/application/Lead/LeadApplicationClient.js +5 -5
  21. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +9 -9
  22. package/sdk/application/Logistic/LogisticApplicationClient.js +9 -9
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +12 -12
  24. package/sdk/application/Order/OrderApplicationClient.js +12 -12
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -46
  26. package/sdk/application/Payment/PaymentApplicationClient.js +46 -46
  27. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +7 -7
  28. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  29. package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
  30. package/sdk/application/Share/ShareApplicationClient.js +7 -7
  31. package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
  32. package/sdk/application/Theme/ThemeApplicationClient.js +4 -4
  33. package/sdk/application/User/UserApplicationClient.d.ts +47 -47
  34. package/sdk/application/User/UserApplicationClient.js +47 -47
  35. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
  36. package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
  37. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +6 -6
  38. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +6 -6
  39. package/sdk/partner/Lead/LeadPartnerClient.d.ts +7 -7
  40. package/sdk/partner/Lead/LeadPartnerClient.js +7 -7
  41. package/sdk/partner/Lead/LeadPartnerModel.d.ts +2 -2
  42. package/sdk/partner/Lead/LeadPartnerModel.js +1 -1
  43. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +25 -25
  44. package/sdk/partner/Logistics/LogisticsPartnerClient.js +25 -25
  45. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +2 -2
  46. package/sdk/partner/Logistics/LogisticsPartnerModel.js +1 -1
  47. package/sdk/partner/Theme/ThemePartnerClient.d.ts +24 -24
  48. package/sdk/partner/Theme/ThemePartnerClient.js +24 -24
  49. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +10 -10
  50. package/sdk/partner/Webhook/WebhookPartnerClient.js +10 -10
  51. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +2 -2
  52. package/sdk/partner/Webhook/WebhookPartnerModel.js +1 -1
  53. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +3 -3
  54. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +3 -3
  55. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +2 -2
  56. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
  57. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +1 -1
  58. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +1 -1
  59. package/sdk/platform/Billing/BillingPlatformClient.d.ts +5 -5
  60. package/sdk/platform/Billing/BillingPlatformClient.js +5 -5
  61. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +62 -62
  62. package/sdk/platform/Cart/CartPlatformApplicationClient.js +62 -62
  63. package/sdk/platform/Cart/CartPlatformModel.d.ts +41 -3
  64. package/sdk/platform/Cart/CartPlatformModel.js +24 -1
  65. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +66 -66
  66. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +66 -66
  67. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +77 -77
  68. package/sdk/platform/Catalog/CatalogPlatformClient.js +77 -77
  69. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +56 -3
  70. package/sdk/platform/Catalog/CatalogPlatformModel.js +40 -1
  71. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +2 -2
  72. package/sdk/platform/Catalog/CatalogPlatformValidator.js +2 -2
  73. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
  74. package/sdk/platform/Common/CommonPlatformClient.js +2 -2
  75. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +67 -67
  76. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +67 -67
  77. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
  78. package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
  79. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +2 -2
  80. package/sdk/platform/Communication/CommunicationPlatformModel.js +1 -1
  81. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +14 -14
  82. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +14 -14
  83. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -2
  84. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +1 -1
  85. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +32 -32
  86. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +32 -32
  87. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +11 -11
  88. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +11 -11
  89. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2 -2
  90. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1 -1
  91. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +107 -107
  92. package/sdk/platform/Content/ContentPlatformApplicationClient.js +107 -107
  93. package/sdk/platform/Content/ContentPlatformClient.d.ts +40 -40
  94. package/sdk/platform/Content/ContentPlatformClient.js +40 -40
  95. package/sdk/platform/Content/ContentPlatformModel.d.ts +2 -2
  96. package/sdk/platform/Content/ContentPlatformModel.js +1 -1
  97. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +11 -11
  98. package/sdk/platform/Discount/DiscountPlatformClient.js +11 -11
  99. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +2 -2
  100. package/sdk/platform/Discount/DiscountPlatformModel.js +1 -1
  101. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -4
  102. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -4
  103. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +6 -6
  104. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +6 -6
  105. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
  106. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
  107. package/sdk/platform/Lead/LeadPlatformClient.d.ts +9 -9
  108. package/sdk/platform/Lead/LeadPlatformClient.js +9 -9
  109. package/sdk/platform/Lead/LeadPlatformModel.d.ts +2 -2
  110. package/sdk/platform/Lead/LeadPlatformModel.js +1 -1
  111. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +5 -5
  112. package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -5
  113. package/sdk/platform/Order/OrderPlatformClient.d.ts +58 -58
  114. package/sdk/platform/Order/OrderPlatformClient.js +58 -58
  115. package/sdk/platform/Order/OrderPlatformModel.d.ts +9 -9
  116. package/sdk/platform/Order/OrderPlatformModel.js +6 -6
  117. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +2 -2
  118. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +2 -2
  119. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +51 -51
  120. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +51 -51
  121. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +10 -10
  122. package/sdk/platform/Payment/PaymentPlatformClient.js +10 -10
  123. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2 -2
  124. package/sdk/platform/Payment/PaymentPlatformModel.js +1 -1
  125. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +12 -12
  126. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
  127. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +2 -2
  128. package/sdk/platform/Rewards/RewardsPlatformModel.js +1 -1
  129. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +38 -38
  130. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -38
  131. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +28 -28
  132. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +28 -28
  133. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2 -2
  134. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1 -1
  135. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
  136. package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
  137. package/sdk/platform/Share/SharePlatformModel.d.ts +2 -2
  138. package/sdk/platform/Share/SharePlatformModel.js +1 -1
  139. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +22 -22
  140. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +22 -22
  141. package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
  142. package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
  143. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +34 -34
  144. package/sdk/platform/User/UserPlatformApplicationClient.js +34 -34
  145. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +9 -9
  146. package/sdk/platform/Webhook/WebhookPlatformClient.js +9 -9
  147. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
  148. package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
  149. package/sdk/public/Catalog/CatalogPublicClient.d.ts +1 -1
  150. package/sdk/public/Catalog/CatalogPublicClient.js +1 -1
  151. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
  152. package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
  153. package/sdk/public/Content/ContentPublicClient.d.ts +14 -14
  154. package/sdk/public/Content/ContentPublicClient.js +14 -14
  155. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  156. package/sdk/public/Partner/PartnerPublicClient.js +1 -1
  157. package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -5
  158. package/sdk/public/Webhook/WebhookPublicClient.js +5 -5
@@ -21,7 +21,7 @@ class Payment {
21
21
  * @returns {Promise<PaymentPlatformModel.UpdatePayoutDetails>} - Success response
22
22
  * @name activateAndDectivatePayout
23
23
  * @summary: Activate/Deactivate payout
24
- * @description: Enable or disable payout functionality. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/activateAndDectivatePayout/).
24
+ * @description: Enable or disable payout functionality. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/activateAndDectivatePayout/).
25
25
  */
26
26
  async activateAndDectivatePayout(
27
27
  { uniqueTransferNo, body, requestHeaders } = { requestHeaders: {} },
@@ -104,7 +104,7 @@ class Payment {
104
104
  * @returns {Promise<PaymentPlatformModel.DeletePayoutDetails>} - Success response
105
105
  * @name deletePayout
106
106
  * @summary: Delete payout
107
- * @description: Remove a payout transaction from the system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/deletePayout/).
107
+ * @description: Remove a payout transaction from the system. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/deletePayout/).
108
108
  */
109
109
  async deletePayout(
110
110
  { uniqueTransferNo, requestHeaders } = { requestHeaders: {} },
@@ -187,7 +187,7 @@ class Payment {
187
187
  *
188
188
  * @name deleteSubscriptionPaymentMethod
189
189
  * @summary: Delete subscription payment method
190
- * @description: Remove a payment method from subscription options. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/deleteSubscriptionPaymentMethod/).
190
+ * @description: Remove a payment method from subscription options. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/deleteSubscriptionPaymentMethod/).
191
191
  */
192
192
  async deleteSubscriptionPaymentMethod(
193
193
  { uniqueExternalId, paymentMethodId, requestHeaders } = {
@@ -274,7 +274,7 @@ class Payment {
274
274
  * @returns {Promise<PaymentPlatformModel.PayoutsDetails>} - Success response
275
275
  * @name getAllPayouts
276
276
  * @summary: List payouts
277
- * @description: Retrieve a list of all payout transactions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getAllPayouts/).
277
+ * @description: Retrieve a list of all payout transactions. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/getAllPayouts/).
278
278
  */
279
279
  async getAllPayouts(
280
280
  { uniqueExternalId, requestHeaders } = { requestHeaders: {} },
@@ -355,7 +355,7 @@ class Payment {
355
355
  * Success response
356
356
  * @name getSubscriptionConfig
357
357
  * @summary: Get subscription config
358
- * @description: Retrieve configuration settings for subscriptions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getSubscriptionConfig/).
358
+ * @description: Retrieve configuration settings for subscriptions. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/getSubscriptionConfig/).
359
359
  */
360
360
  async getSubscriptionConfig(
361
361
  { requestHeaders } = { requestHeaders: {} },
@@ -434,7 +434,7 @@ class Payment {
434
434
  *
435
435
  * @name getSubscriptionPaymentMethod
436
436
  * @summary: Get subscription payment method
437
- * @description: Retrieve payment methods for subscriptions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/getSubscriptionPaymentMethod/).
437
+ * @description: Retrieve payment methods for subscriptions. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/getSubscriptionPaymentMethod/).
438
438
  */
439
439
  async getSubscriptionPaymentMethod(
440
440
  { uniqueExternalId, requestHeaders } = { requestHeaders: {} },
@@ -516,7 +516,7 @@ class Payment {
516
516
  * @returns {Promise<PaymentPlatformModel.PayoutDetails>} - Success response
517
517
  * @name savePayout
518
518
  * @summary: Save payout
519
- * @description: Store and process a payout transaction. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/savePayout/).
519
+ * @description: Store and process a payout transaction. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/savePayout/).
520
520
  */
521
521
  async savePayout(
522
522
  { body, requestHeaders } = { requestHeaders: {} },
@@ -595,7 +595,7 @@ class Payment {
595
595
  *
596
596
  * @name saveSubscriptionSetupIntent
597
597
  * @summary: Save subscription setup intent
598
- * @description: Store and process setup intent for subscriptions. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/saveSubscriptionSetupIntent/).
598
+ * @description: Store and process setup intent for subscriptions. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/saveSubscriptionSetupIntent/).
599
599
  */
600
600
  async saveSubscriptionSetupIntent(
601
601
  { body, requestHeaders } = { requestHeaders: {} },
@@ -676,7 +676,7 @@ class Payment {
676
676
  * @returns {Promise<PaymentPlatformModel.UpdatePayoutDetails>} - Success response
677
677
  * @name updatePayout
678
678
  * @summary: Update payout
679
- * @description: Modify the details of a payout transaction. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/updatePayout/).
679
+ * @description: Modify the details of a payout transaction. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/updatePayout/).
680
680
  */
681
681
  async updatePayout(
682
682
  { uniqueTransferNo, body, requestHeaders } = { requestHeaders: {} },
@@ -757,7 +757,7 @@ class Payment {
757
757
  * @returns {Promise<PaymentPlatformModel.IfscCodeDetails>} - Success response
758
758
  * @name verifyIfscCode
759
759
  * @summary: Verify IFSC code
760
- * @description: Checks the validity of the provided IFSC code and returns bank details if valid. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/payment/verifyIfscCode/).
760
+ * @description: Checks the validity of the provided IFSC code and returns bank details if valid. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/payment/verifyIfscCode/).
761
761
  */
762
762
  async verifyIfscCode(
763
763
  { ifscCode, requestHeaders } = { requestHeaders: {} },
@@ -544,7 +544,7 @@ export = PaymentPlatformModel;
544
544
  */
545
545
  /**
546
546
  * @typedef Page
547
- * @property {number} [item_total] - The total number of items on the page.
547
+ * @property {number} [item_total] - The total number of all items across all pages.
548
548
  * @property {string} [next_id] - The identifier for the next page.
549
549
  * @property {boolean} [has_previous] - Indicates whether there is a previous page.
550
550
  * @property {boolean} [has_next] - Indicates whether there is a next page.
@@ -2718,7 +2718,7 @@ type EdcDeviceUpdateDetails = {
2718
2718
  declare function Page(): Page;
2719
2719
  type Page = {
2720
2720
  /**
2721
- * - The total number of items on the page.
2721
+ * - The total number of all items across all pages.
2722
2722
  */
2723
2723
  item_total?: number;
2724
2724
  /**
@@ -614,7 +614,7 @@ const Joi = require("joi");
614
614
 
615
615
  /**
616
616
  * @typedef Page
617
- * @property {number} [item_total] - The total number of items on the page.
617
+ * @property {number} [item_total] - The total number of all items across all pages.
618
618
  * @property {string} [next_id] - The identifier for the next page.
619
619
  * @property {boolean} [has_previous] - Indicates whether there is a previous page.
620
620
  * @property {boolean} [has_next] - Indicates whether there is a next page.
@@ -10,7 +10,7 @@ declare class Rewards {
10
10
  * @returns {Promise<RewardsPlatformModel.Giveaway>} - Success response
11
11
  * @name getGiveawayById
12
12
  * @summary: Get a giveaway
13
- * @description: Retrieve specific giveaway details by its unique identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/getGiveawayById/).
13
+ * @description: Retrieve specific giveaway details by its unique identifier. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/getGiveawayById/).
14
14
  */
15
15
  getGiveawayById({ id, requestHeaders }?: RewardsPlatformApplicationValidator.GetGiveawayByIdParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.Giveaway>;
16
16
  /**
@@ -20,7 +20,7 @@ declare class Rewards {
20
20
  * @returns {Promise<RewardsPlatformModel.Offer>} - Success response
21
21
  * @name getOfferByName
22
22
  * @summary: Get offer by name
23
- * @description: Retrieve an offer by its name. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/getOfferByName/).
23
+ * @description: Retrieve an offer by its name. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/getOfferByName/).
24
24
  */
25
25
  getOfferByName({ name, requestHeaders }?: RewardsPlatformApplicationValidator.GetOfferByNameParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.Offer>;
26
26
  /**
@@ -32,7 +32,7 @@ declare class Rewards {
32
32
  * @returns {Promise<RewardsPlatformModel.ConfigurationRes>} - Success response
33
33
  * @name getRewardsConfiguration
34
34
  * @summary: Get rewards configuration
35
- * @description: Retrieve the configuration settings for the rewards program. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/getRewardsConfiguration/).
35
+ * @description: Retrieve the configuration settings for the rewards program. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/getRewardsConfiguration/).
36
36
  */
37
37
  getRewardsConfiguration({ requestHeaders }?: any, { responseHeaders }?: object): Promise<RewardsPlatformModel.ConfigurationRes>;
38
38
  /**
@@ -42,7 +42,7 @@ declare class Rewards {
42
42
  * @returns {Promise<RewardsPlatformModel.UserRes>} - Success response
43
43
  * @name getUserDetails
44
44
  * @summary: Get a user
45
- * @description: Retrieve comprehensive details about a user in the rewards program. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/getUserDetails/).
45
+ * @description: Retrieve comprehensive details about a user in the rewards program. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/getUserDetails/).
46
46
  */
47
47
  getUserDetails({ userId, requestHeaders }?: RewardsPlatformApplicationValidator.GetUserDetailsParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.UserRes>;
48
48
  /**
@@ -54,7 +54,7 @@ declare class Rewards {
54
54
  * @returns {Promise<RewardsPlatformModel.HistoryRes>} - Success response
55
55
  * @name getUserPointsHistory
56
56
  * @summary: Get reward user points history
57
- * @description: Retrieve the history of points earned and redeemed by a user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/getUserPointsHistory/).
57
+ * @description: Retrieve the history of points earned and redeemed by a user. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/getUserPointsHistory/).
58
58
  */
59
59
  getUserPointsHistory({ userId, pageId, pageSize, requestHeaders }?: RewardsPlatformApplicationValidator.GetUserPointsHistoryParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.HistoryRes>;
60
60
  /**
@@ -64,7 +64,7 @@ declare class Rewards {
64
64
  * @returns {Promise<RewardsPlatformModel.Giveaway>} - Success response
65
65
  * @name saveGiveAway
66
66
  * @summary: Create a giveaway
67
- * @description: Store and manage details of a giveaway. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/saveGiveAway/).
67
+ * @description: Store and manage details of a giveaway. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/saveGiveAway/).
68
68
  */
69
69
  saveGiveAway({ body, requestHeaders }?: RewardsPlatformApplicationValidator.SaveGiveAwayParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.Giveaway>;
70
70
  /**
@@ -76,7 +76,7 @@ declare class Rewards {
76
76
  * @returns {Promise<RewardsPlatformModel.SetConfigurationRes>} - Success response
77
77
  * @name setRewardsConfiguration
78
78
  * @summary: Set rewards configuration
79
- * @description: Configure and modify the settings for the rewards program. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/setRewardsConfiguration/).
79
+ * @description: Configure and modify the settings for the rewards program. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/setRewardsConfiguration/).
80
80
  */
81
81
  setRewardsConfiguration({ body, requestHeaders }?: RewardsPlatformApplicationValidator.SetRewardsConfigurationParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.SetConfigurationRes>;
82
82
  /**
@@ -86,7 +86,7 @@ declare class Rewards {
86
86
  * @returns {Promise<RewardsPlatformModel.ListGiveaway>} - Success response
87
87
  * @name showGiveaways
88
88
  * @summary: List giveaways
89
- * @description: Retrieve and display available giveaways. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/showGiveaways/).
89
+ * @description: Retrieve and display available giveaways. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/showGiveaways/).
90
90
  */
91
91
  showGiveaways({ pageId, pageSize, requestHeaders }?: RewardsPlatformApplicationValidator.ShowGiveawaysParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.ListGiveaway>;
92
92
  /**
@@ -96,7 +96,7 @@ declare class Rewards {
96
96
  * @returns {Promise<RewardsPlatformModel.Offer[]>} - Success response
97
97
  * @name showOffers
98
98
  * @summary: List offers
99
- * @description: Display available offers for users. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/showOffers/).
99
+ * @description: Display available offers for users. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/showOffers/).
100
100
  */
101
101
  showOffers({ requestHeaders }?: any, { responseHeaders }?: object): Promise<RewardsPlatformModel.Offer[]>;
102
102
  /**
@@ -106,7 +106,7 @@ declare class Rewards {
106
106
  * @returns {Promise<RewardsPlatformModel.Giveaway>} - Success response
107
107
  * @name updateGiveAway
108
108
  * @summary: Update a giveaway
109
- * @description: Modify and update information about a giveaway. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/updateGiveAway/).
109
+ * @description: Modify and update information about a giveaway. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/updateGiveAway/).
110
110
  */
111
111
  updateGiveAway({ id, body, requestHeaders }?: RewardsPlatformApplicationValidator.UpdateGiveAwayParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.Giveaway>;
112
112
  /**
@@ -118,7 +118,7 @@ declare class Rewards {
118
118
  * @returns {Promise<RewardsPlatformModel.Offer>} - Success response
119
119
  * @name updateOfferByName
120
120
  * @summary: Update offer by name
121
- * @description: Modify and manage an offer using its name. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/updateOfferByName/).
121
+ * @description: Modify and manage an offer using its name. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/updateOfferByName/).
122
122
  */
123
123
  updateOfferByName({ name, body, requestHeaders }?: RewardsPlatformApplicationValidator.UpdateOfferByNameParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.Offer>;
124
124
  /**
@@ -128,7 +128,7 @@ declare class Rewards {
128
128
  * @returns {Promise<RewardsPlatformModel.AppUser>} - Success response
129
129
  * @name updateUserStatus
130
130
  * @summary: Update user status
131
- * @description: Change and update the status of a user in the rewards system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/updateUserStatus/).
131
+ * @description: Change and update the status of a user in the rewards system. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/updateUserStatus/).
132
132
  */
133
133
  updateUserStatus({ userId, body, requestHeaders }?: RewardsPlatformApplicationValidator.UpdateUserStatusParam, { responseHeaders }?: object): Promise<RewardsPlatformModel.AppUser>;
134
134
  }
@@ -22,7 +22,7 @@ class Rewards {
22
22
  * @returns {Promise<RewardsPlatformModel.Giveaway>} - Success response
23
23
  * @name getGiveawayById
24
24
  * @summary: Get a giveaway
25
- * @description: Retrieve specific giveaway details by its unique identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/getGiveawayById/).
25
+ * @description: Retrieve specific giveaway details by its unique identifier. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/getGiveawayById/).
26
26
  */
27
27
  async getGiveawayById(
28
28
  { id, requestHeaders } = { requestHeaders: {} },
@@ -101,7 +101,7 @@ class Rewards {
101
101
  * @returns {Promise<RewardsPlatformModel.Offer>} - Success response
102
102
  * @name getOfferByName
103
103
  * @summary: Get offer by name
104
- * @description: Retrieve an offer by its name. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/getOfferByName/).
104
+ * @description: Retrieve an offer by its name. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/getOfferByName/).
105
105
  */
106
106
  async getOfferByName(
107
107
  { name, requestHeaders } = { requestHeaders: {} },
@@ -178,7 +178,7 @@ class Rewards {
178
178
  * @returns {Promise<RewardsPlatformModel.ConfigurationRes>} - Success response
179
179
  * @name getRewardsConfiguration
180
180
  * @summary: Get rewards configuration
181
- * @description: Retrieve the configuration settings for the rewards program. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/getRewardsConfiguration/).
181
+ * @description: Retrieve the configuration settings for the rewards program. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/getRewardsConfiguration/).
182
182
  */
183
183
  async getRewardsConfiguration(
184
184
  { requestHeaders } = { requestHeaders: {} },
@@ -253,7 +253,7 @@ class Rewards {
253
253
  * @returns {Promise<RewardsPlatformModel.UserRes>} - Success response
254
254
  * @name getUserDetails
255
255
  * @summary: Get a user
256
- * @description: Retrieve comprehensive details about a user in the rewards program. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/getUserDetails/).
256
+ * @description: Retrieve comprehensive details about a user in the rewards program. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/getUserDetails/).
257
257
  */
258
258
  async getUserDetails(
259
259
  { userId, requestHeaders } = { requestHeaders: {} },
@@ -330,7 +330,7 @@ class Rewards {
330
330
  * @returns {Promise<RewardsPlatformModel.HistoryRes>} - Success response
331
331
  * @name getUserPointsHistory
332
332
  * @summary: Get reward user points history
333
- * @description: Retrieve the history of points earned and redeemed by a user. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/getUserPointsHistory/).
333
+ * @description: Retrieve the history of points earned and redeemed by a user. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/getUserPointsHistory/).
334
334
  */
335
335
  async getUserPointsHistory(
336
336
  { userId, pageId, pageSize, requestHeaders } = { requestHeaders: {} },
@@ -417,7 +417,7 @@ class Rewards {
417
417
  * @returns {Promise<RewardsPlatformModel.Giveaway>} - Success response
418
418
  * @name saveGiveAway
419
419
  * @summary: Create a giveaway
420
- * @description: Store and manage details of a giveaway. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/saveGiveAway/).
420
+ * @description: Store and manage details of a giveaway. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/saveGiveAway/).
421
421
  */
422
422
  async saveGiveAway(
423
423
  { body, requestHeaders } = { requestHeaders: {} },
@@ -498,7 +498,7 @@ class Rewards {
498
498
  * @returns {Promise<RewardsPlatformModel.SetConfigurationRes>} - Success response
499
499
  * @name setRewardsConfiguration
500
500
  * @summary: Set rewards configuration
501
- * @description: Configure and modify the settings for the rewards program. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/setRewardsConfiguration/).
501
+ * @description: Configure and modify the settings for the rewards program. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/setRewardsConfiguration/).
502
502
  */
503
503
  async setRewardsConfiguration(
504
504
  { body, requestHeaders } = { requestHeaders: {} },
@@ -577,7 +577,7 @@ class Rewards {
577
577
  * @returns {Promise<RewardsPlatformModel.ListGiveaway>} - Success response
578
578
  * @name showGiveaways
579
579
  * @summary: List giveaways
580
- * @description: Retrieve and display available giveaways. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/showGiveaways/).
580
+ * @description: Retrieve and display available giveaways. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/showGiveaways/).
581
581
  */
582
582
  async showGiveaways(
583
583
  { pageId, pageSize, requestHeaders } = { requestHeaders: {} },
@@ -660,7 +660,7 @@ class Rewards {
660
660
  * @returns {Promise<RewardsPlatformModel.Offer[]>} - Success response
661
661
  * @name showOffers
662
662
  * @summary: List offers
663
- * @description: Display available offers for users. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/showOffers/).
663
+ * @description: Display available offers for users. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/showOffers/).
664
664
  */
665
665
  async showOffers(
666
666
  { requestHeaders } = { requestHeaders: {} },
@@ -730,7 +730,7 @@ class Rewards {
730
730
  * @returns {Promise<RewardsPlatformModel.Giveaway>} - Success response
731
731
  * @name updateGiveAway
732
732
  * @summary: Update a giveaway
733
- * @description: Modify and update information about a giveaway. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/updateGiveAway/).
733
+ * @description: Modify and update information about a giveaway. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/updateGiveAway/).
734
734
  */
735
735
  async updateGiveAway(
736
736
  { id, body, requestHeaders } = { requestHeaders: {} },
@@ -813,7 +813,7 @@ class Rewards {
813
813
  * @returns {Promise<RewardsPlatformModel.Offer>} - Success response
814
814
  * @name updateOfferByName
815
815
  * @summary: Update offer by name
816
- * @description: Modify and manage an offer using its name. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/updateOfferByName/).
816
+ * @description: Modify and manage an offer using its name. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/updateOfferByName/).
817
817
  */
818
818
  async updateOfferByName(
819
819
  { name, body, requestHeaders } = { requestHeaders: {} },
@@ -896,7 +896,7 @@ class Rewards {
896
896
  * @returns {Promise<RewardsPlatformModel.AppUser>} - Success response
897
897
  * @name updateUserStatus
898
898
  * @summary: Update user status
899
- * @description: Change and update the status of a user in the rewards system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/rewards/updateUserStatus/).
899
+ * @description: Change and update the status of a user in the rewards system. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/rewards/updateUserStatus/).
900
900
  */
901
901
  async updateUserStatus(
902
902
  { userId, body, requestHeaders } = { requestHeaders: {} },
@@ -50,7 +50,7 @@ export = RewardsPlatformModel;
50
50
  */
51
51
  /**
52
52
  * @typedef Page
53
- * @property {number} [item_total] - The total number of items on the page.
53
+ * @property {number} [item_total] - The total number of all items across all pages.
54
54
  * @property {string} [next_id] - The identifier for the next page.
55
55
  * @property {boolean} [has_previous] - Indicates whether there is a previous page.
56
56
  * @property {boolean} [has_next] - Indicates whether there is a next page.
@@ -228,7 +228,7 @@ type RewardsRule = {
228
228
  declare function Page(): Page;
229
229
  type Page = {
230
230
  /**
231
- * - The total number of items on the page.
231
+ * - The total number of all items across all pages.
232
232
  */
233
233
  item_total?: number;
234
234
  /**
@@ -58,7 +58,7 @@ const Joi = require("joi");
58
58
 
59
59
  /**
60
60
  * @typedef Page
61
- * @property {number} [item_total] - The total number of items on the page.
61
+ * @property {number} [item_total] - The total number of all items across all pages.
62
62
  * @property {string} [next_id] - The identifier for the next page.
63
63
  * @property {boolean} [has_previous] - Indicates whether there is a previous page.
64
64
  * @property {boolean} [has_next] - Indicates whether there is a next page.