@gofynd/fdk-client-javascript 1.4.8-beta.3 → 1.4.9
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.
- package/README.md +26 -1
- package/package.json +2 -2
- package/sdk/application/ApplicationClient.d.ts +8 -0
- package/sdk/application/ApplicationClient.js +14 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +20 -20
- package/sdk/application/Cart/CartApplicationClient.js +20 -20
- package/sdk/application/Cart/CartApplicationModel.d.ts +2446 -664
- package/sdk/application/Cart/CartApplicationModel.js +783 -552
- package/sdk/application/Cart/CartApplicationValidator.d.ts +268 -194
- package/sdk/application/Cart/CartApplicationValidator.js +100 -114
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +53 -53
- package/sdk/application/Catalog/CatalogApplicationClient.js +53 -53
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2012 -503
- package/sdk/application/Catalog/CatalogApplicationModel.js +603 -453
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +64 -64
- package/sdk/application/Catalog/CatalogApplicationValidator.js +32 -32
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +2 -2
- package/sdk/application/Common/CommonApplicationModel.d.ts +170 -90
- package/sdk/application/Common/CommonApplicationModel.js +59 -58
- package/sdk/application/Common/CommonApplicationValidator.d.ts +8 -5
- package/sdk/application/Common/CommonApplicationValidator.js +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +170 -35
- package/sdk/application/Communication/CommunicationApplicationModel.js +54 -33
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +15 -15
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +15 -15
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +624 -443
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +259 -248
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +32 -24
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +14 -13
- package/sdk/application/Content/ContentApplicationClient.d.ts +16 -16
- package/sdk/application/Content/ContentApplicationClient.js +16 -16
- package/sdk/application/Content/ContentApplicationModel.d.ts +1205 -282
- package/sdk/application/Content/ContentApplicationModel.js +341 -277
- package/sdk/application/Content/ContentApplicationValidator.d.ts +28 -17
- package/sdk/application/Content/ContentApplicationValidator.js +11 -10
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +146 -37
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +38 -36
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +3 -3
- package/sdk/application/Lead/LeadApplicationModel.d.ts +195 -134
- package/sdk/application/Lead/LeadApplicationModel.js +110 -67
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +8 -8
- package/sdk/application/Lead/LeadApplicationValidator.js +4 -4
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +10 -10
- package/sdk/application/Logistic/LogisticApplicationClient.js +10 -10
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +1039 -221
- package/sdk/application/Logistic/LogisticApplicationModel.js +342 -199
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +76 -82
- package/sdk/application/Logistic/LogisticApplicationValidator.js +38 -41
- package/sdk/application/Order/OrderApplicationClient.d.ts +10 -10
- package/sdk/application/Order/OrderApplicationClient.js +10 -10
- package/sdk/application/Order/OrderApplicationModel.d.ts +1400 -325
- package/sdk/application/Order/OrderApplicationModel.js +391 -317
- package/sdk/application/Order/OrderApplicationValidator.d.ts +32 -30
- package/sdk/application/Order/OrderApplicationValidator.js +15 -14
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +43 -43
- package/sdk/application/Payment/PaymentApplicationClient.js +43 -43
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +1111 -1022
- package/sdk/application/Payment/PaymentApplicationModel.js +537 -521
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +82 -49
- package/sdk/application/Payment/PaymentApplicationValidator.js +30 -30
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +28 -7
- package/sdk/application/Rewards/RewardsApplicationModel.js +7 -7
- package/sdk/application/Share/ShareApplicationModel.d.ts +178 -38
- package/sdk/application/Share/ShareApplicationModel.js +53 -37
- package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -2
- package/sdk/application/Share/ShareApplicationValidator.js +2 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +14 -8
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +528 -287
- package/sdk/application/Theme/ThemeApplicationModel.js +208 -172
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +17 -12
- package/sdk/application/Theme/ThemeApplicationValidator.js +8 -6
- package/sdk/application/User/UserApplicationClient.d.ts +36 -36
- package/sdk/application/User/UserApplicationClient.js +36 -36
- package/sdk/application/User/UserApplicationModel.d.ts +1062 -255
- package/sdk/application/User/UserApplicationModel.js +298 -244
- package/sdk/application/User/UserApplicationValidator.d.ts +80 -80
- package/sdk/application/User/UserApplicationValidator.js +40 -40
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +20 -5
- package/sdk/application/Webhook/WebhookApplicationModel.js +5 -5
- package/sdk/common/Clickstream.js +95 -15
- package/sdk/common/Constant.d.ts +9 -0
- package/sdk/common/Constant.js +11 -0
- package/sdk/common/Utility.js +19 -0
- package/sdk/common/utils.js +8 -1
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +28 -7
- package/sdk/partner/Lead/LeadPartnerModel.js +7 -7
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +28 -7
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +7 -7
- package/sdk/partner/PartnerClient.d.ts +8 -0
- package/sdk/partner/PartnerClient.js +14 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +158 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +45 -6
- package/sdk/partner/Theme/ThemePartnerModel.js +33 -4
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +28 -7
- package/sdk/partner/Webhook/WebhookPartnerModel.js +7 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +28 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +7 -7
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +6 -397
- package/sdk/platform/Billing/BillingPlatformClient.js +77 -3215
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +621 -2021
- package/sdk/platform/Billing/BillingPlatformModel.js +353 -2405
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +12 -451
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -483
- package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -7
- package/sdk/platform/Cart/CartPlatformModel.js +8 -8
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +12 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.js +41 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +46 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +14 -11
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +40 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +17 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +28 -7
- package/sdk/platform/Communication/CommunicationPlatformModel.js +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +7 -7
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +0 -97
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +77 -782
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +24 -701
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +7 -539
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -183
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +0 -134
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -79
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -15
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -13
- package/sdk/platform/Content/ContentPlatformModel.d.ts +58 -17
- package/sdk/platform/Content/ContentPlatformModel.js +28 -15
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +28 -7
- package/sdk/platform/Discount/DiscountPlatformModel.js +7 -7
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +127 -25
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +37 -25
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +28 -28
- package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +1583 -347
- package/sdk/platform/Finance/FinancePlatformModel.js +463 -351
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +28 -7
- package/sdk/platform/Lead/LeadPlatformModel.js +7 -7
- package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -0
- package/sdk/platform/Order/OrderPlatformClient.js +165 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +613 -39
- package/sdk/platform/Order/OrderPlatformModel.js +359 -41
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +28 -0
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +30 -9
- package/sdk/platform/Payment/PaymentPlatformModel.js +9 -9
- package/sdk/platform/PlatformClient.d.ts +8 -0
- package/sdk/platform/PlatformClient.js +14 -0
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +28 -7
- package/sdk/platform/Rewards/RewardsPlatformModel.js +7 -7
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +12 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +12 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +120 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +76 -21
- package/sdk/platform/Share/SharePlatformModel.d.ts +28 -7
- package/sdk/platform/Share/SharePlatformModel.js +7 -7
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +18 -5
- package/sdk/platform/Theme/ThemePlatformModel.js +7 -4
- package/sdk/platform/User/UserPlatformModel.d.ts +18 -18
- package/sdk/platform/User/UserPlatformModel.js +9 -9
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +28 -7
- package/sdk/platform/Webhook/WebhookPlatformModel.js +7 -7
- package/sdk/public/PublicClient.d.ts +0 -4
- package/sdk/public/PublicClient.js +0 -8
- package/sdk/public/index.d.ts +0 -2
- package/sdk/public/index.js +0 -4
- package/sdk/public/Billing/BillingPublicClient.d.ts +0 -45
- package/sdk/public/Billing/BillingPublicClient.js +0 -269
- package/sdk/public/Billing/BillingPublicModel.d.ts +0 -434
- package/sdk/public/Billing/BillingPublicModel.js +0 -395
- package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -34
- package/sdk/public/Billing/BillingPublicValidator.js +0 -38
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +0 -87
- package/sdk/public/Inventory/InventoryPublicClient.js +0 -529
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +0 -393
- package/sdk/public/Inventory/InventoryPublicModel.js +0 -448
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +0 -91
- package/sdk/public/Inventory/InventoryPublicValidator.js +0 -85
|
@@ -2,33 +2,12 @@ const Joi = require("joi");
|
|
|
2
2
|
|
|
3
3
|
const BillingPlatformModel = require("./BillingPlatformModel");
|
|
4
4
|
|
|
5
|
-
/**
|
|
6
|
-
* @typedef ActivateSubscriptionPlanParam
|
|
7
|
-
* @property {BillingPlatformModel.SubscriptionActivateReq} body
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
5
|
/**
|
|
11
6
|
* @typedef CancelSubscriptionChargeParam
|
|
12
7
|
* @property {string} extensionId - Extension _id
|
|
13
8
|
* @property {string} subscriptionId - Subscription charge _id
|
|
14
9
|
*/
|
|
15
10
|
|
|
16
|
-
/**
|
|
17
|
-
* @typedef CancelSubscriptionPlanParam
|
|
18
|
-
* @property {BillingPlatformModel.CancelSubscriptionReq} body
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* @typedef ChangePlanParam
|
|
23
|
-
* @property {BillingPlatformModel.SubscriptionActivateReq} body
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @typedef CheckCouponValidityParam
|
|
28
|
-
* @property {string} plan - ID of the plan.
|
|
29
|
-
* @property {string} couponCode - Coupon code.
|
|
30
|
-
*/
|
|
31
|
-
|
|
32
11
|
/**
|
|
33
12
|
* @typedef CreateOneTimeChargeParam
|
|
34
13
|
* @property {string} extensionId - Extension _id
|
|
@@ -36,206 +15,25 @@ const BillingPlatformModel = require("./BillingPlatformModel");
|
|
|
36
15
|
*/
|
|
37
16
|
|
|
38
17
|
/**
|
|
39
|
-
* @typedef
|
|
40
|
-
* @property {
|
|
41
|
-
*
|
|
42
|
-
* @property {
|
|
43
|
-
* @property {number} [pageSize] - Number of items per page
|
|
44
|
-
* @property {number} [pageNo] - Page number
|
|
45
|
-
* @property {string} [startDate] - Start date
|
|
46
|
-
* @property {string} [endDate] - End date
|
|
47
|
-
* @property {string} [searchType] - Search Type
|
|
48
|
-
* @property {string} [searchValue] - Search Value
|
|
18
|
+
* @typedef CreateSubscriptionChargeParam
|
|
19
|
+
* @property {string} extensionId - Extension Id for which we need to crete new
|
|
20
|
+
* subscription
|
|
21
|
+
* @property {BillingPlatformModel.CreateSubscriptionCharge} body
|
|
49
22
|
*/
|
|
50
23
|
|
|
51
|
-
/**
|
|
52
|
-
* @typedef CurrentAppLimitParam
|
|
53
|
-
* @property {string} [productSuite]
|
|
54
|
-
* @property {string} [type]
|
|
55
|
-
*/
|
|
56
|
-
|
|
57
|
-
/** @typedef GetBankListParam */
|
|
58
|
-
|
|
59
24
|
/**
|
|
60
25
|
* @typedef GetChargeDetailsParam
|
|
61
26
|
* @property {string} extensionId - Extension _id
|
|
62
27
|
* @property {string} chargeId - Standalone charge _id
|
|
63
28
|
*/
|
|
64
29
|
|
|
65
|
-
/** @typedef GetCustomerDetailParam */
|
|
66
|
-
|
|
67
|
-
/** @typedef GetEnterprisePlansParam */
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @typedef GetFeatureLimitConfigParam
|
|
71
|
-
* @property {string} [productSuite]
|
|
72
|
-
* @property {string} [type]
|
|
73
|
-
*/
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @typedef GetInvoiceByIdParam
|
|
77
|
-
* @property {string} invoiceId - Invoice id
|
|
78
|
-
*/
|
|
79
|
-
|
|
80
|
-
/** @typedef GetInvoicesParam */
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* @typedef GetPaymentOptionsParam
|
|
84
|
-
* @property {string} transactionId - ID of the payment transaction.
|
|
85
|
-
*/
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* @typedef GetPaymentTransactionParam
|
|
89
|
-
* @property {string} transactionId - Payment Transaction unique id.
|
|
90
|
-
*/
|
|
91
|
-
|
|
92
|
-
/** @typedef GetSubscriptionParam */
|
|
93
|
-
|
|
94
30
|
/**
|
|
95
31
|
* @typedef GetSubscriptionChargeParam
|
|
96
32
|
* @property {string} extensionId - Extension _id
|
|
97
33
|
* @property {string} subscriptionId - Subscription charge _id
|
|
98
34
|
*/
|
|
99
35
|
|
|
100
|
-
/**
|
|
101
|
-
* @typedef GetentityDetailParam
|
|
102
|
-
* @property {string} entityName - Entity name.
|
|
103
|
-
* @property {string} [entityId] - Entity unique id.
|
|
104
|
-
* @property {string} channel - Ordering channel.
|
|
105
|
-
* @property {string} [component] - The coponents the user would like to know.
|
|
106
|
-
* @property {string} [componentName] - The name of component the preferred to be fetched.
|
|
107
|
-
*/
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* @typedef GlobalSettingsParam
|
|
111
|
-
* @property {number} pageNo - Number of pages needed
|
|
112
|
-
* @property {number} pageSize - Number of items to be there in page
|
|
113
|
-
* @property {Object} query - Field which will be used in db query
|
|
114
|
-
*/
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* @typedef MethodDefaultParam
|
|
118
|
-
* @property {BillingPlatformModel.DefaultReq} body
|
|
119
|
-
*/
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* @typedef PaymentCollectParam
|
|
123
|
-
* @property {BillingPlatformModel.PaymentCollectReq} body
|
|
124
|
-
*/
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* @typedef PaymentInitiateParam
|
|
128
|
-
* @property {BillingPlatformModel.SunscribePlan} body
|
|
129
|
-
*/
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* @typedef PaymentOptionsParam
|
|
133
|
-
* @property {string} code - Payment options unique code.
|
|
134
|
-
*/
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* @typedef PaymentStatusParam
|
|
138
|
-
* @property {string} orderId - Unique ID of the company
|
|
139
|
-
*/
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* @typedef PlanDowngradeParam
|
|
143
|
-
* @property {BillingPlatformModel.DowngradePlanReq} body
|
|
144
|
-
*/
|
|
145
|
-
|
|
146
|
-
/** @typedef PlanDowngradeGetParam */
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* @typedef PlanStatusUpdateParam
|
|
150
|
-
* @property {BillingPlatformModel.PlanStatusUpdateReq} body
|
|
151
|
-
*/
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* @typedef SetupIntentParam
|
|
155
|
-
* @property {BillingPlatformModel.IntentReq} body
|
|
156
|
-
*/
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* @typedef SetupMandateParam
|
|
160
|
-
* @property {BillingPlatformModel.SetupMandateReq} body
|
|
161
|
-
*/
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* @typedef SetupPaymentParam
|
|
165
|
-
* @property {BillingPlatformModel.SetupPaymentReq} body
|
|
166
|
-
*/
|
|
167
|
-
|
|
168
|
-
/** @typedef SubscriptionConfigsParam */
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* @typedef SubscriptionMethodsParam
|
|
172
|
-
* @property {string} uniqueExternalId - Unique id for external company
|
|
173
|
-
*/
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* @typedef SubscriptionMethodsDeleteParam
|
|
177
|
-
* @property {string} uniqueExternalId - Unique id for external company
|
|
178
|
-
* @property {string} paymentMethodId - Payment method id
|
|
179
|
-
*/
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* @typedef SubscriptionPlanChangeParam
|
|
183
|
-
* @property {string} [productSuite]
|
|
184
|
-
* @property {string} [coupon]
|
|
185
|
-
* @property {number} [uniqueId]
|
|
186
|
-
* @property {string} [platform]
|
|
187
|
-
* @property {string} [planId]
|
|
188
|
-
*/
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* @typedef SubscriptionRenewParam
|
|
192
|
-
* @property {BillingPlatformModel.SubscriptionRenewReq} body
|
|
193
|
-
*/
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* @typedef TopupCancelCreditParam
|
|
197
|
-
* @property {BillingPlatformModel.CancelTopupReq} body
|
|
198
|
-
*/
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* @typedef TopupCreditParam
|
|
202
|
-
* @property {BillingPlatformModel.TopupReq} body
|
|
203
|
-
*/
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* @typedef UpdateConsentParam
|
|
207
|
-
* @property {string} subscriberId - Customer unique id. In case of company it
|
|
208
|
-
* will be company id.
|
|
209
|
-
*/
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* @typedef UpdateSetupIntentParam
|
|
213
|
-
* @property {BillingPlatformModel.PutIntentReq} body
|
|
214
|
-
*/
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* @typedef UpgradePlanParam
|
|
218
|
-
* @property {BillingPlatformModel.SubscriptionMethodsReq} body
|
|
219
|
-
*/
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* @typedef UpsertCustomerDetailParam
|
|
223
|
-
* @property {BillingPlatformModel.SubscriptionCustomerCreate} body
|
|
224
|
-
*/
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* @typedef VerifyPaymentParam
|
|
228
|
-
* @property {BillingPlatformModel.VerifyPaymentReq} body
|
|
229
|
-
*/
|
|
230
|
-
|
|
231
36
|
class BillingPlatformValidator {
|
|
232
|
-
/** @returns {ActivateSubscriptionPlanParam} */
|
|
233
|
-
static activateSubscriptionPlan() {
|
|
234
|
-
return Joi.object({
|
|
235
|
-
body: BillingPlatformModel.SubscriptionActivateReq().required(),
|
|
236
|
-
}).required();
|
|
237
|
-
}
|
|
238
|
-
|
|
239
37
|
/** @returns {CancelSubscriptionChargeParam} */
|
|
240
38
|
static cancelSubscriptionCharge() {
|
|
241
39
|
return Joi.object({
|
|
@@ -244,28 +42,6 @@ class BillingPlatformValidator {
|
|
|
244
42
|
}).required();
|
|
245
43
|
}
|
|
246
44
|
|
|
247
|
-
/** @returns {CancelSubscriptionPlanParam} */
|
|
248
|
-
static cancelSubscriptionPlan() {
|
|
249
|
-
return Joi.object({
|
|
250
|
-
body: BillingPlatformModel.CancelSubscriptionReq().required(),
|
|
251
|
-
}).required();
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
/** @returns {ChangePlanParam} */
|
|
255
|
-
static changePlan() {
|
|
256
|
-
return Joi.object({
|
|
257
|
-
body: BillingPlatformModel.SubscriptionActivateReq().required(),
|
|
258
|
-
}).required();
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/** @returns {CheckCouponValidityParam} */
|
|
262
|
-
static checkCouponValidity() {
|
|
263
|
-
return Joi.object({
|
|
264
|
-
plan: Joi.string().allow("").required(),
|
|
265
|
-
couponCode: Joi.string().allow("").required(),
|
|
266
|
-
}).required();
|
|
267
|
-
}
|
|
268
|
-
|
|
269
45
|
/** @returns {CreateOneTimeChargeParam} */
|
|
270
46
|
static createOneTimeCharge() {
|
|
271
47
|
return Joi.object({
|
|
@@ -274,34 +50,14 @@ class BillingPlatformValidator {
|
|
|
274
50
|
}).required();
|
|
275
51
|
}
|
|
276
52
|
|
|
277
|
-
/** @returns {
|
|
278
|
-
static
|
|
279
|
-
return Joi.object({
|
|
280
|
-
uniqueId: Joi.number().required(),
|
|
281
|
-
productSuite: Joi.string().allow("").required(),
|
|
282
|
-
type: Joi.string().allow("").required(),
|
|
283
|
-
pageSize: Joi.number(),
|
|
284
|
-
pageNo: Joi.number(),
|
|
285
|
-
startDate: Joi.string().allow(""),
|
|
286
|
-
endDate: Joi.string().allow(""),
|
|
287
|
-
searchType: Joi.string().allow(""),
|
|
288
|
-
searchValue: Joi.string().allow(""),
|
|
289
|
-
}).required();
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
/** @returns {CurrentAppLimitParam} */
|
|
293
|
-
static currentAppLimit() {
|
|
53
|
+
/** @returns {CreateSubscriptionChargeParam} */
|
|
54
|
+
static createSubscriptionCharge() {
|
|
294
55
|
return Joi.object({
|
|
295
|
-
|
|
296
|
-
|
|
56
|
+
extensionId: Joi.string().allow("").required(),
|
|
57
|
+
body: BillingPlatformModel.CreateSubscriptionCharge().required(),
|
|
297
58
|
}).required();
|
|
298
59
|
}
|
|
299
60
|
|
|
300
|
-
/** @returns {GetBankListParam} */
|
|
301
|
-
static getBankList() {
|
|
302
|
-
return Joi.object({}).required();
|
|
303
|
-
}
|
|
304
|
-
|
|
305
61
|
/** @returns {GetChargeDetailsParam} */
|
|
306
62
|
static getChargeDetails() {
|
|
307
63
|
return Joi.object({
|
|
@@ -310,55 +66,6 @@ class BillingPlatformValidator {
|
|
|
310
66
|
}).required();
|
|
311
67
|
}
|
|
312
68
|
|
|
313
|
-
/** @returns {GetCustomerDetailParam} */
|
|
314
|
-
static getCustomerDetail() {
|
|
315
|
-
return Joi.object({}).required();
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
/** @returns {GetEnterprisePlansParam} */
|
|
319
|
-
static getEnterprisePlans() {
|
|
320
|
-
return Joi.object({}).required();
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
/** @returns {GetFeatureLimitConfigParam} */
|
|
324
|
-
static getFeatureLimitConfig() {
|
|
325
|
-
return Joi.object({
|
|
326
|
-
productSuite: Joi.string().allow(""),
|
|
327
|
-
type: Joi.string().allow(""),
|
|
328
|
-
}).required();
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
/** @returns {GetInvoiceByIdParam} */
|
|
332
|
-
static getInvoiceById() {
|
|
333
|
-
return Joi.object({
|
|
334
|
-
invoiceId: Joi.string().allow("").required(),
|
|
335
|
-
}).required();
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
/** @returns {GetInvoicesParam} */
|
|
339
|
-
static getInvoices() {
|
|
340
|
-
return Joi.object({}).required();
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/** @returns {GetPaymentOptionsParam} */
|
|
344
|
-
static getPaymentOptions() {
|
|
345
|
-
return Joi.object({
|
|
346
|
-
transactionId: Joi.string().allow("").required(),
|
|
347
|
-
}).required();
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
/** @returns {GetPaymentTransactionParam} */
|
|
351
|
-
static getPaymentTransaction() {
|
|
352
|
-
return Joi.object({
|
|
353
|
-
transactionId: Joi.string().allow("").required(),
|
|
354
|
-
}).required();
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
/** @returns {GetSubscriptionParam} */
|
|
358
|
-
static getSubscription() {
|
|
359
|
-
return Joi.object({}).required();
|
|
360
|
-
}
|
|
361
|
-
|
|
362
69
|
/** @returns {GetSubscriptionChargeParam} */
|
|
363
70
|
static getSubscriptionCharge() {
|
|
364
71
|
return Joi.object({
|
|
@@ -366,188 +73,6 @@ class BillingPlatformValidator {
|
|
|
366
73
|
subscriptionId: Joi.string().allow("").required(),
|
|
367
74
|
}).required();
|
|
368
75
|
}
|
|
369
|
-
|
|
370
|
-
/** @returns {GetentityDetailParam} */
|
|
371
|
-
static getentityDetail() {
|
|
372
|
-
return Joi.object({
|
|
373
|
-
entityName: Joi.string().allow("").required(),
|
|
374
|
-
entityId: Joi.string().allow(""),
|
|
375
|
-
channel: Joi.string().allow("").required(),
|
|
376
|
-
component: Joi.string().allow(""),
|
|
377
|
-
componentName: Joi.string().allow(""),
|
|
378
|
-
}).required();
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
/** @returns {GlobalSettingsParam} */
|
|
382
|
-
static globalSettings() {
|
|
383
|
-
return Joi.object({
|
|
384
|
-
pageNo: Joi.number().required(),
|
|
385
|
-
pageSize: Joi.number().required(),
|
|
386
|
-
query: Joi.any().required(),
|
|
387
|
-
}).required();
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
/** @returns {MethodDefaultParam} */
|
|
391
|
-
static methodDefault() {
|
|
392
|
-
return Joi.object({
|
|
393
|
-
body: BillingPlatformModel.DefaultReq().required(),
|
|
394
|
-
}).required();
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
/** @returns {PaymentCollectParam} */
|
|
398
|
-
static paymentCollect() {
|
|
399
|
-
return Joi.object({
|
|
400
|
-
body: BillingPlatformModel.PaymentCollectReq().required(),
|
|
401
|
-
}).required();
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
/** @returns {PaymentInitiateParam} */
|
|
405
|
-
static paymentInitiate() {
|
|
406
|
-
return Joi.object({
|
|
407
|
-
body: BillingPlatformModel.SunscribePlan().required(),
|
|
408
|
-
}).required();
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
/** @returns {PaymentOptionsParam} */
|
|
412
|
-
static paymentOptions() {
|
|
413
|
-
return Joi.object({
|
|
414
|
-
code: Joi.string().allow("").required(),
|
|
415
|
-
}).required();
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
/** @returns {PaymentStatusParam} */
|
|
419
|
-
static paymentStatus() {
|
|
420
|
-
return Joi.object({
|
|
421
|
-
orderId: Joi.string().allow("").required(),
|
|
422
|
-
}).required();
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
/** @returns {PlanDowngradeParam} */
|
|
426
|
-
static planDowngrade() {
|
|
427
|
-
return Joi.object({
|
|
428
|
-
body: BillingPlatformModel.DowngradePlanReq().required(),
|
|
429
|
-
}).required();
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
/** @returns {PlanDowngradeGetParam} */
|
|
433
|
-
static planDowngradeGet() {
|
|
434
|
-
return Joi.object({}).required();
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
/** @returns {PlanStatusUpdateParam} */
|
|
438
|
-
static planStatusUpdate() {
|
|
439
|
-
return Joi.object({
|
|
440
|
-
body: BillingPlatformModel.PlanStatusUpdateReq().required(),
|
|
441
|
-
}).required();
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
/** @returns {SetupIntentParam} */
|
|
445
|
-
static setupIntent() {
|
|
446
|
-
return Joi.object({
|
|
447
|
-
body: BillingPlatformModel.IntentReq().required(),
|
|
448
|
-
}).required();
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
/** @returns {SetupMandateParam} */
|
|
452
|
-
static setupMandate() {
|
|
453
|
-
return Joi.object({
|
|
454
|
-
body: BillingPlatformModel.SetupMandateReq().required(),
|
|
455
|
-
}).required();
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
/** @returns {SetupPaymentParam} */
|
|
459
|
-
static setupPayment() {
|
|
460
|
-
return Joi.object({
|
|
461
|
-
body: BillingPlatformModel.SetupPaymentReq().required(),
|
|
462
|
-
}).required();
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
/** @returns {SubscriptionConfigsParam} */
|
|
466
|
-
static subscriptionConfigs() {
|
|
467
|
-
return Joi.object({}).required();
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
/** @returns {SubscriptionMethodsParam} */
|
|
471
|
-
static subscriptionMethods() {
|
|
472
|
-
return Joi.object({
|
|
473
|
-
uniqueExternalId: Joi.string().allow("").required(),
|
|
474
|
-
}).required();
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
/** @returns {SubscriptionMethodsDeleteParam} */
|
|
478
|
-
static subscriptionMethodsDelete() {
|
|
479
|
-
return Joi.object({
|
|
480
|
-
uniqueExternalId: Joi.string().allow("").required(),
|
|
481
|
-
paymentMethodId: Joi.string().allow("").required(),
|
|
482
|
-
}).required();
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
/** @returns {SubscriptionPlanChangeParam} */
|
|
486
|
-
static subscriptionPlanChange() {
|
|
487
|
-
return Joi.object({
|
|
488
|
-
productSuite: Joi.string().allow(""),
|
|
489
|
-
coupon: Joi.string().allow(""),
|
|
490
|
-
uniqueId: Joi.number(),
|
|
491
|
-
platform: Joi.string().allow(""),
|
|
492
|
-
planId: Joi.string().allow(""),
|
|
493
|
-
}).required();
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
/** @returns {SubscriptionRenewParam} */
|
|
497
|
-
static subscriptionRenew() {
|
|
498
|
-
return Joi.object({
|
|
499
|
-
body: BillingPlatformModel.SubscriptionRenewReq().required(),
|
|
500
|
-
}).required();
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
/** @returns {TopupCancelCreditParam} */
|
|
504
|
-
static topupCancelCredit() {
|
|
505
|
-
return Joi.object({
|
|
506
|
-
body: BillingPlatformModel.CancelTopupReq().required(),
|
|
507
|
-
}).required();
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
/** @returns {TopupCreditParam} */
|
|
511
|
-
static topupCredit() {
|
|
512
|
-
return Joi.object({
|
|
513
|
-
body: BillingPlatformModel.TopupReq().required(),
|
|
514
|
-
}).required();
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
/** @returns {UpdateConsentParam} */
|
|
518
|
-
static updateConsent() {
|
|
519
|
-
return Joi.object({
|
|
520
|
-
subscriberId: Joi.string().allow("").required(),
|
|
521
|
-
}).required();
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
/** @returns {UpdateSetupIntentParam} */
|
|
525
|
-
static updateSetupIntent() {
|
|
526
|
-
return Joi.object({
|
|
527
|
-
body: BillingPlatformModel.PutIntentReq().required(),
|
|
528
|
-
}).required();
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
/** @returns {UpgradePlanParam} */
|
|
532
|
-
static upgradePlan() {
|
|
533
|
-
return Joi.object({
|
|
534
|
-
body: BillingPlatformModel.SubscriptionMethodsReq().required(),
|
|
535
|
-
}).required();
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
/** @returns {UpsertCustomerDetailParam} */
|
|
539
|
-
static upsertCustomerDetail() {
|
|
540
|
-
return Joi.object({
|
|
541
|
-
body: BillingPlatformModel.SubscriptionCustomerCreate().required(),
|
|
542
|
-
}).required();
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
/** @returns {VerifyPaymentParam} */
|
|
546
|
-
static verifyPayment() {
|
|
547
|
-
return Joi.object({
|
|
548
|
-
body: BillingPlatformModel.VerifyPaymentReq().required(),
|
|
549
|
-
}).required();
|
|
550
|
-
}
|
|
551
76
|
}
|
|
552
77
|
|
|
553
78
|
module.exports = BillingPlatformValidator;
|
|
@@ -161,13 +161,13 @@ export = CartPlatformModel;
|
|
|
161
161
|
*/
|
|
162
162
|
/**
|
|
163
163
|
* @typedef Page
|
|
164
|
-
* @property {number} [item_total]
|
|
165
|
-
* @property {string} [next_id]
|
|
166
|
-
* @property {boolean} [has_previous]
|
|
167
|
-
* @property {boolean} [has_next]
|
|
168
|
-
* @property {number} [current]
|
|
169
|
-
* @property {string} type
|
|
170
|
-
* @property {number} [size]
|
|
164
|
+
* @property {number} [item_total] - The total number of items on the page.
|
|
165
|
+
* @property {string} [next_id] - The identifier for the next page.
|
|
166
|
+
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
167
|
+
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
168
|
+
* @property {number} [current] - The current page number.
|
|
169
|
+
* @property {string} type - The type of the page, such as 'PageType'.
|
|
170
|
+
* @property {number} [size] - The number of items per page.
|
|
171
171
|
*/
|
|
172
172
|
/**
|
|
173
173
|
* @typedef CouponsResponse
|
|
@@ -1982,12 +1982,33 @@ type CouponAdd = {
|
|
|
1982
1982
|
/** @returns {Page} */
|
|
1983
1983
|
declare function Page(): Page;
|
|
1984
1984
|
type Page = {
|
|
1985
|
+
/**
|
|
1986
|
+
* - The total number of items on the page.
|
|
1987
|
+
*/
|
|
1985
1988
|
item_total?: number;
|
|
1989
|
+
/**
|
|
1990
|
+
* - The identifier for the next page.
|
|
1991
|
+
*/
|
|
1986
1992
|
next_id?: string;
|
|
1993
|
+
/**
|
|
1994
|
+
* - Indicates whether there is a previous page.
|
|
1995
|
+
*/
|
|
1987
1996
|
has_previous?: boolean;
|
|
1997
|
+
/**
|
|
1998
|
+
* - Indicates whether there is a next page.
|
|
1999
|
+
*/
|
|
1988
2000
|
has_next?: boolean;
|
|
2001
|
+
/**
|
|
2002
|
+
* - The current page number.
|
|
2003
|
+
*/
|
|
1989
2004
|
current?: number;
|
|
2005
|
+
/**
|
|
2006
|
+
* - The type of the page, such as 'PageType'.
|
|
2007
|
+
*/
|
|
1990
2008
|
type: string;
|
|
2009
|
+
/**
|
|
2010
|
+
* - The number of items per page.
|
|
2011
|
+
*/
|
|
1991
2012
|
size?: number;
|
|
1992
2013
|
};
|
|
1993
2014
|
/** @returns {CouponsResponse} */
|
|
@@ -184,13 +184,13 @@ const Joi = require("joi");
|
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* @typedef Page
|
|
187
|
-
* @property {number} [item_total]
|
|
188
|
-
* @property {string} [next_id]
|
|
189
|
-
* @property {boolean} [has_previous]
|
|
190
|
-
* @property {boolean} [has_next]
|
|
191
|
-
* @property {number} [current]
|
|
192
|
-
* @property {string} type
|
|
193
|
-
* @property {number} [size]
|
|
187
|
+
* @property {number} [item_total] - The total number of items on the page.
|
|
188
|
+
* @property {string} [next_id] - The identifier for the next page.
|
|
189
|
+
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
190
|
+
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
191
|
+
* @property {number} [current] - The current page number.
|
|
192
|
+
* @property {string} type - The type of the page, such as 'PageType'.
|
|
193
|
+
* @property {number} [size] - The number of items per page.
|
|
194
194
|
*/
|
|
195
195
|
|
|
196
196
|
/**
|
|
@@ -2412,7 +2412,7 @@ class CartPlatformModel {
|
|
|
2412
2412
|
/** @returns {Restrictions1} */
|
|
2413
2413
|
static Restrictions1() {
|
|
2414
2414
|
return Joi.object({
|
|
2415
|
-
payments: Joi.
|
|
2415
|
+
payments: Joi.object().pattern(/\S/, CartPlatformModel.PaymentModes()),
|
|
2416
2416
|
user_registered: CartPlatformModel.UserRegistered(),
|
|
2417
2417
|
platforms: Joi.array().items(Joi.string().allow("")),
|
|
2418
2418
|
post_order: CartPlatformModel.PostOrder1(),
|
|
@@ -681,7 +681,7 @@ declare class Catalog {
|
|
|
681
681
|
* @summary: List products
|
|
682
682
|
* @description: Retrieve a list of available products - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/catalog/getProducts/).
|
|
683
683
|
*/
|
|
684
|
-
getProducts({ brandIds, categoryIds, itemIds, departmentIds, itemCode, q, tags, pageNo, pageSize, requestHeaders, }?: CatalogPlatformValidator.GetProductsParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.ProductListingResponseV2>;
|
|
684
|
+
getProducts({ brandIds, categoryIds, itemIds, departmentIds, itemCode, name, slug, allIdentifiers, q, tags, pageNo, pageSize, pageType, sortOn, pageId, requestHeaders, }?: CatalogPlatformValidator.GetProductsParam, { responseHeaders }?: object): Promise<CatalogPlatformModel.ProductListingResponseV2>;
|
|
685
685
|
/**
|
|
686
686
|
* @param {Object} arg - Arg object.
|
|
687
687
|
* @param {number[]} [arg.brandIds] - Get multiple products filtered by Brand Ids
|
|
@@ -691,23 +691,33 @@ declare class Catalog {
|
|
|
691
691
|
* @param {number[]} [arg.departmentIds] - Get multiple products filtered by
|
|
692
692
|
* Department Ids
|
|
693
693
|
* @param {string[]} [arg.itemCode] - Get multiple products filtered by Item Code
|
|
694
|
+
* @param {string} [arg.name] - Get multiple products filtered by Name (Pattern Match)
|
|
695
|
+
* @param {string} [arg.slug] - Get multiple products filtered by Slug
|
|
696
|
+
* @param {string[]} [arg.allIdentifiers] - Get multiple products filtered
|
|
697
|
+
* by All Identifiers
|
|
694
698
|
* @param {string} [arg.q] - Get multiple products filtered by q string
|
|
695
699
|
* @param {string[]} [arg.tags] - Get multiple products filtered by tags
|
|
696
700
|
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
697
701
|
* page. Default is 10.
|
|
702
|
+
* @param {string} [arg.sortOn] - Field which is to be used for sorting,
|
|
703
|
+
* default is latest. Value can be latest (modified_on) or created (record id)
|
|
698
704
|
* @returns {Paginator<CatalogPlatformModel.ProductListingResponseV2>}
|
|
699
705
|
* @summary: List products
|
|
700
706
|
* @description: Retrieve a list of available products
|
|
701
707
|
*/
|
|
702
|
-
getProductsPaginator({ brandIds, categoryIds, itemIds, departmentIds, itemCode, q, tags, pageSize, }?: {
|
|
708
|
+
getProductsPaginator({ brandIds, categoryIds, itemIds, departmentIds, itemCode, name, slug, allIdentifiers, q, tags, pageSize, sortOn, }?: {
|
|
703
709
|
brandIds?: number[];
|
|
704
710
|
categoryIds?: number[];
|
|
705
711
|
itemIds?: number[];
|
|
706
712
|
departmentIds?: number[];
|
|
707
713
|
itemCode?: string[];
|
|
714
|
+
name?: string;
|
|
715
|
+
slug?: string;
|
|
716
|
+
allIdentifiers?: string[];
|
|
708
717
|
q?: string;
|
|
709
718
|
tags?: string[];
|
|
710
719
|
pageSize?: number;
|
|
720
|
+
sortOn?: string;
|
|
711
721
|
}): Paginator<CatalogPlatformModel.ProductListingResponseV2>;
|
|
712
722
|
/**
|
|
713
723
|
* @param {CatalogPlatformValidator.GetSellerInsightsParam} arg - Arg object
|