@gofynd/fdk-client-javascript 1.2.0 → 1.3.0
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 +44 -7
- package/package.json +1 -2
- package/sdk/application/ApplicationAPIClient.d.ts +3 -3
- package/sdk/application/ApplicationAPIClient.js +6 -4
- package/sdk/application/ApplicationClient.d.ts +2 -3
- package/sdk/application/ApplicationClient.js +1 -45
- package/sdk/application/ApplicationConfig.d.ts +46 -6
- package/sdk/application/ApplicationConfig.js +15 -16
- package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
- package/sdk/application/Cart/CartApplicationClient.js +225 -134
- package/sdk/application/Cart/CartApplicationModel.d.ts +4 -4
- package/sdk/application/Cart/CartApplicationModel.js +4 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
- package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
- package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
- package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
- package/sdk/application/Common/CommonApplicationClient.js +13 -11
- package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
- package/sdk/application/Common/CommonApplicationModel.js +2 -58
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
- package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
- package/sdk/application/Content/ContentApplicationClient.js +159 -80
- package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
- package/sdk/application/Content/ContentApplicationModel.js +11 -763
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
- package/sdk/application/Lead/LeadApplicationClient.js +50 -31
- package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
- package/sdk/application/Lead/LeadApplicationModel.js +21 -481
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
- package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
- package/sdk/application/Order/OrderApplicationClient.js +88 -56
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
- package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
- package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
- package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
- package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
- package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
- package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
- package/sdk/application/Share/ShareApplicationClient.js +51 -31
- package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
- package/sdk/application/Share/ShareApplicationModel.js +0 -38
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
- package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
- package/sdk/application/User/UserApplicationClient.d.ts +74 -35
- package/sdk/application/User/UserApplicationClient.js +252 -161
- package/sdk/application/User/UserApplicationModel.d.ts +3 -401
- package/sdk/application/User/UserApplicationModel.js +2 -490
- package/sdk/common/AxiosHelper.js +1 -2
- package/sdk/common/FDKError.d.ts +3 -0
- package/sdk/common/FDKError.js +8 -0
- package/sdk/common/utils.d.ts +3 -0
- package/sdk/common/utils.js +29 -0
- package/sdk/partner/PartnerAPIClient.d.ts +5 -4
- package/sdk/partner/PartnerAPIClient.js +7 -4
- package/sdk/partner/PartnerClient.d.ts +2 -0
- package/sdk/partner/PartnerClient.js +3 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
- package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
- package/sdk/partner/index.d.ts +3 -1
- package/sdk/partner/index.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
- package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
- package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
- package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
- package/sdk/platform/Cart/CartPlatformModel.js +104 -54
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
- package/sdk/platform/Common/CommonPlatformClient.js +13 -11
- package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
- package/sdk/platform/Common/CommonPlatformModel.js +23 -57
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
- package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
- package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
- package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
- package/sdk/platform/Content/ContentPlatformModel.js +8 -231
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
- package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
- package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
- package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
- package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
- package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
- package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
- package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
- package/sdk/platform/OAuthClient.js +6 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
- package/sdk/platform/Order/OrderPlatformClient.js +738 -205
- package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
- package/sdk/platform/Order/OrderPlatformModel.js +225 -2
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
- package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
- package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
- package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
- package/sdk/platform/PlatformAPIClient.d.ts +3 -3
- package/sdk/platform/PlatformAPIClient.js +2 -2
- package/sdk/platform/PlatformClient.d.ts +2 -2
- package/sdk/platform/PlatformClient.js +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
- package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
- package/sdk/platform/Share/SharePlatformModel.js +4 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
- package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
- package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
- package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
- package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
- package/sdk/platform/User/UserPlatformModel.js +3 -899
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
- package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
- package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +96 -9
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +117 -5
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
- package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
- package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
- package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
- package/sdk/public/Partner/PartnerPublicClient.js +110 -0
- package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
- package/sdk/public/Partner/PartnerPublicModel.js +280 -0
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
- package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
- package/sdk/public/PublicAPIClient.d.ts +14 -1
- package/sdk/public/PublicAPIClient.js +7 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
- package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/application/ApplicationModels.d.ts +0 -48
- package/sdk/application/ApplicationModels.js +0 -38
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
- package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
- package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
export = FinancePlatformValidator;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef ChannelDisplayNameParam
|
|
4
|
+
* @property {string} filterKey - Gives display name for channel.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @typedef CreateSellerCreditNoteConfigParam
|
|
8
|
+
* @property {FinancePlatformModel.CreateSellerCreditNoteConfigRequest} body
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* @typedef CreditNoteDetailsParam
|
|
12
|
+
* @property {FinancePlatformModel.CreditNoteDetailsRequest} body
|
|
13
|
+
*/
|
|
2
14
|
/**
|
|
3
15
|
* @typedef CreditlineDataplatformParam
|
|
4
16
|
* @property {FinancePlatformModel.CreditlineDataPlatformRequest} body
|
|
5
17
|
*/
|
|
18
|
+
/**
|
|
19
|
+
* @typedef DeleteConfigParam
|
|
20
|
+
* @property {FinancePlatformModel.DeleteConfigRequest} body
|
|
21
|
+
*/
|
|
6
22
|
/**
|
|
7
23
|
* @typedef DownloadCreditDebitNoteParam
|
|
8
24
|
* @property {FinancePlatformModel.DownloadCreditDebitNoteRequest} body
|
|
@@ -11,18 +27,38 @@ export = FinancePlatformValidator;
|
|
|
11
27
|
* @typedef DownloadReportParam
|
|
12
28
|
* @property {FinancePlatformModel.DownloadReport} body
|
|
13
29
|
*/
|
|
30
|
+
/**
|
|
31
|
+
* @typedef DownloadReportCustomerCnParam
|
|
32
|
+
* @property {FinancePlatformModel.DownloadReportCustomerCnRequest} body
|
|
33
|
+
*/
|
|
14
34
|
/**
|
|
15
35
|
* @typedef GenerateReportParam
|
|
16
36
|
* @property {FinancePlatformModel.GenerateReportRequest} body
|
|
17
37
|
*/
|
|
38
|
+
/**
|
|
39
|
+
* @typedef GenerateReportCustomerCnParam
|
|
40
|
+
* @property {FinancePlatformModel.GenerateReportCustomerCnRequest} body
|
|
41
|
+
*/
|
|
18
42
|
/**
|
|
19
43
|
* @typedef GetAffiliateParam
|
|
20
44
|
* @property {FinancePlatformModel.GetAffiliate} body
|
|
21
45
|
*/
|
|
46
|
+
/**
|
|
47
|
+
* @typedef GetCnConfigParam
|
|
48
|
+
* @property {FinancePlatformModel.GetCnConfigRequest} body
|
|
49
|
+
*/
|
|
50
|
+
/**
|
|
51
|
+
* @typedef GetCustomerCreditBalanceParam
|
|
52
|
+
* @property {FinancePlatformModel.GetCustomerCreditBalanceRequest} body
|
|
53
|
+
*/
|
|
22
54
|
/**
|
|
23
55
|
* @typedef GetDataParam
|
|
24
56
|
* @property {FinancePlatformModel.GetEngineRequest} body
|
|
25
57
|
*/
|
|
58
|
+
/**
|
|
59
|
+
* @typedef GetPdfUrlViewParam
|
|
60
|
+
* @property {FinancePlatformModel.GetPdfUrlViewRequest} body
|
|
61
|
+
*/
|
|
26
62
|
/**
|
|
27
63
|
* @typedef GetReasonParam
|
|
28
64
|
* @property {FinancePlatformModel.GetReasonRequest} body
|
|
@@ -31,6 +67,11 @@ export = FinancePlatformValidator;
|
|
|
31
67
|
* @typedef GetReportListParam
|
|
32
68
|
* @property {FinancePlatformModel.GetReportListRequest} body
|
|
33
69
|
*/
|
|
70
|
+
/**
|
|
71
|
+
* @typedef GetReportingFiltersParam
|
|
72
|
+
* @property {string} filterKey - Filter type.
|
|
73
|
+
* @property {string} [affiliateId] - Affiliate id.
|
|
74
|
+
*/
|
|
34
75
|
/**
|
|
35
76
|
* @typedef InvoiceListingParam
|
|
36
77
|
* @property {FinancePlatformModel.InvoiceListingRequest} body
|
|
@@ -43,6 +84,10 @@ export = FinancePlatformValidator;
|
|
|
43
84
|
* @typedef InvoiceTypeParam
|
|
44
85
|
* @property {FinancePlatformModel.InvoiceTypeRequest} body
|
|
45
86
|
*/
|
|
87
|
+
/**
|
|
88
|
+
* @typedef IsCnRefundMethodParam
|
|
89
|
+
* @property {FinancePlatformModel.IsCnRefundMethodRequest} body
|
|
90
|
+
*/
|
|
46
91
|
/**
|
|
47
92
|
* @typedef IsCreditlinePlatformParam
|
|
48
93
|
* @property {FinancePlatformModel.IsCreditlinePlatformRequest} body
|
|
@@ -52,60 +97,122 @@ export = FinancePlatformValidator;
|
|
|
52
97
|
* @property {FinancePlatformModel.PaymentProcessRequest} body
|
|
53
98
|
*/
|
|
54
99
|
declare class FinancePlatformValidator {
|
|
100
|
+
/** @returns {ChannelDisplayNameParam} */
|
|
101
|
+
static channelDisplayName(): ChannelDisplayNameParam;
|
|
102
|
+
/** @returns {CreateSellerCreditNoteConfigParam} */
|
|
103
|
+
static createSellerCreditNoteConfig(): CreateSellerCreditNoteConfigParam;
|
|
104
|
+
/** @returns {CreditNoteDetailsParam} */
|
|
105
|
+
static creditNoteDetails(): CreditNoteDetailsParam;
|
|
55
106
|
/** @returns {CreditlineDataplatformParam} */
|
|
56
107
|
static creditlineDataplatform(): CreditlineDataplatformParam;
|
|
108
|
+
/** @returns {DeleteConfigParam} */
|
|
109
|
+
static deleteConfig(): DeleteConfigParam;
|
|
57
110
|
/** @returns {DownloadCreditDebitNoteParam} */
|
|
58
111
|
static downloadCreditDebitNote(): DownloadCreditDebitNoteParam;
|
|
59
112
|
/** @returns {DownloadReportParam} */
|
|
60
113
|
static downloadReport(): DownloadReportParam;
|
|
114
|
+
/** @returns {DownloadReportCustomerCnParam} */
|
|
115
|
+
static downloadReportCustomerCn(): DownloadReportCustomerCnParam;
|
|
61
116
|
/** @returns {GenerateReportParam} */
|
|
62
117
|
static generateReport(): GenerateReportParam;
|
|
118
|
+
/** @returns {GenerateReportCustomerCnParam} */
|
|
119
|
+
static generateReportCustomerCn(): GenerateReportCustomerCnParam;
|
|
63
120
|
/** @returns {GetAffiliateParam} */
|
|
64
121
|
static getAffiliate(): GetAffiliateParam;
|
|
122
|
+
/** @returns {GetCnConfigParam} */
|
|
123
|
+
static getCnConfig(): GetCnConfigParam;
|
|
124
|
+
/** @returns {GetCustomerCreditBalanceParam} */
|
|
125
|
+
static getCustomerCreditBalance(): GetCustomerCreditBalanceParam;
|
|
65
126
|
/** @returns {GetDataParam} */
|
|
66
127
|
static getData(): GetDataParam;
|
|
128
|
+
/** @returns {GetPdfUrlViewParam} */
|
|
129
|
+
static getPdfUrlView(): GetPdfUrlViewParam;
|
|
67
130
|
/** @returns {GetReasonParam} */
|
|
68
131
|
static getReason(): GetReasonParam;
|
|
69
132
|
/** @returns {GetReportListParam} */
|
|
70
133
|
static getReportList(): GetReportListParam;
|
|
134
|
+
/** @returns {GetReportingFiltersParam} */
|
|
135
|
+
static getReportingFilters(): GetReportingFiltersParam;
|
|
71
136
|
/** @returns {InvoiceListingParam} */
|
|
72
137
|
static invoiceListing(): InvoiceListingParam;
|
|
73
138
|
/** @returns {InvoicePDFParam} */
|
|
74
139
|
static invoicePDF(): InvoicePDFParam;
|
|
75
140
|
/** @returns {InvoiceTypeParam} */
|
|
76
141
|
static invoiceType(): InvoiceTypeParam;
|
|
142
|
+
/** @returns {IsCnRefundMethodParam} */
|
|
143
|
+
static isCnRefundMethod(): IsCnRefundMethodParam;
|
|
77
144
|
/** @returns {IsCreditlinePlatformParam} */
|
|
78
145
|
static isCreditlinePlatform(): IsCreditlinePlatformParam;
|
|
79
146
|
/** @returns {PaymentProcessParam} */
|
|
80
147
|
static paymentProcess(): PaymentProcessParam;
|
|
81
148
|
}
|
|
82
149
|
declare namespace FinancePlatformValidator {
|
|
83
|
-
export { CreditlineDataplatformParam, DownloadCreditDebitNoteParam, DownloadReportParam, GenerateReportParam, GetAffiliateParam, GetDataParam, GetReasonParam, GetReportListParam, InvoiceListingParam, InvoicePDFParam, InvoiceTypeParam, IsCreditlinePlatformParam, PaymentProcessParam };
|
|
150
|
+
export { ChannelDisplayNameParam, CreateSellerCreditNoteConfigParam, CreditNoteDetailsParam, CreditlineDataplatformParam, DeleteConfigParam, DownloadCreditDebitNoteParam, DownloadReportParam, DownloadReportCustomerCnParam, GenerateReportParam, GenerateReportCustomerCnParam, GetAffiliateParam, GetCnConfigParam, GetCustomerCreditBalanceParam, GetDataParam, GetPdfUrlViewParam, GetReasonParam, GetReportListParam, GetReportingFiltersParam, InvoiceListingParam, InvoicePDFParam, InvoiceTypeParam, IsCnRefundMethodParam, IsCreditlinePlatformParam, PaymentProcessParam };
|
|
84
151
|
}
|
|
152
|
+
type ChannelDisplayNameParam = {
|
|
153
|
+
/**
|
|
154
|
+
* - Gives display name for channel.
|
|
155
|
+
*/
|
|
156
|
+
filterKey: string;
|
|
157
|
+
};
|
|
158
|
+
type CreateSellerCreditNoteConfigParam = {
|
|
159
|
+
body: FinancePlatformModel.CreateSellerCreditNoteConfigRequest;
|
|
160
|
+
};
|
|
161
|
+
type CreditNoteDetailsParam = {
|
|
162
|
+
body: FinancePlatformModel.CreditNoteDetailsRequest;
|
|
163
|
+
};
|
|
85
164
|
type CreditlineDataplatformParam = {
|
|
86
165
|
body: FinancePlatformModel.CreditlineDataPlatformRequest;
|
|
87
166
|
};
|
|
167
|
+
type DeleteConfigParam = {
|
|
168
|
+
body: FinancePlatformModel.DeleteConfigRequest;
|
|
169
|
+
};
|
|
88
170
|
type DownloadCreditDebitNoteParam = {
|
|
89
171
|
body: FinancePlatformModel.DownloadCreditDebitNoteRequest;
|
|
90
172
|
};
|
|
91
173
|
type DownloadReportParam = {
|
|
92
174
|
body: FinancePlatformModel.DownloadReport;
|
|
93
175
|
};
|
|
176
|
+
type DownloadReportCustomerCnParam = {
|
|
177
|
+
body: FinancePlatformModel.DownloadReportCustomerCnRequest;
|
|
178
|
+
};
|
|
94
179
|
type GenerateReportParam = {
|
|
95
180
|
body: FinancePlatformModel.GenerateReportRequest;
|
|
96
181
|
};
|
|
182
|
+
type GenerateReportCustomerCnParam = {
|
|
183
|
+
body: FinancePlatformModel.GenerateReportCustomerCnRequest;
|
|
184
|
+
};
|
|
97
185
|
type GetAffiliateParam = {
|
|
98
186
|
body: FinancePlatformModel.GetAffiliate;
|
|
99
187
|
};
|
|
188
|
+
type GetCnConfigParam = {
|
|
189
|
+
body: FinancePlatformModel.GetCnConfigRequest;
|
|
190
|
+
};
|
|
191
|
+
type GetCustomerCreditBalanceParam = {
|
|
192
|
+
body: FinancePlatformModel.GetCustomerCreditBalanceRequest;
|
|
193
|
+
};
|
|
100
194
|
type GetDataParam = {
|
|
101
195
|
body: FinancePlatformModel.GetEngineRequest;
|
|
102
196
|
};
|
|
197
|
+
type GetPdfUrlViewParam = {
|
|
198
|
+
body: FinancePlatformModel.GetPdfUrlViewRequest;
|
|
199
|
+
};
|
|
103
200
|
type GetReasonParam = {
|
|
104
201
|
body: FinancePlatformModel.GetReasonRequest;
|
|
105
202
|
};
|
|
106
203
|
type GetReportListParam = {
|
|
107
204
|
body: FinancePlatformModel.GetReportListRequest;
|
|
108
205
|
};
|
|
206
|
+
type GetReportingFiltersParam = {
|
|
207
|
+
/**
|
|
208
|
+
* - Filter type.
|
|
209
|
+
*/
|
|
210
|
+
filterKey: string;
|
|
211
|
+
/**
|
|
212
|
+
* - Affiliate id.
|
|
213
|
+
*/
|
|
214
|
+
affiliateId?: string;
|
|
215
|
+
};
|
|
109
216
|
type InvoiceListingParam = {
|
|
110
217
|
body: FinancePlatformModel.InvoiceListingRequest;
|
|
111
218
|
};
|
|
@@ -115,6 +222,9 @@ type InvoicePDFParam = {
|
|
|
115
222
|
type InvoiceTypeParam = {
|
|
116
223
|
body: FinancePlatformModel.InvoiceTypeRequest;
|
|
117
224
|
};
|
|
225
|
+
type IsCnRefundMethodParam = {
|
|
226
|
+
body: FinancePlatformModel.IsCnRefundMethodRequest;
|
|
227
|
+
};
|
|
118
228
|
type IsCreditlinePlatformParam = {
|
|
119
229
|
body: FinancePlatformModel.IsCreditlinePlatformRequest;
|
|
120
230
|
};
|
|
@@ -2,11 +2,31 @@ const Joi = require("joi");
|
|
|
2
2
|
|
|
3
3
|
const FinancePlatformModel = require("./FinancePlatformModel");
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* @typedef ChannelDisplayNameParam
|
|
7
|
+
* @property {string} filterKey - Gives display name for channel.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @typedef CreateSellerCreditNoteConfigParam
|
|
12
|
+
* @property {FinancePlatformModel.CreateSellerCreditNoteConfigRequest} body
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @typedef CreditNoteDetailsParam
|
|
17
|
+
* @property {FinancePlatformModel.CreditNoteDetailsRequest} body
|
|
18
|
+
*/
|
|
19
|
+
|
|
5
20
|
/**
|
|
6
21
|
* @typedef CreditlineDataplatformParam
|
|
7
22
|
* @property {FinancePlatformModel.CreditlineDataPlatformRequest} body
|
|
8
23
|
*/
|
|
9
24
|
|
|
25
|
+
/**
|
|
26
|
+
* @typedef DeleteConfigParam
|
|
27
|
+
* @property {FinancePlatformModel.DeleteConfigRequest} body
|
|
28
|
+
*/
|
|
29
|
+
|
|
10
30
|
/**
|
|
11
31
|
* @typedef DownloadCreditDebitNoteParam
|
|
12
32
|
* @property {FinancePlatformModel.DownloadCreditDebitNoteRequest} body
|
|
@@ -17,21 +37,46 @@ const FinancePlatformModel = require("./FinancePlatformModel");
|
|
|
17
37
|
* @property {FinancePlatformModel.DownloadReport} body
|
|
18
38
|
*/
|
|
19
39
|
|
|
40
|
+
/**
|
|
41
|
+
* @typedef DownloadReportCustomerCnParam
|
|
42
|
+
* @property {FinancePlatformModel.DownloadReportCustomerCnRequest} body
|
|
43
|
+
*/
|
|
44
|
+
|
|
20
45
|
/**
|
|
21
46
|
* @typedef GenerateReportParam
|
|
22
47
|
* @property {FinancePlatformModel.GenerateReportRequest} body
|
|
23
48
|
*/
|
|
24
49
|
|
|
50
|
+
/**
|
|
51
|
+
* @typedef GenerateReportCustomerCnParam
|
|
52
|
+
* @property {FinancePlatformModel.GenerateReportCustomerCnRequest} body
|
|
53
|
+
*/
|
|
54
|
+
|
|
25
55
|
/**
|
|
26
56
|
* @typedef GetAffiliateParam
|
|
27
57
|
* @property {FinancePlatformModel.GetAffiliate} body
|
|
28
58
|
*/
|
|
29
59
|
|
|
60
|
+
/**
|
|
61
|
+
* @typedef GetCnConfigParam
|
|
62
|
+
* @property {FinancePlatformModel.GetCnConfigRequest} body
|
|
63
|
+
*/
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @typedef GetCustomerCreditBalanceParam
|
|
67
|
+
* @property {FinancePlatformModel.GetCustomerCreditBalanceRequest} body
|
|
68
|
+
*/
|
|
69
|
+
|
|
30
70
|
/**
|
|
31
71
|
* @typedef GetDataParam
|
|
32
72
|
* @property {FinancePlatformModel.GetEngineRequest} body
|
|
33
73
|
*/
|
|
34
74
|
|
|
75
|
+
/**
|
|
76
|
+
* @typedef GetPdfUrlViewParam
|
|
77
|
+
* @property {FinancePlatformModel.GetPdfUrlViewRequest} body
|
|
78
|
+
*/
|
|
79
|
+
|
|
35
80
|
/**
|
|
36
81
|
* @typedef GetReasonParam
|
|
37
82
|
* @property {FinancePlatformModel.GetReasonRequest} body
|
|
@@ -42,6 +87,12 @@ const FinancePlatformModel = require("./FinancePlatformModel");
|
|
|
42
87
|
* @property {FinancePlatformModel.GetReportListRequest} body
|
|
43
88
|
*/
|
|
44
89
|
|
|
90
|
+
/**
|
|
91
|
+
* @typedef GetReportingFiltersParam
|
|
92
|
+
* @property {string} filterKey - Filter type.
|
|
93
|
+
* @property {string} [affiliateId] - Affiliate id.
|
|
94
|
+
*/
|
|
95
|
+
|
|
45
96
|
/**
|
|
46
97
|
* @typedef InvoiceListingParam
|
|
47
98
|
* @property {FinancePlatformModel.InvoiceListingRequest} body
|
|
@@ -57,6 +108,11 @@ const FinancePlatformModel = require("./FinancePlatformModel");
|
|
|
57
108
|
* @property {FinancePlatformModel.InvoiceTypeRequest} body
|
|
58
109
|
*/
|
|
59
110
|
|
|
111
|
+
/**
|
|
112
|
+
* @typedef IsCnRefundMethodParam
|
|
113
|
+
* @property {FinancePlatformModel.IsCnRefundMethodRequest} body
|
|
114
|
+
*/
|
|
115
|
+
|
|
60
116
|
/**
|
|
61
117
|
* @typedef IsCreditlinePlatformParam
|
|
62
118
|
* @property {FinancePlatformModel.IsCreditlinePlatformRequest} body
|
|
@@ -68,6 +124,27 @@ const FinancePlatformModel = require("./FinancePlatformModel");
|
|
|
68
124
|
*/
|
|
69
125
|
|
|
70
126
|
class FinancePlatformValidator {
|
|
127
|
+
/** @returns {ChannelDisplayNameParam} */
|
|
128
|
+
static channelDisplayName() {
|
|
129
|
+
return Joi.object({
|
|
130
|
+
filterKey: Joi.string().allow("").required(),
|
|
131
|
+
}).required();
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/** @returns {CreateSellerCreditNoteConfigParam} */
|
|
135
|
+
static createSellerCreditNoteConfig() {
|
|
136
|
+
return Joi.object({
|
|
137
|
+
body: FinancePlatformModel.CreateSellerCreditNoteConfigRequest().required(),
|
|
138
|
+
}).required();
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/** @returns {CreditNoteDetailsParam} */
|
|
142
|
+
static creditNoteDetails() {
|
|
143
|
+
return Joi.object({
|
|
144
|
+
body: FinancePlatformModel.CreditNoteDetailsRequest().required(),
|
|
145
|
+
}).required();
|
|
146
|
+
}
|
|
147
|
+
|
|
71
148
|
/** @returns {CreditlineDataplatformParam} */
|
|
72
149
|
static creditlineDataplatform() {
|
|
73
150
|
return Joi.object({
|
|
@@ -75,6 +152,13 @@ class FinancePlatformValidator {
|
|
|
75
152
|
}).required();
|
|
76
153
|
}
|
|
77
154
|
|
|
155
|
+
/** @returns {DeleteConfigParam} */
|
|
156
|
+
static deleteConfig() {
|
|
157
|
+
return Joi.object({
|
|
158
|
+
body: FinancePlatformModel.DeleteConfigRequest().required(),
|
|
159
|
+
}).required();
|
|
160
|
+
}
|
|
161
|
+
|
|
78
162
|
/** @returns {DownloadCreditDebitNoteParam} */
|
|
79
163
|
static downloadCreditDebitNote() {
|
|
80
164
|
return Joi.object({
|
|
@@ -89,6 +173,13 @@ class FinancePlatformValidator {
|
|
|
89
173
|
}).required();
|
|
90
174
|
}
|
|
91
175
|
|
|
176
|
+
/** @returns {DownloadReportCustomerCnParam} */
|
|
177
|
+
static downloadReportCustomerCn() {
|
|
178
|
+
return Joi.object({
|
|
179
|
+
body: FinancePlatformModel.DownloadReportCustomerCnRequest().required(),
|
|
180
|
+
}).required();
|
|
181
|
+
}
|
|
182
|
+
|
|
92
183
|
/** @returns {GenerateReportParam} */
|
|
93
184
|
static generateReport() {
|
|
94
185
|
return Joi.object({
|
|
@@ -96,6 +187,13 @@ class FinancePlatformValidator {
|
|
|
96
187
|
}).required();
|
|
97
188
|
}
|
|
98
189
|
|
|
190
|
+
/** @returns {GenerateReportCustomerCnParam} */
|
|
191
|
+
static generateReportCustomerCn() {
|
|
192
|
+
return Joi.object({
|
|
193
|
+
body: FinancePlatformModel.GenerateReportCustomerCnRequest().required(),
|
|
194
|
+
}).required();
|
|
195
|
+
}
|
|
196
|
+
|
|
99
197
|
/** @returns {GetAffiliateParam} */
|
|
100
198
|
static getAffiliate() {
|
|
101
199
|
return Joi.object({
|
|
@@ -103,6 +201,20 @@ class FinancePlatformValidator {
|
|
|
103
201
|
}).required();
|
|
104
202
|
}
|
|
105
203
|
|
|
204
|
+
/** @returns {GetCnConfigParam} */
|
|
205
|
+
static getCnConfig() {
|
|
206
|
+
return Joi.object({
|
|
207
|
+
body: FinancePlatformModel.GetCnConfigRequest().required(),
|
|
208
|
+
}).required();
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/** @returns {GetCustomerCreditBalanceParam} */
|
|
212
|
+
static getCustomerCreditBalance() {
|
|
213
|
+
return Joi.object({
|
|
214
|
+
body: FinancePlatformModel.GetCustomerCreditBalanceRequest().required(),
|
|
215
|
+
}).required();
|
|
216
|
+
}
|
|
217
|
+
|
|
106
218
|
/** @returns {GetDataParam} */
|
|
107
219
|
static getData() {
|
|
108
220
|
return Joi.object({
|
|
@@ -110,6 +222,13 @@ class FinancePlatformValidator {
|
|
|
110
222
|
}).required();
|
|
111
223
|
}
|
|
112
224
|
|
|
225
|
+
/** @returns {GetPdfUrlViewParam} */
|
|
226
|
+
static getPdfUrlView() {
|
|
227
|
+
return Joi.object({
|
|
228
|
+
body: FinancePlatformModel.GetPdfUrlViewRequest().required(),
|
|
229
|
+
}).required();
|
|
230
|
+
}
|
|
231
|
+
|
|
113
232
|
/** @returns {GetReasonParam} */
|
|
114
233
|
static getReason() {
|
|
115
234
|
return Joi.object({
|
|
@@ -124,6 +243,14 @@ class FinancePlatformValidator {
|
|
|
124
243
|
}).required();
|
|
125
244
|
}
|
|
126
245
|
|
|
246
|
+
/** @returns {GetReportingFiltersParam} */
|
|
247
|
+
static getReportingFilters() {
|
|
248
|
+
return Joi.object({
|
|
249
|
+
filterKey: Joi.string().allow("").required(),
|
|
250
|
+
affiliateId: Joi.string().allow(""),
|
|
251
|
+
}).required();
|
|
252
|
+
}
|
|
253
|
+
|
|
127
254
|
/** @returns {InvoiceListingParam} */
|
|
128
255
|
static invoiceListing() {
|
|
129
256
|
return Joi.object({
|
|
@@ -145,6 +272,13 @@ class FinancePlatformValidator {
|
|
|
145
272
|
}).required();
|
|
146
273
|
}
|
|
147
274
|
|
|
275
|
+
/** @returns {IsCnRefundMethodParam} */
|
|
276
|
+
static isCnRefundMethod() {
|
|
277
|
+
return Joi.object({
|
|
278
|
+
body: FinancePlatformModel.IsCnRefundMethodRequest().required(),
|
|
279
|
+
}).required();
|
|
280
|
+
}
|
|
281
|
+
|
|
148
282
|
/** @returns {IsCreditlinePlatformParam} */
|
|
149
283
|
static isCreditlinePlatform() {
|
|
150
284
|
return Joi.object({
|
|
@@ -4,6 +4,7 @@ declare class Inventory {
|
|
|
4
4
|
config: any;
|
|
5
5
|
/**
|
|
6
6
|
* @param {InventoryPlatformValidator.CreateJobParam} arg - Arg object
|
|
7
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
7
8
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
8
9
|
* @returns {Promise<InventoryPlatformModel.ResponseEnvelopeString>} -
|
|
9
10
|
* Success response
|
|
@@ -11,9 +12,10 @@ declare class Inventory {
|
|
|
11
12
|
* @summary: Creates A New Job Config
|
|
12
13
|
* @description: REST Endpoint that creates a new job config - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/createJob/).
|
|
13
14
|
*/
|
|
14
|
-
createJob({ body }?: InventoryPlatformValidator.CreateJobParam, {
|
|
15
|
+
createJob({ body, requestHeaders }?: InventoryPlatformValidator.CreateJobParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeString>;
|
|
15
16
|
/**
|
|
16
17
|
* @param {InventoryPlatformValidator.DisableParam} arg - Arg object
|
|
18
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
17
19
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
18
20
|
* @returns {Promise<InventoryPlatformModel.ResponseEnvelopeString>} -
|
|
19
21
|
* Success response
|
|
@@ -21,9 +23,10 @@ declare class Inventory {
|
|
|
21
23
|
* @summary: Disable Job Config
|
|
22
24
|
* @description: REST Endpoint that disables Inventory Job Config - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/disable/).
|
|
23
25
|
*/
|
|
24
|
-
disable({ integrationId }?: InventoryPlatformValidator.DisableParam, {
|
|
26
|
+
disable({ integrationId, requestHeaders }?: InventoryPlatformValidator.DisableParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeString>;
|
|
25
27
|
/**
|
|
26
28
|
* @param {InventoryPlatformValidator.GetConfigByCompanyParam} arg - Arg object
|
|
29
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
27
30
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
28
31
|
* @returns {Promise<InventoryPlatformModel.ResponseEnvelopeListSlingshotConfigurationDetail>}
|
|
29
32
|
* - Success response
|
|
@@ -32,9 +35,10 @@ declare class Inventory {
|
|
|
32
35
|
* @summary: Get Slingshot Configuration Of A Company
|
|
33
36
|
* @description: REST Endpoint that returns all configuration detail of a company - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/getConfigByCompany/).
|
|
34
37
|
*/
|
|
35
|
-
getConfigByCompany({
|
|
38
|
+
getConfigByCompany({ requestHeaders }?: any, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeListSlingshotConfigurationDetail>;
|
|
36
39
|
/**
|
|
37
40
|
* @param {InventoryPlatformValidator.GetJobByCodeParam} arg - Arg object
|
|
41
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
38
42
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
39
43
|
* @returns {Promise<InventoryPlatformModel.ResponseEnvelopeJobConfigDTO>}
|
|
40
44
|
* - Success response
|
|
@@ -43,11 +47,12 @@ declare class Inventory {
|
|
|
43
47
|
* @summary: Get Job Config By Code
|
|
44
48
|
* @description: REST Endpoint that returns job config by code - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/getJobByCode/).
|
|
45
49
|
*/
|
|
46
|
-
getJobByCode({ code }?: InventoryPlatformValidator.GetJobByCodeParam, {
|
|
50
|
+
getJobByCode({ code, requestHeaders }?: InventoryPlatformValidator.GetJobByCodeParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeJobConfigDTO>;
|
|
47
51
|
/**
|
|
48
52
|
* @param {InventoryPlatformValidator.GetJobByCompanyAndIntegrationParam} arg
|
|
49
53
|
* - Arg object
|
|
50
54
|
*
|
|
55
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
51
56
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
52
57
|
* @returns {Promise<InventoryPlatformModel.ResponseEnvelopeListJobConfigDTO>}
|
|
53
58
|
* - Success response
|
|
@@ -56,9 +61,10 @@ declare class Inventory {
|
|
|
56
61
|
* @summary: Get Job Configs By Company And Integration
|
|
57
62
|
* @description: REST Endpoint that returns all job configs by company And integration - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/getJobByCompanyAndIntegration/).
|
|
58
63
|
*/
|
|
59
|
-
getJobByCompanyAndIntegration({ integrationId, pageNo, pageSize }?: InventoryPlatformValidator.GetJobByCompanyAndIntegrationParam, {
|
|
64
|
+
getJobByCompanyAndIntegration({ integrationId, pageNo, pageSize, requestHeaders }?: InventoryPlatformValidator.GetJobByCompanyAndIntegrationParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeListJobConfigDTO>;
|
|
60
65
|
/**
|
|
61
66
|
* @param {InventoryPlatformValidator.GetJobCodeMetricsParam} arg - Arg object
|
|
67
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
62
68
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
63
69
|
* @returns {Promise<InventoryPlatformModel.ResponseEnvelopeJobMetricsDto>}
|
|
64
70
|
* - Success response
|
|
@@ -67,11 +73,12 @@ declare class Inventory {
|
|
|
67
73
|
* @summary: Get Job Metrics
|
|
68
74
|
* @description: REST Endpoint that returns Inventory Run History For A Job Code - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/getJobCodeMetrics/).
|
|
69
75
|
*/
|
|
70
|
-
getJobCodeMetrics({ code, pageNo, pageSize, status, date }?: InventoryPlatformValidator.GetJobCodeMetricsParam, {
|
|
76
|
+
getJobCodeMetrics({ code, pageNo, pageSize, status, date, requestHeaders }?: InventoryPlatformValidator.GetJobCodeMetricsParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeJobMetricsDto>;
|
|
71
77
|
/**
|
|
72
78
|
* @param {InventoryPlatformValidator.GetJobCodesByCompanyAndIntegrationParam} arg
|
|
73
79
|
* - Arg object
|
|
74
80
|
*
|
|
81
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
75
82
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
76
83
|
* @returns {Promise<InventoryPlatformModel.ResponseEnvelopeListJobConfigListDTO>}
|
|
77
84
|
* - Success response
|
|
@@ -80,9 +87,10 @@ declare class Inventory {
|
|
|
80
87
|
* @summary: Get Job Codes By Company And Integration
|
|
81
88
|
* @description: REST Endpoint that returns all job codes by company And integration - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/getJobCodesByCompanyAndIntegration/).
|
|
82
89
|
*/
|
|
83
|
-
getJobCodesByCompanyAndIntegration({ integrationId, pageNo, pageSize }?: InventoryPlatformValidator.GetJobCodesByCompanyAndIntegrationParam, {
|
|
90
|
+
getJobCodesByCompanyAndIntegration({ integrationId, pageNo, pageSize, requestHeaders }?: InventoryPlatformValidator.GetJobCodesByCompanyAndIntegrationParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeListJobConfigListDTO>;
|
|
84
91
|
/**
|
|
85
92
|
* @param {InventoryPlatformValidator.GetJobConfigDefaultsParam} arg - Arg object
|
|
93
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
86
94
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
87
95
|
* @returns {Promise<InventoryPlatformModel.ResponseEnvelopeJobConfigDTO>}
|
|
88
96
|
* - Success response
|
|
@@ -91,9 +99,10 @@ declare class Inventory {
|
|
|
91
99
|
* @summary: Get Job Configs Defaults
|
|
92
100
|
* @description: REST Endpoint that returns default fields job configs by company And integration - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/getJobConfigDefaults/).
|
|
93
101
|
*/
|
|
94
|
-
getJobConfigDefaults({
|
|
102
|
+
getJobConfigDefaults({ requestHeaders }?: any, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeJobConfigDTO>;
|
|
95
103
|
/**
|
|
96
104
|
* @param {InventoryPlatformValidator.GetJobStepsParam} arg - Arg object
|
|
105
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
97
106
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
98
107
|
* @returns {Promise<InventoryPlatformModel.ResponseEnvelopeListJobStepsDTO>}
|
|
99
108
|
* - Success response
|
|
@@ -102,9 +111,10 @@ declare class Inventory {
|
|
|
102
111
|
* @summary: Get Job Code Steps
|
|
103
112
|
* @description: REST Endpoint that returns Inventory Job Steps - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/getJobSteps/).
|
|
104
113
|
*/
|
|
105
|
-
getJobSteps({ jobId }?: InventoryPlatformValidator.GetJobStepsParam, {
|
|
114
|
+
getJobSteps({ jobId, requestHeaders }?: InventoryPlatformValidator.GetJobStepsParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeListJobStepsDTO>;
|
|
106
115
|
/**
|
|
107
116
|
* @param {InventoryPlatformValidator.GetJobsByCompanyParam} arg - Arg object
|
|
117
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
108
118
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
109
119
|
* @returns {Promise<InventoryPlatformModel.ResponseEnvelopeListJobConfigRawDTO>}
|
|
110
120
|
* - Success response
|
|
@@ -113,9 +123,10 @@ declare class Inventory {
|
|
|
113
123
|
* @summary: Get Job Configs For A Company
|
|
114
124
|
* @description: REST Endpoint that returns all job configs for a company - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/getJobsByCompany/).
|
|
115
125
|
*/
|
|
116
|
-
getJobsByCompany({ pageNo, pageSize }?: InventoryPlatformValidator.GetJobsByCompanyParam, {
|
|
126
|
+
getJobsByCompany({ pageNo, pageSize, requestHeaders }?: InventoryPlatformValidator.GetJobsByCompanyParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeListJobConfigRawDTO>;
|
|
117
127
|
/**
|
|
118
128
|
* @param {InventoryPlatformValidator.SuppressStoresParam} arg - Arg object
|
|
129
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
119
130
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
120
131
|
* @returns {Promise<InventoryPlatformModel.ResponseEnvelopeKafkaResponse>}
|
|
121
132
|
* - Success response
|
|
@@ -124,9 +135,10 @@ declare class Inventory {
|
|
|
124
135
|
* @summary: Get Slingshot Configuration Of A Company
|
|
125
136
|
* @description: REST Endpoint that returns all configuration detail of a company - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/suppressStores/).
|
|
126
137
|
*/
|
|
127
|
-
suppressStores({ body }?: InventoryPlatformValidator.SuppressStoresParam, {
|
|
138
|
+
suppressStores({ body, requestHeaders }?: InventoryPlatformValidator.SuppressStoresParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeKafkaResponse>;
|
|
128
139
|
/**
|
|
129
140
|
* @param {InventoryPlatformValidator.UpdateJobParam} arg - Arg object
|
|
141
|
+
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
130
142
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
131
143
|
* @returns {Promise<InventoryPlatformModel.ResponseEnvelopeString>} -
|
|
132
144
|
* Success response
|
|
@@ -134,7 +146,7 @@ declare class Inventory {
|
|
|
134
146
|
* @summary: Updates An Existing Job Config
|
|
135
147
|
* @description: REST Endpoint that updates a job config - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/inventory/updateJob/).
|
|
136
148
|
*/
|
|
137
|
-
updateJob({ body }?: InventoryPlatformValidator.UpdateJobParam, {
|
|
149
|
+
updateJob({ body, requestHeaders }?: InventoryPlatformValidator.UpdateJobParam, { responseHeaders }?: object): Promise<InventoryPlatformModel.ResponseEnvelopeString>;
|
|
138
150
|
}
|
|
139
151
|
import InventoryPlatformValidator = require("./InventoryPlatformValidator");
|
|
140
152
|
import InventoryPlatformModel = require("./InventoryPlatformModel");
|