@gofynd/fdk-client-javascript 1.3.11-beta.6 → 1.3.11-beta.8
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/Cart/CartApplicationClient.d.ts +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +5 -3
- package/sdk/application/Cart/CartApplicationModel.d.ts +107 -1
- package/sdk/application/Cart/CartApplicationModel.js +74 -0
- package/sdk/application/Cart/CartApplicationValidator.d.ts +4 -0
- package/sdk/application/Cart/CartApplicationValidator.js +4 -0
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +3 -6
- package/sdk/application/Catalog/CatalogApplicationClient.js +7 -20
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2 -2
- package/sdk/application/Catalog/CatalogApplicationModel.js +2 -2
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -14
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -6
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +183 -49
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +173 -31
- package/sdk/application/Content/ContentApplicationClient.d.ts +36 -0
- package/sdk/application/Content/ContentApplicationClient.js +246 -0
- package/sdk/application/Content/ContentApplicationModel.d.ts +208 -1
- package/sdk/application/Content/ContentApplicationModel.js +252 -0
- package/sdk/application/Content/ContentApplicationValidator.d.ts +40 -1
- package/sdk/application/Content/ContentApplicationValidator.js +41 -0
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +67 -0
- package/sdk/application/Logistic/LogisticApplicationClient.js +547 -0
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +456 -1
- package/sdk/application/Logistic/LogisticApplicationModel.js +488 -0
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +211 -1
- package/sdk/application/Logistic/LogisticApplicationValidator.js +131 -0
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +32 -8
- package/sdk/application/Order/OrderApplicationModel.d.ts +6 -0
- package/sdk/application/Order/OrderApplicationModel.js +6 -0
- package/sdk/application/Order/OrderApplicationValidator.d.ts +20 -0
- package/sdk/application/Order/OrderApplicationValidator.js +8 -0
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -2
- package/sdk/application/Payment/PaymentApplicationClient.js +341 -10
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +493 -186
- package/sdk/application/Payment/PaymentApplicationModel.js +341 -70
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +59 -14
- package/sdk/application/Payment/PaymentApplicationValidator.js +64 -10
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +34 -1
- package/sdk/application/PosCart/PosCartApplicationModel.js +24 -0
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.js +7 -3
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +222 -36
- package/sdk/application/Theme/ThemeApplicationModel.js +322 -26
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +10 -0
- package/sdk/application/Theme/ThemeApplicationValidator.js +4 -0
- package/sdk/application/User/UserApplicationClient.d.ts +33 -0
- package/sdk/application/User/UserApplicationClient.js +239 -0
- package/sdk/application/User/UserApplicationModel.d.ts +28 -13
- package/sdk/application/User/UserApplicationModel.js +36 -12
- package/sdk/application/User/UserApplicationValidator.d.ts +34 -1
- package/sdk/application/User/UserApplicationValidator.js +36 -0
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +125 -0
- package/sdk/partner/Lead/LeadPartnerClient.js +785 -0
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +1127 -0
- package/sdk/partner/Lead/LeadPartnerModel.js +896 -0
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +12 -0
- package/sdk/partner/Lead/LeadPartnerValidator.js +67 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +155 -0
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1195 -0
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +372 -0
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +442 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +16 -0
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +123 -0
- package/sdk/partner/PartnerClient.d.ts +6 -0
- package/sdk/partner/PartnerClient.js +9 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +80 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +100 -43
- package/sdk/partner/Theme/ThemePartnerModel.js +74 -30
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +9 -0
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +99 -0
- package/sdk/partner/Webhook/WebhookPartnerClient.js +753 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +566 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.js +583 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +12 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +74 -0
- package/sdk/partner/index.d.ts +3 -0
- package/sdk/partner/index.js +6 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +11 -1
- package/sdk/platform/Billing/BillingPlatformClient.js +110 -3
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +67 -1
- package/sdk/platform/Billing/BillingPlatformModel.js +78 -0
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +43 -4
- package/sdk/platform/Billing/BillingPlatformValidator.js +29 -2
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +7 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +4 -0
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +100 -5
- package/sdk/platform/Cart/CartPlatformModel.js +71 -4
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +15 -11
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +52 -21
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +27 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +11 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +26 -4
- package/sdk/platform/Catalog/CatalogPlatformClient.js +173 -7
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +304 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.js +335 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -3
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +27 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +138 -36
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +739 -57
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +128 -3
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +111 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +150 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.js +172 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +8 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -4
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +38 -9
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +42 -8
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +14 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +6 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +371 -132
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +288 -77
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +391 -0
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +3630 -1059
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +342 -1
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +401 -0
- package/sdk/platform/Content/ContentPlatformClient.d.ts +277 -0
- package/sdk/platform/Content/ContentPlatformClient.js +2000 -0
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1094 -1
- package/sdk/platform/Content/ContentPlatformModel.js +1356 -46
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +238 -0
- package/sdk/platform/Content/ContentPlatformValidator.js +310 -0
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +96 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +104 -12
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +16 -6
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +117 -8
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +55 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +39 -2
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +16 -5
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +18 -4
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +33 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +240 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +151 -5
- package/sdk/platform/Finance/FinancePlatformModel.js +190 -4
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +38 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +38 -0
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +38 -28
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +137 -56
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +41 -29
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +33 -21
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +12 -3
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +23 -1
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +178 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +39 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +202 -31
- package/sdk/platform/Order/OrderPlatformClient.js +2010 -586
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1030 -468
- package/sdk/platform/Order/OrderPlatformModel.js +1176 -523
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +318 -35
- package/sdk/platform/Order/OrderPlatformValidator.js +292 -29
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +119 -13
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +749 -39
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +143 -7
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +133 -6
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +996 -134
- package/sdk/platform/Payment/PaymentPlatformModel.js +721 -58
- package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/PlatformApplicationClient.js +4 -4
- package/sdk/platform/PlatformClient.d.ts +4 -2
- package/sdk/platform/PlatformClient.js +8 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +142 -66
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +645 -147
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +131 -63
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +126 -47
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +217 -105
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1136 -347
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +912 -313
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1071 -355
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +382 -133
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +266 -102
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +11 -1
- package/sdk/platform/Theme/ThemePlatformClient.js +87 -3
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +333 -47
- package/sdk/platform/Theme/ThemePlatformModel.js +395 -35
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +28 -4
- package/sdk/platform/Theme/ThemePlatformValidator.js +21 -2
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +116 -1
- package/sdk/platform/User/UserPlatformApplicationClient.js +931 -85
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +224 -7
- package/sdk/platform/User/UserPlatformApplicationValidator.js +173 -5
- package/sdk/platform/User/UserPlatformModel.d.ts +344 -7
- package/sdk/platform/User/UserPlatformModel.js +256 -5
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +47 -39
- package/sdk/platform/Webhook/WebhookPlatformClient.js +63 -61
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +264 -156
- package/sdk/platform/Webhook/WebhookPlatformModel.js +276 -153
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +7 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
- package/sdk/platform/index.d.ts +1 -1
- package/sdk/platform/index.js +2 -2
- package/sdk/public/Billing/BillingPublicClient.d.ts +23 -0
- package/sdk/public/Billing/BillingPublicClient.js +116 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +92 -0
- package/sdk/public/Billing/BillingPublicModel.js +96 -0
- package/sdk/public/Billing/BillingPublicValidator.d.ts +18 -0
- package/sdk/public/Billing/BillingPublicValidator.js +19 -0
- package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
- package/sdk/public/Content/ContentPublicClient.js +114 -0
- package/sdk/public/Content/ContentPublicModel.d.ts +53 -0
- package/sdk/public/Content/ContentPublicModel.js +60 -0
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -0
- package/sdk/public/Content/ContentPublicValidator.js +19 -0
- package/sdk/public/PublicClient.d.ts +4 -0
- package/sdk/public/PublicClient.js +8 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +33 -0
- package/sdk/public/Webhook/WebhookPublicClient.js +242 -0
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +147 -1
- package/sdk/public/Webhook/WebhookPublicModel.js +177 -1
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +23 -1
- package/sdk/public/Webhook/WebhookPublicValidator.js +31 -0
- package/sdk/public/index.d.ts +2 -0
- package/sdk/public/index.js +4 -0
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
export = Content;
|
|
2
|
+
declare class Content {
|
|
3
|
+
constructor(config: any);
|
|
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>;
|
|
19
|
+
/**
|
|
20
|
+
* @param {ContentPlatformValidator.CreateCustomFieldDefinitionParam} arg - Arg object
|
|
21
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
22
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
23
|
+
* @returns {Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>}
|
|
24
|
+
* - Success response
|
|
25
|
+
*
|
|
26
|
+
* @name createCustomFieldDefinition
|
|
27
|
+
* @summary: Create custom field definition
|
|
28
|
+
* @description: Use this API to create a custom field definition for your application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createCustomFieldDefinition/).
|
|
29
|
+
*/
|
|
30
|
+
createCustomFieldDefinition({ body, requestHeaders }?: ContentPlatformValidator.CreateCustomFieldDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>;
|
|
31
|
+
/**
|
|
32
|
+
* @param {ContentPlatformValidator.CreateCustomObjectParam} arg - Arg object
|
|
33
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
34
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
35
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectSchema>} - Success response
|
|
36
|
+
* @name createCustomObject
|
|
37
|
+
* @summary: Create custom object entries
|
|
38
|
+
* @description: Use this API to create the custom object entry. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createCustomObject/).
|
|
39
|
+
*/
|
|
40
|
+
createCustomObject({ body, requestHeaders }?: ContentPlatformValidator.CreateCustomObjectParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectSchema>;
|
|
41
|
+
/**
|
|
42
|
+
* @param {ContentPlatformValidator.CreateCustomObjectDefinitionParam} arg
|
|
43
|
+
* - Arg object
|
|
44
|
+
*
|
|
45
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
46
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
47
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectDefinitionSchema>} -
|
|
48
|
+
* Success response
|
|
49
|
+
* @name createCustomObjectDefinition
|
|
50
|
+
* @summary: Create custom object definition
|
|
51
|
+
* @description: Use this API to create custom object defintion - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createCustomObjectDefinition/).
|
|
52
|
+
*/
|
|
53
|
+
createCustomObjectDefinition({ body, requestHeaders }?: ContentPlatformValidator.CreateCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionSchema>;
|
|
54
|
+
/**
|
|
55
|
+
* @param {ContentPlatformValidator.DeleteCustomFieldDefinitionParam} arg - Arg object
|
|
56
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
57
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
58
|
+
* @returns {Promise<ContentPlatformModel.CustomDataDeleteSchema>} - Success response
|
|
59
|
+
* @name deleteCustomFieldDefinition
|
|
60
|
+
* @summary: Delete custom fields definition.
|
|
61
|
+
* @description: Use this API to delete the definitions of custom fields using definition_id. This will also delete related custom fields entries related to this definition. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomFieldDefinition/).
|
|
62
|
+
*/
|
|
63
|
+
deleteCustomFieldDefinition({ definitionId, requestHeaders }?: ContentPlatformValidator.DeleteCustomFieldDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomDataDeleteSchema>;
|
|
64
|
+
/**
|
|
65
|
+
* @param {ContentPlatformValidator.DeleteCustomObjectParam} arg - Arg object
|
|
66
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
67
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
68
|
+
* @returns {Promise<ContentPlatformModel.CustomDataDeleteSchema>} - Success response
|
|
69
|
+
* @name deleteCustomObject
|
|
70
|
+
* @summary: Delete custom object
|
|
71
|
+
* @description: Use this API to delete the custom object entry by id. This will also delete related custom fields entries related to this custom object. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomObject/).
|
|
72
|
+
*/
|
|
73
|
+
deleteCustomObject({ metaobjectId, requestHeaders }?: ContentPlatformValidator.DeleteCustomObjectParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomDataDeleteSchema>;
|
|
74
|
+
/**
|
|
75
|
+
* @param {ContentPlatformValidator.DeleteCustomObjectDefinitionParam} arg
|
|
76
|
+
* - Arg object
|
|
77
|
+
*
|
|
78
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
79
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
80
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectDefinitionDeleteResponseSchema>}
|
|
81
|
+
* - Success response
|
|
82
|
+
*
|
|
83
|
+
* @name deleteCustomObjectDefinition
|
|
84
|
+
* @summary: delete custom object definition by id
|
|
85
|
+
* @description: Use this API to delete a custom object definition and related data for your application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomObjectDefinition/).
|
|
86
|
+
*/
|
|
87
|
+
deleteCustomObjectDefinition({ definitionId, requestHeaders }?: ContentPlatformValidator.DeleteCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionDeleteResponseSchema>;
|
|
88
|
+
/**
|
|
89
|
+
* @param {ContentPlatformValidator.ExportCustomObjectEntriesParam} arg - Arg object
|
|
90
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
91
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
92
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectBulkEntryInitiateDownload>}
|
|
93
|
+
* - Success response
|
|
94
|
+
*
|
|
95
|
+
* @name exportCustomObjectEntries
|
|
96
|
+
* @summary: Initiate download for bulk custom object entries
|
|
97
|
+
* @description: Use this api to initiate download of bulk entries - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/exportCustomObjectEntries/).
|
|
98
|
+
*/
|
|
99
|
+
exportCustomObjectEntries({ definitionId, requestHeaders }?: ContentPlatformValidator.ExportCustomObjectEntriesParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectBulkEntryInitiateDownload>;
|
|
100
|
+
/**
|
|
101
|
+
* @param {ContentPlatformValidator.GetCustomFieldDefinitionParam} arg - Arg object
|
|
102
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
103
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
104
|
+
* @returns {Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>}
|
|
105
|
+
* - Success response
|
|
106
|
+
*
|
|
107
|
+
* @name getCustomFieldDefinition
|
|
108
|
+
* @summary: Get custom fields definition by id
|
|
109
|
+
* @description: Use this API to retrieve the definitions of custom fields using definition_id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldDefinition/).
|
|
110
|
+
*/
|
|
111
|
+
getCustomFieldDefinition({ definitionId, requestHeaders }?: ContentPlatformValidator.GetCustomFieldDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>;
|
|
112
|
+
/**
|
|
113
|
+
* @param {ContentPlatformValidator.GetCustomFieldDefinitionsParam} arg - Arg object
|
|
114
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
115
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
116
|
+
* @returns {Promise<ContentPlatformModel.CustomFieldDefinitionsSchema>} -
|
|
117
|
+
* Success response
|
|
118
|
+
* @name getCustomFieldDefinitions
|
|
119
|
+
* @summary: Get custom fields definitions
|
|
120
|
+
* @description: Use this API to retrieve the definitions of custom fields. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldDefinitions/).
|
|
121
|
+
*/
|
|
122
|
+
getCustomFieldDefinitions({ pageNo, pageSize, resource, type, search, requestHeaders }?: ContentPlatformValidator.GetCustomFieldDefinitionsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionsSchema>;
|
|
123
|
+
/**
|
|
124
|
+
* @param {ContentPlatformValidator.GetCustomFieldTypesParam} arg - Arg object
|
|
125
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
126
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
127
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectByIdSchema>} - Success response
|
|
128
|
+
* @name getCustomFieldTypes
|
|
129
|
+
* @summary: Get custom field types
|
|
130
|
+
* @description: Use this API to retrieve the custom field types - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldTypes/).
|
|
131
|
+
*/
|
|
132
|
+
getCustomFieldTypes({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectByIdSchema>;
|
|
133
|
+
/**
|
|
134
|
+
* @param {ContentPlatformValidator.GetCustomFieldsParam} arg - Arg object
|
|
135
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
136
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
137
|
+
* @returns {Promise<ContentPlatformModel.CustomFieldsResponseSchema>} -
|
|
138
|
+
* Success response
|
|
139
|
+
* @name getCustomFields
|
|
140
|
+
* @summary: Get list of custom fields of given resource
|
|
141
|
+
* @description: Use this API to retrieve the custom fields for given resource in param. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFields/).
|
|
142
|
+
*/
|
|
143
|
+
getCustomFields({ resource, requestHeaders }?: ContentPlatformValidator.GetCustomFieldsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldsResponseSchema>;
|
|
144
|
+
/**
|
|
145
|
+
* @param {ContentPlatformValidator.GetCustomFieldsByResourceIdParam} arg - Arg object
|
|
146
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
147
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
148
|
+
* @returns {Promise<ContentPlatformModel.CustomFieldsResponseByResourceIdSchema>}
|
|
149
|
+
* - Success response
|
|
150
|
+
*
|
|
151
|
+
* @name getCustomFieldsByResourceId
|
|
152
|
+
* @summary: Get list of custom fields of given resource and resource id
|
|
153
|
+
* @description: Use this API to retrieve the custom fields for given resource in param. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldsByResourceId/).
|
|
154
|
+
*/
|
|
155
|
+
getCustomFieldsByResourceId({ resource, resourceId, requestHeaders }?: ContentPlatformValidator.GetCustomFieldsByResourceIdParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldsResponseByResourceIdSchema>;
|
|
156
|
+
/**
|
|
157
|
+
* @param {ContentPlatformValidator.GetCustomObjectParam} arg - Arg object
|
|
158
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
159
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
160
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectByIdSchema>} - Success response
|
|
161
|
+
* @name getCustomObject
|
|
162
|
+
* @summary: Get custom object details
|
|
163
|
+
* @description: Use this API to retrieve the custom object details and their fields details and definitions and references. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomObject/).
|
|
164
|
+
*/
|
|
165
|
+
getCustomObject({ metaobjectId, requestHeaders }?: ContentPlatformValidator.GetCustomObjectParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectByIdSchema>;
|
|
166
|
+
/**
|
|
167
|
+
* @param {ContentPlatformValidator.GetCustomObjectDefinitionParam} arg - Arg object
|
|
168
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
169
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
170
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectDefinitionSchema>} -
|
|
171
|
+
* Success response
|
|
172
|
+
* @name getCustomObjectDefinition
|
|
173
|
+
* @summary: get custom object definition by id
|
|
174
|
+
* @description: Use this API to update a custom object definition for your application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomObjectDefinition/).
|
|
175
|
+
*/
|
|
176
|
+
getCustomObjectDefinition({ definitionId, requestHeaders }?: ContentPlatformValidator.GetCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionSchema>;
|
|
177
|
+
/**
|
|
178
|
+
* @param {ContentPlatformValidator.GetCustomObjectDefinitionsParam} arg - Arg object
|
|
179
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
180
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
181
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectDefinitionsSchema>} -
|
|
182
|
+
* Success response
|
|
183
|
+
* @name getCustomObjectDefinitions
|
|
184
|
+
* @summary: Get custom object definitions
|
|
185
|
+
* @description: Use this API to retrieve the custom object definitions - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomObjectDefinitions/).
|
|
186
|
+
*/
|
|
187
|
+
getCustomObjectDefinitions({ pageNo, pageSize, search, requestHeaders }?: ContentPlatformValidator.GetCustomObjectDefinitionsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionsSchema>;
|
|
188
|
+
/**
|
|
189
|
+
* @param {ContentPlatformValidator.GetCustomObjectsParam} arg - Arg object
|
|
190
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
191
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
192
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectsSchema>} - Success response
|
|
193
|
+
* @name getCustomObjects
|
|
194
|
+
* @summary: Get list of custom objects
|
|
195
|
+
* @description: Use this API to retrieve the custom objects. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomObjects/).
|
|
196
|
+
*/
|
|
197
|
+
getCustomObjects({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectsSchema>;
|
|
198
|
+
/**
|
|
199
|
+
* @param {ContentPlatformValidator.GetJobsParam} arg - Arg object
|
|
200
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
201
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
202
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectBulkEntry>} - Success response
|
|
203
|
+
* @name getJobs
|
|
204
|
+
* @summary: Fetch bulk import and export job list.
|
|
205
|
+
* @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/getJobs/).
|
|
206
|
+
*/
|
|
207
|
+
getJobs({ page, pageSize, actionType, requestHeaders }?: ContentPlatformValidator.GetJobsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectBulkEntry>;
|
|
208
|
+
/**
|
|
209
|
+
* @param {ContentPlatformValidator.GetResourcesParam} arg - Arg object
|
|
210
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
211
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
212
|
+
* @returns {Promise<ContentPlatformModel.ResourcesSchema>} - Success response
|
|
213
|
+
* @name getResources
|
|
214
|
+
* @summary: Get resources
|
|
215
|
+
* @description: Use this API to retrieve the resources, such as products, collections, customers, selling locations, etc. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getResources/).
|
|
216
|
+
*/
|
|
217
|
+
getResources({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentPlatformModel.ResourcesSchema>;
|
|
218
|
+
/**
|
|
219
|
+
* @param {ContentPlatformValidator.ImportCustomObjectEntriesParam} arg - Arg object
|
|
220
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
221
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
222
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectEntryBulkUploadResponse>}
|
|
223
|
+
* - Success response
|
|
224
|
+
*
|
|
225
|
+
* @name importCustomObjectEntries
|
|
226
|
+
* @summary: Bulk custom object entries upload
|
|
227
|
+
* @description: Use this API to upload custom object entries - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/importCustomObjectEntries/).
|
|
228
|
+
*/
|
|
229
|
+
importCustomObjectEntries({ definitionId, body, requestHeaders }?: ContentPlatformValidator.ImportCustomObjectEntriesParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectEntryBulkUploadResponse>;
|
|
230
|
+
/**
|
|
231
|
+
* @param {ContentPlatformValidator.SampleCustomObjectBulkEntryParam} arg - Arg object
|
|
232
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
233
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
234
|
+
* @returns {Promise<string>} - Success response
|
|
235
|
+
* @name sampleCustomObjectBulkEntry
|
|
236
|
+
* @summary: download sample for custom object bulk entry
|
|
237
|
+
* @description: Use this api to get sample csv file - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/sampleCustomObjectBulkEntry/).
|
|
238
|
+
*/
|
|
239
|
+
sampleCustomObjectBulkEntry({ definitionId, requestHeaders }?: ContentPlatformValidator.SampleCustomObjectBulkEntryParam, { responseHeaders }?: object): Promise<string>;
|
|
240
|
+
/**
|
|
241
|
+
* @param {ContentPlatformValidator.UpdateCustomFieldDefinitionParam} arg - Arg object
|
|
242
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
243
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
244
|
+
* @returns {Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>}
|
|
245
|
+
* - Success response
|
|
246
|
+
*
|
|
247
|
+
* @name updateCustomFieldDefinition
|
|
248
|
+
* @summary: Update custom field definition
|
|
249
|
+
* @description: Use this API to update a custom field definition for your application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCustomFieldDefinition/).
|
|
250
|
+
*/
|
|
251
|
+
updateCustomFieldDefinition({ definitionId, body, requestHeaders }?: ContentPlatformValidator.UpdateCustomFieldDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>;
|
|
252
|
+
/**
|
|
253
|
+
* @param {ContentPlatformValidator.UpdateCustomObjectParam} arg - Arg object
|
|
254
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
255
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
256
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectByIdSchema>} - Success response
|
|
257
|
+
* @name updateCustomObject
|
|
258
|
+
* @summary: Update custom object details
|
|
259
|
+
* @description: Use this API to update a custom object detail for your application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCustomObject/).
|
|
260
|
+
*/
|
|
261
|
+
updateCustomObject({ metaobjectId, body, requestHeaders }?: ContentPlatformValidator.UpdateCustomObjectParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectByIdSchema>;
|
|
262
|
+
/**
|
|
263
|
+
* @param {ContentPlatformValidator.UpdateCustomObjectDefinitionParam} arg
|
|
264
|
+
* - Arg object
|
|
265
|
+
*
|
|
266
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
267
|
+
* @param {import("../PlatformAPIClient").Options} - Options
|
|
268
|
+
* @returns {Promise<ContentPlatformModel.CustomObjectDefinitionSchema>} -
|
|
269
|
+
* Success response
|
|
270
|
+
* @name updateCustomObjectDefinition
|
|
271
|
+
* @summary: Update custom object definition
|
|
272
|
+
* @description: Use this API to update a custom object definition for your application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCustomObjectDefinition/).
|
|
273
|
+
*/
|
|
274
|
+
updateCustomObjectDefinition({ definitionId, body, requestHeaders }?: ContentPlatformValidator.UpdateCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionSchema>;
|
|
275
|
+
}
|
|
276
|
+
import ContentPlatformValidator = require("./ContentPlatformValidator");
|
|
277
|
+
import ContentPlatformModel = require("./ContentPlatformModel");
|