@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-beta.10
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 +2 -2
- package/application.d.ts +1 -2
- package/application.js +2 -3
- package/index.d.ts +1 -2
- package/index.js +7 -1
- package/package.json +2 -3
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -20
- package/sdk/application/Cart/CartApplicationClient.d.ts +55 -97
- package/sdk/application/Cart/CartApplicationClient.js +60 -1262
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +80 -162
- package/sdk/application/Catalog/CatalogApplicationClient.js +148 -1313
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -9
- package/sdk/application/Common/CommonApplicationClient.js +5 -90
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -145
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -80
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +31 -725
- package/sdk/application/Content/ContentApplicationClient.d.ts +63 -85
- package/sdk/application/Content/ContentApplicationClient.js +126 -942
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -15
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +26 -130
- package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -17
- package/sdk/application/Lead/LeadApplicationClient.js +32 -201
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -62
- package/sdk/application/Logistic/LogisticApplicationClient.js +51 -647
- package/sdk/application/Order/OrderApplicationClient.d.ts +22 -56
- package/sdk/application/Order/OrderApplicationClient.js +86 -555
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +92 -209
- package/sdk/application/Payment/PaymentApplicationClient.js +57 -2099
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -26
- package/sdk/application/Rewards/RewardsApplicationClient.js +17 -303
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
- package/sdk/application/Share/ShareApplicationClient.js +34 -294
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
- package/sdk/application/Theme/ThemeApplicationClient.js +30 -166
- package/sdk/application/User/UserApplicationClient.d.ts +87 -138
- package/sdk/application/User/UserApplicationClient.js +47 -1817
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
- package/sdk/application/Webhook/WebhookApplicationClient.js +6 -49
- package/sdk/application/index.d.ts +0 -19
- package/sdk/application/index.js +0 -35
- package/sdk/common/Utility.d.ts +1 -1
- package/sdk/common/Utility.js +10 -7
- package/sdk/common/Validator.d.ts +1 -0
- package/sdk/common/Validator.js +20 -0
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +21 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +16 -121
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +85 -767
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +76 -429
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +6 -120
- package/sdk/partner/OAuthClient.js +1 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +39 -135
- package/sdk/partner/Theme/ThemePartnerModel.js +38 -114
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
- package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +112 -407
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -111
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -106
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1328 -4975
- package/sdk/platform/Cart/CartPlatformModel.js +1229 -1922
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -208
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +358 -383
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +126 -122
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +68 -66
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +118 -141
- package/sdk/platform/Catalog/CatalogPlatformClient.js +170 -193
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1744 -1501
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1211 -1383
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
- package/sdk/platform/Common/CommonPlatformClient.js +2 -3
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +138 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +100 -219
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
- package/sdk/platform/Content/ContentPlatformModel.js +390 -521
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
- package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
- package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +39 -95
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +63 -462
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +22 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +24 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +116 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +104 -313
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -25
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -175
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +4 -52
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +3 -34
- package/sdk/platform/Order/OrderPlatformClient.d.ts +103 -174
- package/sdk/platform/Order/OrderPlatformClient.js +275 -528
- package/sdk/platform/Order/OrderPlatformModel.d.ts +3078 -5449
- package/sdk/platform/Order/OrderPlatformModel.js +1659 -3501
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +219 -234
- package/sdk/platform/Order/OrderPlatformValidator.js +118 -146
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +106 -94
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +146 -131
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -64
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -62
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +507 -386
- package/sdk/platform/Payment/PaymentPlatformModel.js +376 -323
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +10 -10
- package/sdk/platform/Payment/PaymentPlatformValidator.js +10 -10
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +35 -45
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -117
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +13 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +12 -24
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +68 -62
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +396 -620
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +326 -501
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +11 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +10 -10
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
- package/sdk/platform/Share/SharePlatformModel.js +4 -27
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +13 -76
- package/sdk/platform/Theme/ThemePlatformModel.js +17 -57
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
- package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -8
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
- package/sdk/public/Content/ContentPublicClient.js +19 -793
- package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
- package/sdk/public/Content/ContentPublicModel.js +3 -649
- package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
- package/sdk/public/Content/ContentPublicValidator.js +2 -88
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +14 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +13 -10
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Cart/CartApplicationModel.d.ts +0 -4340
- package/sdk/application/Cart/CartApplicationModel.js +0 -2718
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -788
- package/sdk/application/Cart/CartApplicationValidator.js +0 -546
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3909
- package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2667
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
- package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
- package/sdk/application/Common/CommonApplicationModel.js +0 -308
- package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
- package/sdk/application/Common/CommonApplicationValidator.js +0 -38
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
- package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2544
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1875
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
- package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2189
- package/sdk/application/Content/ContentApplicationModel.js +0 -1640
- package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -290
- package/sdk/application/Content/ContentApplicationValidator.js +0 -269
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -270
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -188
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -36
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -202
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +0 -289
- package/sdk/application/Finance/FinanceApplicationModel.js +0 -208
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +0 -25
- package/sdk/application/Finance/FinanceApplicationValidator.js +0 -31
- package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
- package/sdk/application/Lead/LeadApplicationModel.js +0 -480
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
- package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -2034
- package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1391
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -299
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -224
- package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2612
- package/sdk/application/Order/OrderApplicationModel.js +0 -1669
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -279
- package/sdk/application/Order/OrderApplicationValidator.js +0 -210
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4062
- package/sdk/application/Payment/PaymentApplicationModel.js +0 -2632
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
- package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
- package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
- package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
- package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
- package/sdk/application/Share/ShareApplicationModel.js +0 -234
- package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
- package/sdk/application/Share/ShareApplicationValidator.js +0 -91
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1744
- package/sdk/application/Theme/ThemeApplicationModel.js +0 -1446
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -79
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -65
- package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
- package/sdk/application/User/UserApplicationModel.js +0 -1382
- package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
- package/sdk/application/User/UserApplicationValidator.js +0 -573
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -54
- package/sdk/application/Webhook/WebhookApplicationModel.js +0 -48
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
- package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
- package/sdk/common/Clickstream.d.ts +0 -1
- package/sdk/common/Clickstream.js +0 -464
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
export = ConfigurationApplicationValidator;
|
|
2
|
-
/** @typedef GetAppCurrenciesParam */
|
|
3
|
-
/**
|
|
4
|
-
* @typedef GetAppStaffListParam
|
|
5
|
-
* @property {number} [pageNo] - The page number to navigate through the given
|
|
6
|
-
* set of results. Default value is 1.
|
|
7
|
-
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
8
|
-
* @property {boolean} [orderIncent] - Select `true` to retrieve the staff
|
|
9
|
-
* members eligible for getting incentives on orders.
|
|
10
|
-
* @property {number} [orderingStore] - ID of the ordering store. Helps in
|
|
11
|
-
* retrieving staff members working at a particular ordering store.
|
|
12
|
-
* @property {string} [user] - ID of the staff. Helps in retrieving the details
|
|
13
|
-
* of a particular staff member.
|
|
14
|
-
* @property {string} [userName] - Username of the member.
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* @typedef GetAppStaffsParam
|
|
18
|
-
* @property {boolean} [orderIncent] - Select `true` to retrieve the staff
|
|
19
|
-
* members eligible for getting incentives on orders.
|
|
20
|
-
* @property {number} [orderingStore] - ID of the ordering store. Helps in
|
|
21
|
-
* retrieving staff members working at a particular ordering store.
|
|
22
|
-
* @property {string} [user] - ID of the staff. Helps in retrieving the details
|
|
23
|
-
* of a particular staff member.
|
|
24
|
-
*/
|
|
25
|
-
/** @typedef GetApplicationParam */
|
|
26
|
-
/** @typedef GetBasicDetailsParam */
|
|
27
|
-
/** @typedef GetContactInfoParam */
|
|
28
|
-
/** @typedef GetCurrenciesParam */
|
|
29
|
-
/**
|
|
30
|
-
* @typedef GetCurrencyByIdParam
|
|
31
|
-
* @property {string} id - ID assigned to the currency.
|
|
32
|
-
*/
|
|
33
|
-
/** @typedef GetFeaturesParam */
|
|
34
|
-
/** @typedef GetIntegrationTokensParam */
|
|
35
|
-
/** @typedef GetLanguagesParam */
|
|
36
|
-
/**
|
|
37
|
-
* @typedef GetOrderingStoreCookieParam
|
|
38
|
-
* @property {ConfigurationApplicationModel.OrderingStoreSelectRequestSchema} body
|
|
39
|
-
*/
|
|
40
|
-
/**
|
|
41
|
-
* @typedef GetOrderingStoresParam
|
|
42
|
-
* @property {number} [pageNo] - The page number to navigate through the given
|
|
43
|
-
* set of results. Default value is 1.
|
|
44
|
-
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
45
|
-
* Default value is 10.
|
|
46
|
-
* @property {string} [q] - Store code or name of the ordering store.
|
|
47
|
-
*/
|
|
48
|
-
/** @typedef GetOwnerInfoParam */
|
|
49
|
-
/**
|
|
50
|
-
* @typedef GetStoreDetailByIdParam
|
|
51
|
-
* @property {number} storeId - Unique identifier for a store.
|
|
52
|
-
*/
|
|
53
|
-
/** @typedef RemoveOrderingStoreCookieParam */
|
|
54
|
-
declare class ConfigurationApplicationValidator {
|
|
55
|
-
/** @returns {GetAppCurrenciesParam} */
|
|
56
|
-
static getAppCurrencies(): any;
|
|
57
|
-
/** @returns {GetAppStaffListParam} */
|
|
58
|
-
static getAppStaffList(): GetAppStaffListParam;
|
|
59
|
-
/** @returns {GetAppStaffsParam} */
|
|
60
|
-
static getAppStaffs(): GetAppStaffsParam;
|
|
61
|
-
/** @returns {GetApplicationParam} */
|
|
62
|
-
static getApplication(): any;
|
|
63
|
-
/** @returns {GetBasicDetailsParam} */
|
|
64
|
-
static getBasicDetails(): any;
|
|
65
|
-
/** @returns {GetContactInfoParam} */
|
|
66
|
-
static getContactInfo(): any;
|
|
67
|
-
/** @returns {GetCurrenciesParam} */
|
|
68
|
-
static getCurrencies(): any;
|
|
69
|
-
/** @returns {GetCurrencyByIdParam} */
|
|
70
|
-
static getCurrencyById(): GetCurrencyByIdParam;
|
|
71
|
-
/** @returns {GetFeaturesParam} */
|
|
72
|
-
static getFeatures(): any;
|
|
73
|
-
/** @returns {GetIntegrationTokensParam} */
|
|
74
|
-
static getIntegrationTokens(): any;
|
|
75
|
-
/** @returns {GetLanguagesParam} */
|
|
76
|
-
static getLanguages(): any;
|
|
77
|
-
/** @returns {GetOrderingStoreCookieParam} */
|
|
78
|
-
static getOrderingStoreCookie(): GetOrderingStoreCookieParam;
|
|
79
|
-
/** @returns {GetOrderingStoresParam} */
|
|
80
|
-
static getOrderingStores(): GetOrderingStoresParam;
|
|
81
|
-
/** @returns {GetOwnerInfoParam} */
|
|
82
|
-
static getOwnerInfo(): any;
|
|
83
|
-
/** @returns {GetStoreDetailByIdParam} */
|
|
84
|
-
static getStoreDetailById(): GetStoreDetailByIdParam;
|
|
85
|
-
/** @returns {RemoveOrderingStoreCookieParam} */
|
|
86
|
-
static removeOrderingStoreCookie(): any;
|
|
87
|
-
}
|
|
88
|
-
declare namespace ConfigurationApplicationValidator {
|
|
89
|
-
export { GetAppCurrenciesParam, GetAppStaffListParam, GetAppStaffsParam, GetApplicationParam, GetBasicDetailsParam, GetContactInfoParam, GetCurrenciesParam, GetCurrencyByIdParam, GetFeaturesParam, GetIntegrationTokensParam, GetLanguagesParam, GetOrderingStoreCookieParam, GetOrderingStoresParam, GetOwnerInfoParam, GetStoreDetailByIdParam, RemoveOrderingStoreCookieParam };
|
|
90
|
-
}
|
|
91
|
-
type GetAppStaffListParam = {
|
|
92
|
-
/**
|
|
93
|
-
* - The page number to navigate through the given
|
|
94
|
-
* set of results. Default value is 1.
|
|
95
|
-
*/
|
|
96
|
-
pageNo?: number;
|
|
97
|
-
/**
|
|
98
|
-
* - The number of items to retrieve in each page.
|
|
99
|
-
*/
|
|
100
|
-
pageSize?: number;
|
|
101
|
-
/**
|
|
102
|
-
* - Select `true` to retrieve the staff
|
|
103
|
-
* members eligible for getting incentives on orders.
|
|
104
|
-
*/
|
|
105
|
-
orderIncent?: boolean;
|
|
106
|
-
/**
|
|
107
|
-
* - ID of the ordering store. Helps in
|
|
108
|
-
* retrieving staff members working at a particular ordering store.
|
|
109
|
-
*/
|
|
110
|
-
orderingStore?: number;
|
|
111
|
-
/**
|
|
112
|
-
* - ID of the staff. Helps in retrieving the details
|
|
113
|
-
* of a particular staff member.
|
|
114
|
-
*/
|
|
115
|
-
user?: string;
|
|
116
|
-
/**
|
|
117
|
-
* - Username of the member.
|
|
118
|
-
*/
|
|
119
|
-
userName?: string;
|
|
120
|
-
};
|
|
121
|
-
type GetAppStaffsParam = {
|
|
122
|
-
/**
|
|
123
|
-
* - Select `true` to retrieve the staff
|
|
124
|
-
* members eligible for getting incentives on orders.
|
|
125
|
-
*/
|
|
126
|
-
orderIncent?: boolean;
|
|
127
|
-
/**
|
|
128
|
-
* - ID of the ordering store. Helps in
|
|
129
|
-
* retrieving staff members working at a particular ordering store.
|
|
130
|
-
*/
|
|
131
|
-
orderingStore?: number;
|
|
132
|
-
/**
|
|
133
|
-
* - ID of the staff. Helps in retrieving the details
|
|
134
|
-
* of a particular staff member.
|
|
135
|
-
*/
|
|
136
|
-
user?: string;
|
|
137
|
-
};
|
|
138
|
-
type GetCurrencyByIdParam = {
|
|
139
|
-
/**
|
|
140
|
-
* - ID assigned to the currency.
|
|
141
|
-
*/
|
|
142
|
-
id: string;
|
|
143
|
-
};
|
|
144
|
-
type GetOrderingStoreCookieParam = {
|
|
145
|
-
body: ConfigurationApplicationModel.OrderingStoreSelectRequestSchema;
|
|
146
|
-
};
|
|
147
|
-
type GetOrderingStoresParam = {
|
|
148
|
-
/**
|
|
149
|
-
* - The page number to navigate through the given
|
|
150
|
-
* set of results. Default value is 1.
|
|
151
|
-
*/
|
|
152
|
-
pageNo?: number;
|
|
153
|
-
/**
|
|
154
|
-
* - The number of items to retrieve in each page.
|
|
155
|
-
* Default value is 10.
|
|
156
|
-
*/
|
|
157
|
-
pageSize?: number;
|
|
158
|
-
/**
|
|
159
|
-
* - Store code or name of the ordering store.
|
|
160
|
-
*/
|
|
161
|
-
q?: string;
|
|
162
|
-
};
|
|
163
|
-
type GetStoreDetailByIdParam = {
|
|
164
|
-
/**
|
|
165
|
-
* - Unique identifier for a store.
|
|
166
|
-
*/
|
|
167
|
-
storeId: number;
|
|
168
|
-
};
|
|
169
|
-
type GetAppCurrenciesParam = any;
|
|
170
|
-
type GetApplicationParam = any;
|
|
171
|
-
type GetBasicDetailsParam = any;
|
|
172
|
-
type GetContactInfoParam = any;
|
|
173
|
-
type GetCurrenciesParam = any;
|
|
174
|
-
type GetFeaturesParam = any;
|
|
175
|
-
type GetIntegrationTokensParam = any;
|
|
176
|
-
type GetLanguagesParam = any;
|
|
177
|
-
type GetOwnerInfoParam = any;
|
|
178
|
-
type RemoveOrderingStoreCookieParam = any;
|
|
179
|
-
import ConfigurationApplicationModel = require("./ConfigurationApplicationModel");
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
const Joi = require("joi");
|
|
2
|
-
|
|
3
|
-
const ConfigurationApplicationModel = require("./ConfigurationApplicationModel");
|
|
4
|
-
|
|
5
|
-
/** @typedef GetAppCurrenciesParam */
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @typedef GetAppStaffListParam
|
|
9
|
-
* @property {number} [pageNo] - The page number to navigate through the given
|
|
10
|
-
* set of results. Default value is 1.
|
|
11
|
-
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
12
|
-
* @property {boolean} [orderIncent] - Select `true` to retrieve the staff
|
|
13
|
-
* members eligible for getting incentives on orders.
|
|
14
|
-
* @property {number} [orderingStore] - ID of the ordering store. Helps in
|
|
15
|
-
* retrieving staff members working at a particular ordering store.
|
|
16
|
-
* @property {string} [user] - ID of the staff. Helps in retrieving the details
|
|
17
|
-
* of a particular staff member.
|
|
18
|
-
* @property {string} [userName] - Username of the member.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* @typedef GetAppStaffsParam
|
|
23
|
-
* @property {boolean} [orderIncent] - Select `true` to retrieve the staff
|
|
24
|
-
* members eligible for getting incentives on orders.
|
|
25
|
-
* @property {number} [orderingStore] - ID of the ordering store. Helps in
|
|
26
|
-
* retrieving staff members working at a particular ordering store.
|
|
27
|
-
* @property {string} [user] - ID of the staff. Helps in retrieving the details
|
|
28
|
-
* of a particular staff member.
|
|
29
|
-
*/
|
|
30
|
-
|
|
31
|
-
/** @typedef GetApplicationParam */
|
|
32
|
-
|
|
33
|
-
/** @typedef GetBasicDetailsParam */
|
|
34
|
-
|
|
35
|
-
/** @typedef GetContactInfoParam */
|
|
36
|
-
|
|
37
|
-
/** @typedef GetCurrenciesParam */
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @typedef GetCurrencyByIdParam
|
|
41
|
-
* @property {string} id - ID assigned to the currency.
|
|
42
|
-
*/
|
|
43
|
-
|
|
44
|
-
/** @typedef GetFeaturesParam */
|
|
45
|
-
|
|
46
|
-
/** @typedef GetIntegrationTokensParam */
|
|
47
|
-
|
|
48
|
-
/** @typedef GetLanguagesParam */
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* @typedef GetOrderingStoreCookieParam
|
|
52
|
-
* @property {ConfigurationApplicationModel.OrderingStoreSelectRequestSchema} body
|
|
53
|
-
*/
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @typedef GetOrderingStoresParam
|
|
57
|
-
* @property {number} [pageNo] - The page number to navigate through the given
|
|
58
|
-
* set of results. Default value is 1.
|
|
59
|
-
* @property {number} [pageSize] - The number of items to retrieve in each page.
|
|
60
|
-
* Default value is 10.
|
|
61
|
-
* @property {string} [q] - Store code or name of the ordering store.
|
|
62
|
-
*/
|
|
63
|
-
|
|
64
|
-
/** @typedef GetOwnerInfoParam */
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @typedef GetStoreDetailByIdParam
|
|
68
|
-
* @property {number} storeId - Unique identifier for a store.
|
|
69
|
-
*/
|
|
70
|
-
|
|
71
|
-
/** @typedef RemoveOrderingStoreCookieParam */
|
|
72
|
-
|
|
73
|
-
class ConfigurationApplicationValidator {
|
|
74
|
-
/** @returns {GetAppCurrenciesParam} */
|
|
75
|
-
static getAppCurrencies() {
|
|
76
|
-
return Joi.object({});
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/** @returns {GetAppStaffListParam} */
|
|
80
|
-
static getAppStaffList() {
|
|
81
|
-
return Joi.object({
|
|
82
|
-
pageNo: Joi.number(),
|
|
83
|
-
pageSize: Joi.number(),
|
|
84
|
-
orderIncent: Joi.boolean(),
|
|
85
|
-
orderingStore: Joi.number(),
|
|
86
|
-
user: Joi.string().allow(""),
|
|
87
|
-
userName: Joi.string().allow(""),
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/** @returns {GetAppStaffsParam} */
|
|
92
|
-
static getAppStaffs() {
|
|
93
|
-
return Joi.object({
|
|
94
|
-
orderIncent: Joi.boolean(),
|
|
95
|
-
orderingStore: Joi.number(),
|
|
96
|
-
user: Joi.string().allow(""),
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/** @returns {GetApplicationParam} */
|
|
101
|
-
static getApplication() {
|
|
102
|
-
return Joi.object({});
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/** @returns {GetBasicDetailsParam} */
|
|
106
|
-
static getBasicDetails() {
|
|
107
|
-
return Joi.object({});
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/** @returns {GetContactInfoParam} */
|
|
111
|
-
static getContactInfo() {
|
|
112
|
-
return Joi.object({});
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/** @returns {GetCurrenciesParam} */
|
|
116
|
-
static getCurrencies() {
|
|
117
|
-
return Joi.object({});
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
/** @returns {GetCurrencyByIdParam} */
|
|
121
|
-
static getCurrencyById() {
|
|
122
|
-
return Joi.object({
|
|
123
|
-
id: Joi.string().allow("").required(),
|
|
124
|
-
}).required();
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/** @returns {GetFeaturesParam} */
|
|
128
|
-
static getFeatures() {
|
|
129
|
-
return Joi.object({});
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/** @returns {GetIntegrationTokensParam} */
|
|
133
|
-
static getIntegrationTokens() {
|
|
134
|
-
return Joi.object({});
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/** @returns {GetLanguagesParam} */
|
|
138
|
-
static getLanguages() {
|
|
139
|
-
return Joi.object({});
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
/** @returns {GetOrderingStoreCookieParam} */
|
|
143
|
-
static getOrderingStoreCookie() {
|
|
144
|
-
return Joi.object({
|
|
145
|
-
body: ConfigurationApplicationModel.OrderingStoreSelectRequestSchema().required(),
|
|
146
|
-
}).required();
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/** @returns {GetOrderingStoresParam} */
|
|
150
|
-
static getOrderingStores() {
|
|
151
|
-
return Joi.object({
|
|
152
|
-
pageNo: Joi.number(),
|
|
153
|
-
pageSize: Joi.number(),
|
|
154
|
-
q: Joi.string().allow(""),
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/** @returns {GetOwnerInfoParam} */
|
|
159
|
-
static getOwnerInfo() {
|
|
160
|
-
return Joi.object({});
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/** @returns {GetStoreDetailByIdParam} */
|
|
164
|
-
static getStoreDetailById() {
|
|
165
|
-
return Joi.object({
|
|
166
|
-
storeId: Joi.number().required(),
|
|
167
|
-
}).required();
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
/** @returns {RemoveOrderingStoreCookieParam} */
|
|
171
|
-
static removeOrderingStoreCookie() {
|
|
172
|
-
return Joi.object({});
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
module.exports = ConfigurationApplicationValidator;
|