@gofynd/fdk-client-javascript 1.6.3 → 3.0.0-beta.1
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 +1 -1
- package/package.json +1 -1
- package/sdk/application/ApplicationClient.d.ts +0 -2
- package/sdk/application/ApplicationClient.js +0 -2
- package/sdk/application/Cart/CartApplicationClient.d.ts +113 -93
- package/sdk/application/Cart/CartApplicationClient.js +270 -139
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
- package/sdk/application/Catalog/CatalogApplicationClient.js +122 -138
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +43 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +190 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +71 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +103 -29
- package/sdk/application/Content/ContentApplicationClient.d.ts +51 -21
- package/sdk/application/Content/ContentApplicationClient.js +197 -36
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +3 -3
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +79 -64
- package/sdk/application/Logistic/LogisticApplicationClient.js +246 -264
- package/sdk/application/Order/OrderApplicationClient.d.ts +44 -24
- package/sdk/application/Order/OrderApplicationClient.js +140 -21
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +211 -111
- package/sdk/application/Payment/PaymentApplicationClient.js +610 -109
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +14 -14
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +23 -3
- package/sdk/application/Theme/ThemeApplicationClient.js +103 -5
- package/sdk/application/User/UserApplicationClient.d.ts +13 -23
- package/sdk/application/User/UserApplicationClient.js +9 -57
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
- package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +66 -0
- package/sdk/partner/Authorization/AuthorizationPartnerClient.js +431 -0
- package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +231 -0
- package/sdk/partner/Authorization/AuthorizationPartnerModel.js +152 -0
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +8 -0
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +39 -0
- package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +26 -0
- package/sdk/partner/Catalog/CatalogPartnerClient.js +173 -0
- package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +238 -0
- package/sdk/partner/Catalog/CatalogPartnerModel.js +248 -0
- package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +5 -0
- package/sdk/partner/Catalog/CatalogPartnerValidator.js +19 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -22
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +12 -87
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +33 -99
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +25 -84
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -10
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +100 -49
- package/sdk/partner/Lead/LeadPartnerModel.js +100 -74
- package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +33 -160
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +66 -1180
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +288 -1685
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +226 -824
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -13
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +14 -141
- package/sdk/partner/PartnerClient.d.ts +6 -0
- package/sdk/partner/PartnerClient.js +9 -0
- package/sdk/partner/Payment/PaymentPartnerClient.d.ts +116 -0
- package/sdk/partner/Payment/PaymentPartnerClient.js +857 -0
- package/sdk/partner/Payment/PaymentPartnerModel.d.ts +388 -0
- package/sdk/partner/Payment/PaymentPartnerModel.js +442 -0
- package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +14 -0
- package/sdk/partner/Payment/PaymentPartnerValidator.js +74 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +63 -21
- package/sdk/partner/Theme/ThemePartnerClient.js +396 -71
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +104 -72
- package/sdk/partner/Theme/ThemePartnerModel.js +101 -75
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +5 -1
- package/sdk/partner/Theme/ThemePartnerValidator.js +42 -12
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +191 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +159 -234
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
- package/sdk/partner/index.d.ts +3 -0
- package/sdk/partner/index.js +6 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +1 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +145 -49
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +171 -20
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +406 -15
- package/sdk/platform/Billing/BillingPlatformClient.js +3214 -76
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +3798 -459
- package/sdk/platform/Billing/BillingPlatformModel.js +2577 -342
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +465 -24
- package/sdk/platform/Billing/BillingPlatformValidator.js +490 -14
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +284 -205
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +671 -553
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +108 -132
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3136 -4788
- package/sdk/platform/Cart/CartPlatformModel.js +2850 -2031
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1015 -419
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +6450 -2010
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1121 -230
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +919 -127
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +372 -574
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1238 -1317
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +8351 -9825
- package/sdk/platform/Catalog/CatalogPlatformModel.js +9662 -6881
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +288 -235
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +241 -183
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -6
- package/sdk/platform/Common/CommonPlatformClient.js +5 -6
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +374 -234
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +875 -583
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +170 -139
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +145 -126
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +56 -3
- package/sdk/platform/Communication/CommunicationPlatformClient.js +307 -4
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +424 -252
- package/sdk/platform/Communication/CommunicationPlatformModel.js +540 -320
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +62 -3
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +48 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +68 -99
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +84 -140
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +238 -256
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +222 -244
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -20
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -20
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +333 -118
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1470 -409
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +158 -55
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +163 -41
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +151 -61
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +595 -101
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +1199 -462
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1008 -321
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +80 -34
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +79 -24
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +253 -140
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1087 -458
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +221 -178
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +220 -157
- package/sdk/platform/Content/ContentPlatformClient.d.ts +124 -123
- package/sdk/platform/Content/ContentPlatformClient.js +459 -379
- package/sdk/platform/Content/ContentPlatformModel.d.ts +833 -1307
- package/sdk/platform/Content/ContentPlatformModel.js +893 -582
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +140 -150
- package/sdk/platform/Content/ContentPlatformValidator.js +131 -135
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +60 -36
- package/sdk/platform/Discount/DiscountPlatformClient.js +85 -36
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +46 -47
- package/sdk/platform/Discount/DiscountPlatformModel.js +42 -46
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +24 -22
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +75 -86
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +60 -74
- 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 +2895 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2150 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +4 -24
- package/sdk/platform/Lead/LeadPlatformClient.js +4 -160
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +142 -57
- package/sdk/platform/Lead/LeadPlatformModel.js +162 -79
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +3 -29
- package/sdk/platform/Lead/LeadPlatformValidator.js +2 -28
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +94 -25
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +600 -57
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +115 -115
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +120 -43
- package/sdk/platform/Order/OrderPlatformClient.d.ts +502 -293
- package/sdk/platform/Order/OrderPlatformClient.js +1466 -913
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4111 -9093
- package/sdk/platform/Order/OrderPlatformModel.js +3202 -4230
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +445 -612
- package/sdk/platform/Order/OrderPlatformValidator.js +316 -326
- 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 +7 -7
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +382 -135
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +2453 -935
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +306 -93
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +305 -70
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +66 -56
- package/sdk/platform/Payment/PaymentPlatformClient.js +269 -124
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +3525 -1313
- package/sdk/platform/Payment/PaymentPlatformModel.js +3813 -1511
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +64 -35
- package/sdk/platform/Payment/PaymentPlatformValidator.js +60 -34
- 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 +14 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +344 -56
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +2180 -302
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +380 -54
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +336 -37
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +127 -213
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +538 -1306
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +3429 -2979
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3642 -1785
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +218 -392
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +151 -290
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +4 -16
- package/sdk/platform/Share/SharePlatformApplicationClient.js +8 -86
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -23
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +3 -16
- package/sdk/platform/Share/SharePlatformModel.d.ts +6 -50
- package/sdk/platform/Share/SharePlatformModel.js +3 -43
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +157 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +21 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +23 -6
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +18 -8
- package/sdk/platform/Theme/ThemePlatformClient.js +85 -8
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +425 -17
- package/sdk/platform/Theme/ThemePlatformModel.js +329 -23
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +7 -3
- package/sdk/platform/Theme/ThemePlatformValidator.js +9 -2
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +22 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +91 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +15 -3
- package/sdk/platform/User/UserPlatformApplicationValidator.js +14 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +223 -59
- package/sdk/platform/User/UserPlatformModel.js +204 -65
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +434 -758
- package/sdk/platform/Webhook/WebhookPlatformModel.js +395 -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/Billing/BillingPublicClient.d.ts +56 -0
- package/sdk/public/Billing/BillingPublicClient.js +397 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +919 -0
- package/sdk/public/Billing/BillingPublicModel.js +560 -0
- package/sdk/public/Billing/BillingPublicValidator.d.ts +43 -0
- package/sdk/public/Billing/BillingPublicValidator.js +50 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -4
- package/sdk/public/Configuration/ConfigurationPublicClient.js +97 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +102 -40
- package/sdk/public/Configuration/ConfigurationPublicModel.js +111 -29
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +11 -1
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +12 -0
- package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
- package/sdk/public/Content/ContentPublicClient.js +183 -0
- package/sdk/public/Content/ContentPublicModel.d.ts +38 -1
- package/sdk/public/Content/ContentPublicModel.js +47 -1
- package/sdk/public/Content/ContentPublicValidator.d.ts +17 -1
- package/sdk/public/Content/ContentPublicValidator.js +19 -0
- package/sdk/public/PublicClient.d.ts +2 -2
- package/sdk/public/PublicClient.js +2 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +67 -215
- package/sdk/public/Webhook/WebhookPublicModel.js +61 -66
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -1
- package/sdk/public/index.js +1 -1
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -126
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +0 -22
- package/sdk/public/Catalog/CatalogPublicClient.js +0 -138
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +0 -155
- package/sdk/public/Catalog/CatalogPublicModel.js +0 -116
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +0 -55
- package/sdk/public/Catalog/CatalogPublicValidator.js +0 -35
|
@@ -2,6 +2,20 @@ export = Content;
|
|
|
2
2
|
declare class Content {
|
|
3
3
|
constructor(config: any);
|
|
4
4
|
config: any;
|
|
5
|
+
/**
|
|
6
|
+
* @param {ContentPlatformValidator.CreateCustomFieldByResourceIdParam} arg
|
|
7
|
+
* - Arg object
|
|
8
|
+
*
|
|
9
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
10
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
11
|
+
* @returns {Promise<ContentPlatformModel.CustomFieldsResponseByResourceIdSchema>}
|
|
12
|
+
* - Success response
|
|
13
|
+
*
|
|
14
|
+
* @name createCustomFieldByResourceId
|
|
15
|
+
* @summary: Create custom field entries for gives resource and resource_id
|
|
16
|
+
* @description: Use this API to create the custom field entry for given resource and resource_id in param. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createCustomFieldByResourceId/).
|
|
17
|
+
*/
|
|
18
|
+
createCustomFieldByResourceId({ resource, resourceId, body, requestHeaders }?: ContentPlatformValidator.CreateCustomFieldByResourceIdParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldsResponseByResourceIdSchema>;
|
|
5
19
|
/**
|
|
6
20
|
* @param {ContentPlatformValidator.CreateCustomFieldDefinitionParam} arg - Arg object
|
|
7
21
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -10,71 +24,68 @@ declare class Content {
|
|
|
10
24
|
* - Success response
|
|
11
25
|
*
|
|
12
26
|
* @name createCustomFieldDefinition
|
|
13
|
-
* @summary: Create custom field definition
|
|
27
|
+
* @summary: Create custom field definition
|
|
14
28
|
* @description: You can create custom fields definition to any resource so you can extend property of resource. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createCustomFieldDefinition/).
|
|
15
29
|
*/
|
|
16
|
-
createCustomFieldDefinition({
|
|
30
|
+
createCustomFieldDefinition({ body, requestHeaders }?: ContentPlatformValidator.CreateCustomFieldDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>;
|
|
17
31
|
/**
|
|
18
|
-
* @param {ContentPlatformValidator.
|
|
32
|
+
* @param {ContentPlatformValidator.CreateCustomObjectParam} arg - Arg object
|
|
19
33
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
20
34
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
21
35
|
* @returns {Promise<ContentPlatformModel.CustomObjectSchema>} - Success response
|
|
22
|
-
* @name
|
|
36
|
+
* @name createCustomObject
|
|
23
37
|
* @summary: Create custom object entries
|
|
24
|
-
* @description: Custom object entries against the custom object definition can be added using this API. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/
|
|
38
|
+
* @description: Custom object entries against the custom object definition can be added using this API. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createCustomObject/).
|
|
25
39
|
*/
|
|
26
|
-
|
|
40
|
+
createCustomObject({ body, requestHeaders }?: ContentPlatformValidator.CreateCustomObjectParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectSchema>;
|
|
27
41
|
/**
|
|
28
42
|
* @param {ContentPlatformValidator.CreateCustomObjectDefinitionParam} arg
|
|
29
43
|
* - Arg object
|
|
30
44
|
*
|
|
31
45
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
32
46
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
33
|
-
* @returns {Promise<ContentPlatformModel.
|
|
34
|
-
*
|
|
35
|
-
*
|
|
47
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectDefinitionSchema>} -
|
|
48
|
+
* Success response
|
|
36
49
|
* @name createCustomObjectDefinition
|
|
37
50
|
* @summary: Create custom object definition
|
|
38
51
|
* @description: Create a custom object that will have a collection of custom fields and can be used anywhere in the custom field for any resource. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createCustomObjectDefinition/).
|
|
39
52
|
*/
|
|
40
|
-
createCustomObjectDefinition({ body, requestHeaders }?: ContentPlatformValidator.CreateCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.
|
|
53
|
+
createCustomObjectDefinition({ body, requestHeaders }?: ContentPlatformValidator.CreateCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionSchema>;
|
|
41
54
|
/**
|
|
42
|
-
* @param {ContentPlatformValidator.
|
|
43
|
-
* - Arg object
|
|
44
|
-
*
|
|
55
|
+
* @param {ContentPlatformValidator.DeleteCustomFieldDefinitionParam} arg - Arg object
|
|
45
56
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
46
57
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
47
58
|
* @returns {Promise<ContentPlatformModel.CustomDataDeleteSchema>} - Success response
|
|
48
|
-
* @name
|
|
59
|
+
* @name deleteCustomFieldDefinition
|
|
49
60
|
* @summary: Delete custom fields definition
|
|
50
|
-
* @description: Custom field definition and its assosiated custom fields value can be deleted using this api on the basis of definition id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/
|
|
61
|
+
* @description: Custom field definition and its assosiated custom fields value can be deleted using this api on the basis of definition id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomFieldDefinition/).
|
|
51
62
|
*/
|
|
52
|
-
|
|
63
|
+
deleteCustomFieldDefinition({ id, requestHeaders }?: ContentPlatformValidator.DeleteCustomFieldDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomDataDeleteSchema>;
|
|
53
64
|
/**
|
|
54
|
-
* @param {ContentPlatformValidator.
|
|
65
|
+
* @param {ContentPlatformValidator.DeleteCustomFieldsByResourceIdParam} arg
|
|
55
66
|
* - Arg object
|
|
56
67
|
*
|
|
57
68
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
58
69
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
59
70
|
* @returns {Promise<ContentPlatformModel.CustomFieldsDeleteSchema>} -
|
|
60
71
|
* Success response
|
|
61
|
-
* @name
|
|
62
|
-
* @summary:
|
|
63
|
-
* @description: Use this API to delete the custom fields for given resource in param. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/
|
|
72
|
+
* @name deleteCustomFieldsByResourceId
|
|
73
|
+
* @summary: Delete custom fields of given resource and resource id
|
|
74
|
+
* @description: Use this API to delete the custom fields for given resource in param. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomFieldsByResourceId/).
|
|
64
75
|
*/
|
|
65
|
-
|
|
76
|
+
deleteCustomFieldsByResourceId({ resource, resourceId, ids, requestHeaders }?: ContentPlatformValidator.DeleteCustomFieldsByResourceIdParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldsDeleteSchema>;
|
|
66
77
|
/**
|
|
67
|
-
* @param {ContentPlatformValidator.
|
|
78
|
+
* @param {ContentPlatformValidator.DeleteCustomObjectParam} arg - Arg object
|
|
68
79
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
69
80
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
70
81
|
* @returns {Promise<ContentPlatformModel.CustomDataDeleteSchema>} - Success response
|
|
71
|
-
* @name
|
|
82
|
+
* @name deleteCustomObject
|
|
72
83
|
* @summary: Delete custom object
|
|
73
|
-
* @description: Custom object entries can be deleted by providing the delete ID using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/
|
|
84
|
+
* @description: Custom object entries can be deleted by providing the delete ID using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomObject/).
|
|
74
85
|
*/
|
|
75
|
-
|
|
86
|
+
deleteCustomObject({ id, requestHeaders }?: ContentPlatformValidator.DeleteCustomObjectParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomDataDeleteSchema>;
|
|
76
87
|
/**
|
|
77
|
-
* @param {ContentPlatformValidator.
|
|
88
|
+
* @param {ContentPlatformValidator.DeleteCustomObjectDefinitionParam} arg
|
|
78
89
|
* - Arg object
|
|
79
90
|
*
|
|
80
91
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -82,52 +93,35 @@ declare class Content {
|
|
|
82
93
|
* @returns {Promise<ContentPlatformModel.CustomObjectDefinitionDeleteResponseSchema>}
|
|
83
94
|
* - Success response
|
|
84
95
|
*
|
|
85
|
-
* @name
|
|
86
|
-
* @summary:
|
|
87
|
-
* @description: Custom object definitions can be deleted using this endpoint by providing the definition ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/
|
|
96
|
+
* @name deleteCustomObjectDefinition
|
|
97
|
+
* @summary: delete custom object definition
|
|
98
|
+
* @description: Custom object definitions can be deleted using this endpoint by providing the definition ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomObjectDefinition/).
|
|
88
99
|
*/
|
|
89
|
-
|
|
100
|
+
deleteCustomObjectDefinition({ id, requestHeaders }?: ContentPlatformValidator.DeleteCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionDeleteResponseSchema>;
|
|
90
101
|
/**
|
|
91
|
-
* @param {ContentPlatformValidator.
|
|
92
|
-
* - Arg object
|
|
93
|
-
*
|
|
102
|
+
* @param {ContentPlatformValidator.ExportCustomObjectEntriesParam} arg - Arg object
|
|
94
103
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
95
104
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
96
105
|
* @returns {Promise<ContentPlatformModel.CustomObjectBulkEntryInitiateDownload>}
|
|
97
106
|
* - Success response
|
|
98
107
|
*
|
|
99
|
-
* @name
|
|
108
|
+
* @name exportCustomObjectEntries
|
|
100
109
|
* @summary: Initiate download for bulk custom object entries
|
|
101
|
-
* @description: Custom object bulk export of bulk entries can be perform using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/
|
|
102
|
-
*/
|
|
103
|
-
exportCustomObjectEntriesBySlug({ slug, requestHeaders }?: ContentPlatformValidator.ExportCustomObjectEntriesBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectBulkEntryInitiateDownload>;
|
|
104
|
-
/**
|
|
105
|
-
* @param {ContentPlatformValidator.GetCustomFieldDefinitionByResourceParam} arg
|
|
106
|
-
* - Arg object
|
|
107
|
-
*
|
|
108
|
-
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
109
|
-
* @param {import("../PlatformAPIClient").Options} - Options
|
|
110
|
-
* @returns {Promise<ContentPlatformModel.CustomFieldDefinitionsSchema>} -
|
|
111
|
-
* Success response
|
|
112
|
-
* @name getCustomFieldDefinitionByResource
|
|
113
|
-
* @summary: Get custom fields definitions for a given resource type
|
|
114
|
-
* @description: Custom field definitions enable you to include data validation for custom fields, and enable sellers to add custom fields values for resources. With the help of this seller can retrive list of custom field definitions list. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldDefinitionByResource/).
|
|
110
|
+
* @description: Custom object bulk export of bulk entries can be perform using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/exportCustomObjectEntries/).
|
|
115
111
|
*/
|
|
116
|
-
|
|
112
|
+
exportCustomObjectEntries({ definitionId, requestHeaders }?: ContentPlatformValidator.ExportCustomObjectEntriesParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectBulkEntryInitiateDownload>;
|
|
117
113
|
/**
|
|
118
|
-
* @param {ContentPlatformValidator.
|
|
119
|
-
* - Arg object
|
|
120
|
-
*
|
|
114
|
+
* @param {ContentPlatformValidator.GetCustomFieldDefinitionParam} arg - Arg object
|
|
121
115
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
122
116
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
123
|
-
* @returns {Promise<ContentPlatformModel.
|
|
117
|
+
* @returns {Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>}
|
|
124
118
|
* - Success response
|
|
125
119
|
*
|
|
126
|
-
* @name
|
|
127
|
-
* @summary: Get custom fields definition
|
|
128
|
-
* @description: Custom field definitions can be
|
|
120
|
+
* @name getCustomFieldDefinition
|
|
121
|
+
* @summary: Get custom fields definition
|
|
122
|
+
* @description: Custom field definitions can be fetch using definition id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldDefinition/).
|
|
129
123
|
*/
|
|
130
|
-
|
|
124
|
+
getCustomFieldDefinition({ id, requestHeaders }?: ContentPlatformValidator.GetCustomFieldDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>;
|
|
131
125
|
/**
|
|
132
126
|
* @param {ContentPlatformValidator.GetCustomFieldDefinitionsParam} arg - Arg object
|
|
133
127
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -138,7 +132,17 @@ declare class Content {
|
|
|
138
132
|
* @summary: Get custom fields definitions
|
|
139
133
|
* @description: Custom field definitions enable you to include data validation for custom fields, and enable sellers to add custom fields values for resources. With the help of this seller can retrive list of custom field definitions list. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldDefinitions/).
|
|
140
134
|
*/
|
|
141
|
-
getCustomFieldDefinitions({ pageNo, pageSize, resources, types, search, slugs,
|
|
135
|
+
getCustomFieldDefinitions({ pageNo, pageSize, resources, types, search, slugs, requestHeaders }?: ContentPlatformValidator.GetCustomFieldDefinitionsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionsSchema>;
|
|
136
|
+
/**
|
|
137
|
+
* @param {ContentPlatformValidator.GetCustomFieldJobsParam} arg - Arg object
|
|
138
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
139
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
140
|
+
* @returns {Promise<ContentPlatformModel.CustomFieldBulkEntry>} - Success response
|
|
141
|
+
* @name getCustomFieldJobs
|
|
142
|
+
* @summary: Fetch bulk import and export job list.
|
|
143
|
+
* @description: Use this api to get list of jobs of bulk import and exports - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldJobs/).
|
|
144
|
+
*/
|
|
145
|
+
getCustomFieldJobs({ page, pageSize, actionType, requestHeaders }?: ContentPlatformValidator.GetCustomFieldJobsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldBulkEntry>;
|
|
142
146
|
/**
|
|
143
147
|
* @param {ContentPlatformValidator.GetCustomFieldTypesParam} arg - Arg object
|
|
144
148
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -150,44 +154,49 @@ declare class Content {
|
|
|
150
154
|
*/
|
|
151
155
|
getCustomFieldTypes({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentPlatformModel.MetafieldTypesSchema>;
|
|
152
156
|
/**
|
|
153
|
-
* @param {ContentPlatformValidator.
|
|
154
|
-
*
|
|
155
|
-
*
|
|
157
|
+
* @param {ContentPlatformValidator.GetCustomFieldsParam} arg - Arg object
|
|
158
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
159
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
160
|
+
* @returns {Promise<ContentPlatformModel.CustomFieldsResponseSchema>} -
|
|
161
|
+
* Success response
|
|
162
|
+
* @name getCustomFields
|
|
163
|
+
* @summary: Get list of custom fields of given resource
|
|
164
|
+
* @description: Retrieves a list of custom fields attached to a particular resource by using the resource. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFields/).
|
|
165
|
+
*/
|
|
166
|
+
getCustomFields({ resource, requestHeaders }?: ContentPlatformValidator.GetCustomFieldsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldsResponseSchema>;
|
|
167
|
+
/**
|
|
168
|
+
* @param {ContentPlatformValidator.GetCustomFieldsByResourceIdParam} arg - Arg object
|
|
156
169
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
157
170
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
158
171
|
* @returns {Promise<ContentPlatformModel.CustomFieldsResponseByResourceIdSchema>}
|
|
159
172
|
* - Success response
|
|
160
173
|
*
|
|
161
|
-
* @name
|
|
162
|
-
* @summary: Get list of custom fields of given resource and resource
|
|
163
|
-
* @description: Retrieves a list of custom fields attached to a particular resource by using the resource and resource
|
|
174
|
+
* @name getCustomFieldsByResourceId
|
|
175
|
+
* @summary: Get list of custom fields of given resource and resource id
|
|
176
|
+
* @description: Retrieves a list of custom fields attached to a particular resource by using the resource and resource id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldsByResourceId/).
|
|
164
177
|
*/
|
|
165
|
-
|
|
178
|
+
getCustomFieldsByResourceId({ resource, resourceId, requestHeaders }?: ContentPlatformValidator.GetCustomFieldsByResourceIdParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldsResponseByResourceIdSchema>;
|
|
166
179
|
/**
|
|
167
|
-
* @param {ContentPlatformValidator.
|
|
180
|
+
* @param {ContentPlatformValidator.GetCustomObjectParam} arg - Arg object
|
|
168
181
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
169
182
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
170
|
-
* @returns {Promise<ContentPlatformModel.
|
|
171
|
-
*
|
|
172
|
-
* @name getCustomObjectBySlug
|
|
183
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectByIdSchema>} - Success response
|
|
184
|
+
* @name getCustomObject
|
|
173
185
|
* @summary: Get custom object details
|
|
174
|
-
* @description: Details of
|
|
186
|
+
* @description: Details of custom objects, their field details, definitions, and references can be obtained using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomObject/).
|
|
175
187
|
*/
|
|
176
|
-
|
|
188
|
+
getCustomObject({ id, requestHeaders }?: ContentPlatformValidator.GetCustomObjectParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectByIdSchema>;
|
|
177
189
|
/**
|
|
178
|
-
* @param {ContentPlatformValidator.
|
|
179
|
-
* - Arg object
|
|
180
|
-
*
|
|
190
|
+
* @param {ContentPlatformValidator.GetCustomObjectDefinitionParam} arg - Arg object
|
|
181
191
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
182
192
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
183
|
-
* @returns {Promise<ContentPlatformModel.
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
* @name getCustomObjectDefinitionBySlug
|
|
193
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectDefinitionSchema>} -
|
|
194
|
+
* Success response
|
|
195
|
+
* @name getCustomObjectDefinition
|
|
187
196
|
* @summary: Get custom object definition
|
|
188
|
-
* @description: Custom object definitions can be fetched using their
|
|
197
|
+
* @description: Custom object definitions can be fetched using their definition ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomObjectDefinition/).
|
|
189
198
|
*/
|
|
190
|
-
|
|
199
|
+
getCustomObjectDefinition({ id, requestHeaders }?: ContentPlatformValidator.GetCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionSchema>;
|
|
191
200
|
/**
|
|
192
201
|
* @param {ContentPlatformValidator.GetCustomObjectDefinitionsParam} arg - Arg object
|
|
193
202
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -196,19 +205,19 @@ declare class Content {
|
|
|
196
205
|
* Success response
|
|
197
206
|
* @name getCustomObjectDefinitions
|
|
198
207
|
* @summary: Get custom object definitions
|
|
199
|
-
* @description: Custom object definition lists can be obtained using this endpoint
|
|
208
|
+
* @description: Custom object definition lists can be obtained using this endpoint - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomObjectDefinitions/).
|
|
200
209
|
*/
|
|
201
210
|
getCustomObjectDefinitions({ pageNo, pageSize, search, requestHeaders }?: ContentPlatformValidator.GetCustomObjectDefinitionsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionsSchema>;
|
|
202
211
|
/**
|
|
203
|
-
* @param {ContentPlatformValidator.
|
|
212
|
+
* @param {ContentPlatformValidator.GetCustomObjectsParam} arg - Arg object
|
|
204
213
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
205
214
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
206
215
|
* @returns {Promise<ContentPlatformModel.CustomObjectsSchema>} - Success response
|
|
207
|
-
* @name
|
|
208
|
-
* @summary: Get list of custom objects
|
|
209
|
-
* @description: Custom object entries can fetch using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/
|
|
216
|
+
* @name getCustomObjects
|
|
217
|
+
* @summary: Get list of custom objects
|
|
218
|
+
* @description: Custom object entries can fetch using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomObjects/).
|
|
210
219
|
*/
|
|
211
|
-
|
|
220
|
+
getCustomObjects({ pageNo, pageSize, definitionId, requestHeaders }?: ContentPlatformValidator.GetCustomObjectsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectsSchema>;
|
|
212
221
|
/**
|
|
213
222
|
* @param {ContentPlatformValidator.GetJobsParam} arg - Arg object
|
|
214
223
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -230,33 +239,29 @@ declare class Content {
|
|
|
230
239
|
*/
|
|
231
240
|
getResources({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentPlatformModel.ResourcesSchema>;
|
|
232
241
|
/**
|
|
233
|
-
* @param {ContentPlatformValidator.
|
|
234
|
-
* - Arg object
|
|
235
|
-
*
|
|
242
|
+
* @param {ContentPlatformValidator.ImportCustomObjectEntriesParam} arg - Arg object
|
|
236
243
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
237
244
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
238
|
-
* @returns {Promise<ContentPlatformModel.
|
|
245
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectEntryBulkUploadResponse>}
|
|
239
246
|
* - Success response
|
|
240
247
|
*
|
|
241
|
-
* @name
|
|
248
|
+
* @name importCustomObjectEntries
|
|
242
249
|
* @summary: Bulk custom object entries upload
|
|
243
|
-
* @description: Custom object bulk import of bulk entries can be performed using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/
|
|
250
|
+
* @description: Custom object bulk import of bulk entries can be performed using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/importCustomObjectEntries/).
|
|
244
251
|
*/
|
|
245
|
-
|
|
252
|
+
importCustomObjectEntries({ definitionId, body, requestHeaders }?: ContentPlatformValidator.ImportCustomObjectEntriesParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectEntryBulkUploadResponse>;
|
|
246
253
|
/**
|
|
247
|
-
* @param {ContentPlatformValidator.
|
|
248
|
-
* - Arg object
|
|
249
|
-
*
|
|
254
|
+
* @param {ContentPlatformValidator.SampleCustomObjectBulkEntryParam} arg - Arg object
|
|
250
255
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
251
256
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
252
257
|
* @returns {Promise<string>} - Success response
|
|
253
|
-
* @name
|
|
258
|
+
* @name sampleCustomObjectBulkEntry
|
|
254
259
|
* @summary: Download sample for custom object bulk entry
|
|
255
|
-
* @description: Sample files for custom object bulk import can be obtained from this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/
|
|
260
|
+
* @description: Sample files for custom object bulk import can be obtained from this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/sampleCustomObjectBulkEntry/).
|
|
256
261
|
*/
|
|
257
|
-
|
|
262
|
+
sampleCustomObjectBulkEntry({ definitionId, requestHeaders }?: ContentPlatformValidator.SampleCustomObjectBulkEntryParam, { responseHeaders }?: object): Promise<string>;
|
|
258
263
|
/**
|
|
259
|
-
* @param {ContentPlatformValidator.
|
|
264
|
+
* @param {ContentPlatformValidator.UpdateCustomFieldByResourceIdParam} arg
|
|
260
265
|
* - Arg object
|
|
261
266
|
*
|
|
262
267
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
@@ -264,50 +269,46 @@ declare class Content {
|
|
|
264
269
|
* @returns {Promise<ContentPlatformModel.CustomFieldsResponseByResourceIdSchema>}
|
|
265
270
|
* - Success response
|
|
266
271
|
*
|
|
267
|
-
* @name
|
|
268
|
-
* @summary: Update custom field entries for gives resource and
|
|
269
|
-
* @description: You can
|
|
272
|
+
* @name updateCustomFieldByResourceId
|
|
273
|
+
* @summary: Update custom field entries for gives resource and resource_id
|
|
274
|
+
* @description: You can edit a custom field using this endpoint to any resource by providing the resource ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCustomFieldByResourceId/).
|
|
270
275
|
*/
|
|
271
|
-
|
|
276
|
+
updateCustomFieldByResourceId({ resource, resourceId, body, requestHeaders }?: ContentPlatformValidator.UpdateCustomFieldByResourceIdParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldsResponseByResourceIdSchema>;
|
|
272
277
|
/**
|
|
273
|
-
* @param {ContentPlatformValidator.
|
|
274
|
-
* - Arg object
|
|
275
|
-
*
|
|
278
|
+
* @param {ContentPlatformValidator.UpdateCustomFieldDefinitionParam} arg - Arg object
|
|
276
279
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
277
280
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
278
281
|
* @returns {Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>}
|
|
279
282
|
* - Success response
|
|
280
283
|
*
|
|
281
|
-
* @name
|
|
284
|
+
* @name updateCustomFieldDefinition
|
|
282
285
|
* @summary: Update custom field definition
|
|
283
|
-
* @description: Custom fields definition can be update using this api, You can update custom field definition name and description. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/
|
|
286
|
+
* @description: Custom fields definition can be update using this api, You can update custom field definition name and description. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCustomFieldDefinition/).
|
|
284
287
|
*/
|
|
285
|
-
|
|
288
|
+
updateCustomFieldDefinition({ id, body, requestHeaders }?: ContentPlatformValidator.UpdateCustomFieldDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>;
|
|
286
289
|
/**
|
|
287
|
-
* @param {ContentPlatformValidator.
|
|
290
|
+
* @param {ContentPlatformValidator.UpdateCustomObjectParam} arg - Arg object
|
|
288
291
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
289
292
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
290
|
-
* @returns {Promise<ContentPlatformModel.
|
|
291
|
-
*
|
|
292
|
-
* @name updateCustomObjectBySlug
|
|
293
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectSchema>} - Success response
|
|
294
|
+
* @name updateCustomObject
|
|
293
295
|
* @summary: Update custom object details
|
|
294
|
-
* @description: Custom object entries can be updated using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/
|
|
296
|
+
* @description: Custom object entries can be updated using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCustomObject/).
|
|
295
297
|
*/
|
|
296
|
-
|
|
298
|
+
updateCustomObject({ id, body, requestHeaders }?: ContentPlatformValidator.UpdateCustomObjectParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectSchema>;
|
|
297
299
|
/**
|
|
298
|
-
* @param {ContentPlatformValidator.
|
|
300
|
+
* @param {ContentPlatformValidator.UpdateCustomObjectDefinitionParam} arg
|
|
299
301
|
* - Arg object
|
|
300
302
|
*
|
|
301
303
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
302
304
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
303
|
-
* @returns {Promise<ContentPlatformModel.
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
-
* @name updateCustomObjectDefinitionBySlug
|
|
305
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectDefinitionSchema>} -
|
|
306
|
+
* Success response
|
|
307
|
+
* @name updateCustomObjectDefinition
|
|
307
308
|
* @summary: Update custom object definition
|
|
308
|
-
* @description: Custom object definitions can be updated using this endpoint. You can update the name and description of the custom object and add more custom field definitions to the existing custom object. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/
|
|
309
|
+
* @description: Custom object definitions can be updated using this endpoint. You can update the name and description of the custom object and add more custom field definitions to the existing custom object. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCustomObjectDefinition/).
|
|
309
310
|
*/
|
|
310
|
-
|
|
311
|
+
updateCustomObjectDefinition({ id, body, requestHeaders }?: ContentPlatformValidator.UpdateCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionSchema>;
|
|
311
312
|
}
|
|
312
313
|
import ContentPlatformValidator = require("./ContentPlatformValidator");
|
|
313
314
|
import ContentPlatformModel = require("./ContentPlatformModel");
|