@gofynd/fdk-client-javascript 3.0.0-beta.1 → 3.1.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/Cart/CartApplicationClient.d.ts +14 -14
- package/sdk/application/Cart/CartApplicationClient.js +14 -14
- package/sdk/application/Content/ContentApplicationClient.d.ts +10 -0
- package/sdk/application/Content/ContentApplicationClient.js +53 -0
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -0
- package/sdk/application/Logistic/LogisticApplicationClient.js +136 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -12
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +12 -12
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +46 -33
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +41 -25
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +6 -397
- package/sdk/platform/Billing/BillingPlatformClient.js +77 -3215
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +417 -3811
- package/sdk/platform/Billing/BillingPlatformModel.js +292 -2544
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +12 -451
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -483
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +34 -34
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +34 -34
- package/sdk/platform/Cart/CartPlatformModel.d.ts +363 -29
- package/sdk/platform/Cart/CartPlatformModel.js +203 -31
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +57 -57
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +220 -200
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +121 -91
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +58 -46
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +10 -51
- package/sdk/platform/Catalog/CatalogPlatformClient.js +79 -400
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +22 -228
- package/sdk/platform/Catalog/CatalogPlatformModel.js +12 -163
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +15 -61
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -65
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +4 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +10 -14
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +94 -30
- package/sdk/platform/Communication/CommunicationPlatformModel.js +110 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +33 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +62 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +11 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +5 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +12 -2
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +12 -10
- package/sdk/platform/Content/ContentPlatformModel.d.ts +42 -12
- package/sdk/platform/Content/ContentPlatformModel.js +43 -13
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +28 -28
- package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
- package/sdk/platform/Order/OrderPlatformClient.d.ts +21 -21
- package/sdk/platform/Order/OrderPlatformClient.js +21 -21
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1010 -80
- package/sdk/platform/Order/OrderPlatformModel.js +665 -70
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +31 -4
- package/sdk/platform/Payment/PaymentPlatformModel.js +11 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +8 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +14 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +6 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +24 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +119 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +194 -23
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +116 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +23 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +16 -0
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -0
- package/sdk/platform/Share/SharePlatformModel.js +2 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +10 -12
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +45 -49
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +10 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +12 -12
- package/sdk/public/PublicClient.d.ts +0 -2
- package/sdk/public/PublicClient.js +0 -4
- package/sdk/public/index.d.ts +0 -1
- package/sdk/public/index.js +0 -2
- package/sdk/public/Billing/BillingPublicClient.d.ts +0 -56
- package/sdk/public/Billing/BillingPublicClient.js +0 -397
- package/sdk/public/Billing/BillingPublicModel.d.ts +0 -919
- package/sdk/public/Billing/BillingPublicModel.js +0 -560
- package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -43
- package/sdk/public/Billing/BillingPublicValidator.js +0 -50
|
@@ -1118,12 +1118,6 @@ const Joi = require("joi");
|
|
|
1118
1118
|
* @property {string} [stage]
|
|
1119
1119
|
*/
|
|
1120
1120
|
|
|
1121
|
-
/**
|
|
1122
|
-
* @typedef CategoryCreateResponse
|
|
1123
|
-
* @property {string} [message] - It is the message of the response from the category.
|
|
1124
|
-
* @property {number} [uid] - It is the unique identifier of the category.
|
|
1125
|
-
*/
|
|
1126
|
-
|
|
1127
1121
|
/**
|
|
1128
1122
|
* @typedef CategoryItems
|
|
1129
1123
|
* @property {Object} [_custom_json]
|
|
@@ -1155,36 +1149,12 @@ const Joi = require("joi");
|
|
|
1155
1149
|
* @property {string} name - It is the name of the Category in the respective platform.
|
|
1156
1150
|
*/
|
|
1157
1151
|
|
|
1158
|
-
/**
|
|
1159
|
-
* @typedef CategoryRequestBody
|
|
1160
|
-
* @property {number[]} departments - It is the list of unique department the
|
|
1161
|
-
* category belongs to.
|
|
1162
|
-
* @property {Hierarchy[]} [hierarchy] - It is the list of category hierarchies
|
|
1163
|
-
* for each department of an L3 category.
|
|
1164
|
-
* @property {boolean} is_active - It is the flag indicating if the category is active.
|
|
1165
|
-
* @property {number} level - It is the level of category
|
|
1166
|
-
* @property {Object} [marketplaces] - It is the mapping of the category in
|
|
1167
|
-
* different marketplaces.
|
|
1168
|
-
* @property {Object} [media] - It is the details of the media such as banner and logo..
|
|
1169
|
-
* @property {string} name - It is the name of the category
|
|
1170
|
-
* @property {number} [priority] - It is the priority of the category.
|
|
1171
|
-
* @property {string} [slug] - It is the slug of the category.
|
|
1172
|
-
* @property {string[]} [synonyms] - It is the list of synonyms.
|
|
1173
|
-
* @property {string[]} [tryouts] - It is the list of tryouts.
|
|
1174
|
-
*/
|
|
1175
|
-
|
|
1176
1152
|
/**
|
|
1177
1153
|
* @typedef CategoryResponse
|
|
1178
1154
|
* @property {Category[]} [items]
|
|
1179
1155
|
* @property {Page} [page]
|
|
1180
1156
|
*/
|
|
1181
1157
|
|
|
1182
|
-
/**
|
|
1183
|
-
* @typedef CategoryUpdateResponse
|
|
1184
|
-
* @property {string} [message] - It is the message of the response from the category.
|
|
1185
|
-
* @property {boolean} [success] - It is the flag indication the success response.
|
|
1186
|
-
*/
|
|
1187
|
-
|
|
1188
1158
|
/**
|
|
1189
1159
|
* @typedef Child
|
|
1190
1160
|
* @property {Object} [_custom_json]
|
|
@@ -1757,36 +1727,11 @@ const Joi = require("joi");
|
|
|
1757
1727
|
* @property {Object} [error]
|
|
1758
1728
|
*/
|
|
1759
1729
|
|
|
1760
|
-
/**
|
|
1761
|
-
* @typedef DepartmentCreateErrorResponse
|
|
1762
|
-
* @property {Object} [error]
|
|
1763
|
-
*/
|
|
1764
|
-
|
|
1765
1730
|
/**
|
|
1766
1731
|
* @typedef ProductBundleCreateErrorResponse
|
|
1767
1732
|
* @property {Object} [error]
|
|
1768
1733
|
*/
|
|
1769
1734
|
|
|
1770
|
-
/**
|
|
1771
|
-
* @typedef DepartmentCreateResponse
|
|
1772
|
-
* @property {string} message
|
|
1773
|
-
* @property {number} uid
|
|
1774
|
-
*/
|
|
1775
|
-
|
|
1776
|
-
/**
|
|
1777
|
-
* @typedef DepartmentCreateUpdate
|
|
1778
|
-
* @property {string} [_cls]
|
|
1779
|
-
* @property {Object} [_custom_json]
|
|
1780
|
-
* @property {boolean} [is_active]
|
|
1781
|
-
* @property {string} logo
|
|
1782
|
-
* @property {string} name
|
|
1783
|
-
* @property {Object} [platforms]
|
|
1784
|
-
* @property {number} priority_order
|
|
1785
|
-
* @property {string} [slug]
|
|
1786
|
-
* @property {string[]} [tags]
|
|
1787
|
-
* @property {number} [uid]
|
|
1788
|
-
*/
|
|
1789
|
-
|
|
1790
1735
|
/**
|
|
1791
1736
|
* @typedef DepartmentErrorResponse
|
|
1792
1737
|
* @property {string} [code]
|
|
@@ -1803,26 +1748,6 @@ const Joi = require("joi");
|
|
|
1803
1748
|
* @property {number} [uid]
|
|
1804
1749
|
*/
|
|
1805
1750
|
|
|
1806
|
-
/**
|
|
1807
|
-
* @typedef DepartmentModel
|
|
1808
|
-
* @property {string} [_cls]
|
|
1809
|
-
* @property {Object} [_custom_json]
|
|
1810
|
-
* @property {string} [_id]
|
|
1811
|
-
* @property {Object} [created_by] - User details of the creator of the document
|
|
1812
|
-
* @property {boolean} [is_active] - Whether the department is currently active
|
|
1813
|
-
* @property {string} logo - The URL of the department's logo
|
|
1814
|
-
* @property {Object} [modified_by] - User details of the last modifier of the document
|
|
1815
|
-
* @property {string} name - The name of the department
|
|
1816
|
-
* @property {number} priority_order - The priority order of the department
|
|
1817
|
-
* @property {string} [slug] - The unique slug identifier for the department
|
|
1818
|
-
* @property {string[]} [synonyms] - A list of synonyms for the department name
|
|
1819
|
-
* @property {number} uid - The unique ID for the department
|
|
1820
|
-
* @property {Object} [verified_by] - User details of the verifier of the
|
|
1821
|
-
* document, if applicable
|
|
1822
|
-
* @property {string} [verified_on] - Timestamp of when the document was
|
|
1823
|
-
* verified, if applicable
|
|
1824
|
-
*/
|
|
1825
|
-
|
|
1826
1751
|
/**
|
|
1827
1752
|
* @typedef DepartmentResponse
|
|
1828
1753
|
* @property {Department[]} [items]
|
|
@@ -1978,7 +1903,7 @@ const Joi = require("joi");
|
|
|
1978
1903
|
*/
|
|
1979
1904
|
|
|
1980
1905
|
/**
|
|
1981
|
-
* @typedef
|
|
1906
|
+
* @typedef AttributeDetail
|
|
1982
1907
|
* @property {string} [created_on] - It is Date and time when the attribute was created.
|
|
1983
1908
|
* @property {string} [modified_on] - It is Date and time when the attribute was modified.
|
|
1984
1909
|
* @property {Object} [created_by] - Details of the user who created the attribute.
|
|
@@ -3015,7 +2940,12 @@ const Joi = require("joi");
|
|
|
3015
2940
|
* @property {string} seller_identifier - The identifier of the seller.
|
|
3016
2941
|
* @property {number} store_id - The ID of the store.
|
|
3017
2942
|
* @property {string[]} [tags] - The tags associated with the inventory item.
|
|
3018
|
-
* @property {number} [total_quantity] - The total quantity of the inventory
|
|
2943
|
+
* @property {number} [total_quantity] - The total quantity of the inventory
|
|
2944
|
+
* item. Any one quantity is allowed `sellable_quantity` or `total_quantity`,
|
|
2945
|
+
* the other one would be derived.
|
|
2946
|
+
* @property {number} [sellable_quantity] - The sellable quantity of the
|
|
2947
|
+
* inventory item. Any one quantity is allowed `sellable_quantity` or
|
|
2948
|
+
* `total_quantity`, the other one would be derived.
|
|
3019
2949
|
* @property {string} [trace_id] - The trace ID of the inventory payload.
|
|
3020
2950
|
*/
|
|
3021
2951
|
|
|
@@ -5371,6 +5301,7 @@ const Joi = require("joi");
|
|
|
5371
5301
|
* @property {number} [total_records]
|
|
5372
5302
|
* @property {number} [success_records]
|
|
5373
5303
|
* @property {number} [failed_records]
|
|
5304
|
+
* @property {string} [job_type]
|
|
5374
5305
|
*/
|
|
5375
5306
|
|
|
5376
5307
|
/**
|
|
@@ -7072,14 +7003,6 @@ class CatalogPlatformModel {
|
|
|
7072
7003
|
});
|
|
7073
7004
|
}
|
|
7074
7005
|
|
|
7075
|
-
/** @returns {CategoryCreateResponse} */
|
|
7076
|
-
static CategoryCreateResponse() {
|
|
7077
|
-
return Joi.object({
|
|
7078
|
-
message: Joi.string().allow(""),
|
|
7079
|
-
uid: Joi.number(),
|
|
7080
|
-
});
|
|
7081
|
-
}
|
|
7082
|
-
|
|
7083
7006
|
/** @returns {CategoryItems} */
|
|
7084
7007
|
static CategoryItems() {
|
|
7085
7008
|
return Joi.object({
|
|
@@ -7120,23 +7043,6 @@ class CatalogPlatformModel {
|
|
|
7120
7043
|
});
|
|
7121
7044
|
}
|
|
7122
7045
|
|
|
7123
|
-
/** @returns {CategoryRequestBody} */
|
|
7124
|
-
static CategoryRequestBody() {
|
|
7125
|
-
return Joi.object({
|
|
7126
|
-
departments: Joi.array().items(Joi.number()).required(),
|
|
7127
|
-
hierarchy: Joi.array().items(CatalogPlatformModel.Hierarchy()),
|
|
7128
|
-
is_active: Joi.boolean().required(),
|
|
7129
|
-
level: Joi.number().required(),
|
|
7130
|
-
marketplaces: Joi.any(),
|
|
7131
|
-
media: Joi.any(),
|
|
7132
|
-
name: Joi.string().allow("").required(),
|
|
7133
|
-
priority: Joi.number(),
|
|
7134
|
-
slug: Joi.string().allow(""),
|
|
7135
|
-
synonyms: Joi.array().items(Joi.string().allow("")),
|
|
7136
|
-
tryouts: Joi.array().items(Joi.string().allow("")),
|
|
7137
|
-
});
|
|
7138
|
-
}
|
|
7139
|
-
|
|
7140
7046
|
/** @returns {CategoryResponse} */
|
|
7141
7047
|
static CategoryResponse() {
|
|
7142
7048
|
return Joi.object({
|
|
@@ -7145,14 +7051,6 @@ class CatalogPlatformModel {
|
|
|
7145
7051
|
});
|
|
7146
7052
|
}
|
|
7147
7053
|
|
|
7148
|
-
/** @returns {CategoryUpdateResponse} */
|
|
7149
|
-
static CategoryUpdateResponse() {
|
|
7150
|
-
return Joi.object({
|
|
7151
|
-
message: Joi.string().allow(""),
|
|
7152
|
-
success: Joi.boolean(),
|
|
7153
|
-
});
|
|
7154
|
-
}
|
|
7155
|
-
|
|
7156
7054
|
/** @returns {Child} */
|
|
7157
7055
|
static Child() {
|
|
7158
7056
|
return Joi.object({
|
|
@@ -7870,13 +7768,6 @@ class CatalogPlatformModel {
|
|
|
7870
7768
|
});
|
|
7871
7769
|
}
|
|
7872
7770
|
|
|
7873
|
-
/** @returns {DepartmentCreateErrorResponse} */
|
|
7874
|
-
static DepartmentCreateErrorResponse() {
|
|
7875
|
-
return Joi.object({
|
|
7876
|
-
error: Joi.any(),
|
|
7877
|
-
});
|
|
7878
|
-
}
|
|
7879
|
-
|
|
7880
7771
|
/** @returns {ProductBundleCreateErrorResponse} */
|
|
7881
7772
|
static ProductBundleCreateErrorResponse() {
|
|
7882
7773
|
return Joi.object({
|
|
@@ -7884,30 +7775,6 @@ class CatalogPlatformModel {
|
|
|
7884
7775
|
});
|
|
7885
7776
|
}
|
|
7886
7777
|
|
|
7887
|
-
/** @returns {DepartmentCreateResponse} */
|
|
7888
|
-
static DepartmentCreateResponse() {
|
|
7889
|
-
return Joi.object({
|
|
7890
|
-
message: Joi.string().allow("").required(),
|
|
7891
|
-
uid: Joi.number().required(),
|
|
7892
|
-
});
|
|
7893
|
-
}
|
|
7894
|
-
|
|
7895
|
-
/** @returns {DepartmentCreateUpdate} */
|
|
7896
|
-
static DepartmentCreateUpdate() {
|
|
7897
|
-
return Joi.object({
|
|
7898
|
-
_cls: Joi.string().allow(""),
|
|
7899
|
-
_custom_json: Joi.any(),
|
|
7900
|
-
is_active: Joi.boolean(),
|
|
7901
|
-
logo: Joi.string().allow("").required(),
|
|
7902
|
-
name: Joi.string().allow("").required(),
|
|
7903
|
-
platforms: Joi.any(),
|
|
7904
|
-
priority_order: Joi.number().required(),
|
|
7905
|
-
slug: Joi.string().allow(""),
|
|
7906
|
-
tags: Joi.array().items(Joi.string().allow("")),
|
|
7907
|
-
uid: Joi.number(),
|
|
7908
|
-
});
|
|
7909
|
-
}
|
|
7910
|
-
|
|
7911
7778
|
/** @returns {DepartmentErrorResponse} */
|
|
7912
7779
|
static DepartmentErrorResponse() {
|
|
7913
7780
|
return Joi.object({
|
|
@@ -7928,26 +7795,6 @@ class CatalogPlatformModel {
|
|
|
7928
7795
|
});
|
|
7929
7796
|
}
|
|
7930
7797
|
|
|
7931
|
-
/** @returns {DepartmentModel} */
|
|
7932
|
-
static DepartmentModel() {
|
|
7933
|
-
return Joi.object({
|
|
7934
|
-
_cls: Joi.string().allow(""),
|
|
7935
|
-
_custom_json: Joi.any(),
|
|
7936
|
-
_id: Joi.string().allow(""),
|
|
7937
|
-
created_by: Joi.any(),
|
|
7938
|
-
is_active: Joi.boolean(),
|
|
7939
|
-
logo: Joi.string().allow("").required(),
|
|
7940
|
-
modified_by: Joi.any(),
|
|
7941
|
-
name: Joi.string().allow("").required(),
|
|
7942
|
-
priority_order: Joi.number().required(),
|
|
7943
|
-
slug: Joi.string().allow(""),
|
|
7944
|
-
synonyms: Joi.array().items(Joi.string().allow("")),
|
|
7945
|
-
uid: Joi.number().required(),
|
|
7946
|
-
verified_by: Joi.any(),
|
|
7947
|
-
verified_on: Joi.string().allow(""),
|
|
7948
|
-
});
|
|
7949
|
-
}
|
|
7950
|
-
|
|
7951
7798
|
/** @returns {DepartmentResponse} */
|
|
7952
7799
|
static DepartmentResponse() {
|
|
7953
7800
|
return Joi.object({
|
|
@@ -8128,8 +7975,8 @@ class CatalogPlatformModel {
|
|
|
8128
7975
|
});
|
|
8129
7976
|
}
|
|
8130
7977
|
|
|
8131
|
-
/** @returns {
|
|
8132
|
-
static
|
|
7978
|
+
/** @returns {AttributeDetail} */
|
|
7979
|
+
static AttributeDetail() {
|
|
8133
7980
|
return Joi.object({
|
|
8134
7981
|
created_on: Joi.string().allow(""),
|
|
8135
7982
|
modified_on: Joi.string().allow(""),
|
|
@@ -9356,6 +9203,7 @@ class CatalogPlatformModel {
|
|
|
9356
9203
|
store_id: Joi.number().required(),
|
|
9357
9204
|
tags: Joi.array().items(Joi.string().allow("")).allow(null, ""),
|
|
9358
9205
|
total_quantity: Joi.number().allow(null),
|
|
9206
|
+
sellable_quantity: Joi.number(),
|
|
9359
9207
|
trace_id: Joi.string().allow(""),
|
|
9360
9208
|
});
|
|
9361
9209
|
}
|
|
@@ -12224,6 +12072,7 @@ class CatalogPlatformModel {
|
|
|
12224
12072
|
total_records: Joi.number(),
|
|
12225
12073
|
success_records: Joi.number(),
|
|
12226
12074
|
failed_records: Joi.number(),
|
|
12075
|
+
job_type: Joi.string().allow(""),
|
|
12227
12076
|
});
|
|
12228
12077
|
}
|
|
12229
12078
|
|
|
@@ -16,14 +16,6 @@ export = CatalogPlatformValidator;
|
|
|
16
16
|
* @typedef CreateBulkProductUploadJobParam
|
|
17
17
|
* @property {CatalogPlatformModel.BulkProductUploadJob} body
|
|
18
18
|
*/
|
|
19
|
-
/**
|
|
20
|
-
* @typedef CreateCategoriesParam
|
|
21
|
-
* @property {CatalogPlatformModel.CategoryRequestBody} body
|
|
22
|
-
*/
|
|
23
|
-
/**
|
|
24
|
-
* @typedef CreateDepartmentsParam
|
|
25
|
-
* @property {CatalogPlatformModel.DepartmentCreateUpdate} body
|
|
26
|
-
*/
|
|
27
19
|
/**
|
|
28
20
|
* @typedef CreateInventoryExportParam
|
|
29
21
|
* @property {CatalogPlatformModel.InventoryCreateRequest} body
|
|
@@ -113,6 +105,11 @@ export = CatalogPlatformValidator;
|
|
|
113
105
|
* @property {string} [q] - Search using hsn code, description, reporting_hsn
|
|
114
106
|
* @property {string} [type] - Search using type
|
|
115
107
|
*/
|
|
108
|
+
/**
|
|
109
|
+
* @typedef GetAttributeParam
|
|
110
|
+
* @property {string} attributeSlug - Slug of the attribute for which you want
|
|
111
|
+
* to view the details
|
|
112
|
+
*/
|
|
116
113
|
/**
|
|
117
114
|
* @typedef GetCategoryDataParam
|
|
118
115
|
* @property {string} uid - Category unique id
|
|
@@ -146,11 +143,6 @@ export = CatalogPlatformValidator;
|
|
|
146
143
|
* @typedef GetDepartmentDataParam
|
|
147
144
|
* @property {string} uid - A `uid` is a unique identifier of a department.
|
|
148
145
|
*/
|
|
149
|
-
/**
|
|
150
|
-
* @typedef GetGenderAttributeParam
|
|
151
|
-
* @property {string} attributeSlug - Slug of the attribute for which you want
|
|
152
|
-
* to view the genders
|
|
153
|
-
*/
|
|
154
146
|
/**
|
|
155
147
|
* @typedef GetHsnCodeParam
|
|
156
148
|
* @property {string} id - Unique id
|
|
@@ -440,16 +432,6 @@ export = CatalogPlatformValidator;
|
|
|
440
432
|
* @property {string} jobId - Company Id in which assets to be uploaded.
|
|
441
433
|
* @property {CatalogPlatformModel.ExportPatchRequest} body
|
|
442
434
|
*/
|
|
443
|
-
/**
|
|
444
|
-
* @typedef UpdateCategoryParam
|
|
445
|
-
* @property {string} uid - Category unique id
|
|
446
|
-
* @property {CatalogPlatformModel.CategoryRequestBody} body
|
|
447
|
-
*/
|
|
448
|
-
/**
|
|
449
|
-
* @typedef UpdateDepartmentParam
|
|
450
|
-
* @property {string} uid - A `uid` is a unique identifier of a department.
|
|
451
|
-
* @property {CatalogPlatformModel.DepartmentCreateUpdate} body
|
|
452
|
-
*/
|
|
453
435
|
/**
|
|
454
436
|
* @typedef UpdateInventoriesParam
|
|
455
437
|
* @property {CatalogPlatformModel.InventoryRequestSchemaV2} body
|
|
@@ -509,10 +491,6 @@ declare class CatalogPlatformValidator {
|
|
|
509
491
|
static createBulkInventoryJob(): CreateBulkInventoryJobParam;
|
|
510
492
|
/** @returns {CreateBulkProductUploadJobParam} */
|
|
511
493
|
static createBulkProductUploadJob(): CreateBulkProductUploadJobParam;
|
|
512
|
-
/** @returns {CreateCategoriesParam} */
|
|
513
|
-
static createCategories(): CreateCategoriesParam;
|
|
514
|
-
/** @returns {CreateDepartmentsParam} */
|
|
515
|
-
static createDepartments(): CreateDepartmentsParam;
|
|
516
494
|
/** @returns {CreateInventoryExportParam} */
|
|
517
495
|
static createInventoryExport(): CreateInventoryExportParam;
|
|
518
496
|
/** @returns {CreateInventoryExportJobParam} */
|
|
@@ -551,6 +529,8 @@ declare class CatalogPlatformValidator {
|
|
|
551
529
|
static exportInventoryConfig(): ExportInventoryConfigParam;
|
|
552
530
|
/** @returns {GetAllProductHsnCodesParam} */
|
|
553
531
|
static getAllProductHsnCodes(): GetAllProductHsnCodesParam;
|
|
532
|
+
/** @returns {GetAttributeParam} */
|
|
533
|
+
static getAttribute(): GetAttributeParam;
|
|
554
534
|
/** @returns {GetCategoryDataParam} */
|
|
555
535
|
static getCategoryData(): GetCategoryDataParam;
|
|
556
536
|
/** @returns {GetCompanyBrandDetailParam} */
|
|
@@ -565,8 +545,6 @@ declare class CatalogPlatformValidator {
|
|
|
565
545
|
static getCompanyVerification(): GetCompanyVerificationParam;
|
|
566
546
|
/** @returns {GetDepartmentDataParam} */
|
|
567
547
|
static getDepartmentData(): GetDepartmentDataParam;
|
|
568
|
-
/** @returns {GetGenderAttributeParam} */
|
|
569
|
-
static getGenderAttribute(): GetGenderAttributeParam;
|
|
570
548
|
/** @returns {GetHsnCodeParam} */
|
|
571
549
|
static getHsnCode(): GetHsnCodeParam;
|
|
572
550
|
/** @returns {GetInventoriesParam} */
|
|
@@ -645,10 +623,6 @@ declare class CatalogPlatformValidator {
|
|
|
645
623
|
static patchInventoryExportDetail(): PatchInventoryExportDetailParam;
|
|
646
624
|
/** @returns {PatchProductExportDetailParam} */
|
|
647
625
|
static patchProductExportDetail(): PatchProductExportDetailParam;
|
|
648
|
-
/** @returns {UpdateCategoryParam} */
|
|
649
|
-
static updateCategory(): UpdateCategoryParam;
|
|
650
|
-
/** @returns {UpdateDepartmentParam} */
|
|
651
|
-
static updateDepartment(): UpdateDepartmentParam;
|
|
652
626
|
/** @returns {UpdateInventoriesParam} */
|
|
653
627
|
static updateInventories(): UpdateInventoriesParam;
|
|
654
628
|
/** @returns {UpdateMarketplaceOptinParam} */
|
|
@@ -667,7 +641,7 @@ declare class CatalogPlatformValidator {
|
|
|
667
641
|
static validateProductTemplateSchema(): ValidateProductTemplateSchemaParam;
|
|
668
642
|
}
|
|
669
643
|
declare namespace CatalogPlatformValidator {
|
|
670
|
-
export { AllSizesParam, CreateBulkInventoryParam, CreateBulkInventoryJobParam, CreateBulkProductUploadJobParam,
|
|
644
|
+
export { AllSizesParam, CreateBulkInventoryParam, CreateBulkInventoryJobParam, CreateBulkProductUploadJobParam, CreateInventoryExportParam, CreateInventoryExportJobParam, CreateMarketplaceOptinParam, CreateProductParam, CreateProductAssetsInBulkParam, CreateProductBundleParam, CreateProductExportJobParam, CreateProductsInBulkParam, CreateSizeGuideParam, DeleteBulkInventoryJobParam, DeleteProductParam, DeleteProductBulkJobParam, DeleteRealtimeInventoryParam, DeleteSizeParam, DownloadInventoryTemplateViewParam, DownloadProductTemplateViewsParam, EditProductParam, ExportInventoryConfigParam, GetAllProductHsnCodesParam, GetAttributeParam, GetCategoryDataParam, GetCompanyBrandDetailParam, GetCompanyBrandsDRIParam, GetCompanyDetailParam, GetCompanyMetricsParam, GetCompanyVerificationParam, GetDepartmentDataParam, GetHsnCodeParam, GetInventoriesParam, GetInventoryBulkUploadHistoryParam, GetInventoryBySizeParam, GetInventoryBySizeIdentifierParam, GetInventoryExportParam, GetInventoryExportDetailParam, GetLocationTagsParam, GetMarketplacesParam, GetProductParam, GetProductAssetsInBulkParam, GetProductAttributesParam, GetProductBulkUploadHistoryParam, GetProductBundleParam, GetProductBundleDetailParam, GetProductExportDetailParam, GetProductExportJobsParam, GetProductSizeParam, GetProductTagsParam, GetProductTemplateBySlugParam, GetProductValidationParam, GetProductVerificationDetailsParam, GetProductsParam, GetSellerInsightsParam, GetSingleProductHSNCodeParam, GetSizeGuideParam, GetSizeGuidesParam, GetStoreDetailParam, GetVariantTypesParam, GetVariantsOfProductsParam, ListCategoriesParam, ListDepartmentsDataParam, ListHSNCodesParam, ListInventoryExportParam, ListProductTemplateParam, ListProductTemplateCategoriesParam, ListTemplateBrandTypeValuesParam, PatchInventoryExportDetailParam, PatchProductExportDetailParam, UpdateInventoriesParam, UpdateMarketplaceOptinParam, UpdateProductBundleParam, UpdateRealtimeInventoryParam, UpdateSizeGuideParam, UploadBulkProductsParam, ValidateProductTemplateParam, ValidateProductTemplateSchemaParam };
|
|
671
645
|
}
|
|
672
646
|
type AllSizesParam = {
|
|
673
647
|
/**
|
|
@@ -688,12 +662,6 @@ type CreateBulkInventoryJobParam = {
|
|
|
688
662
|
type CreateBulkProductUploadJobParam = {
|
|
689
663
|
body: CatalogPlatformModel.BulkProductUploadJob;
|
|
690
664
|
};
|
|
691
|
-
type CreateCategoriesParam = {
|
|
692
|
-
body: CatalogPlatformModel.CategoryRequestBody;
|
|
693
|
-
};
|
|
694
|
-
type CreateDepartmentsParam = {
|
|
695
|
-
body: CatalogPlatformModel.DepartmentCreateUpdate;
|
|
696
|
-
};
|
|
697
665
|
type CreateInventoryExportParam = {
|
|
698
666
|
body: CatalogPlatformModel.InventoryCreateRequest;
|
|
699
667
|
};
|
|
@@ -821,6 +789,13 @@ type GetAllProductHsnCodesParam = {
|
|
|
821
789
|
*/
|
|
822
790
|
type?: string;
|
|
823
791
|
};
|
|
792
|
+
type GetAttributeParam = {
|
|
793
|
+
/**
|
|
794
|
+
* - Slug of the attribute for which you want
|
|
795
|
+
* to view the details
|
|
796
|
+
*/
|
|
797
|
+
attributeSlug: string;
|
|
798
|
+
};
|
|
824
799
|
type GetCategoryDataParam = {
|
|
825
800
|
/**
|
|
826
801
|
* - Category unique id
|
|
@@ -883,13 +858,6 @@ type GetDepartmentDataParam = {
|
|
|
883
858
|
*/
|
|
884
859
|
uid: string;
|
|
885
860
|
};
|
|
886
|
-
type GetGenderAttributeParam = {
|
|
887
|
-
/**
|
|
888
|
-
* - Slug of the attribute for which you want
|
|
889
|
-
* to view the genders
|
|
890
|
-
*/
|
|
891
|
-
attributeSlug: string;
|
|
892
|
-
};
|
|
893
861
|
type GetHsnCodeParam = {
|
|
894
862
|
/**
|
|
895
863
|
* - Unique id
|
|
@@ -1506,20 +1474,6 @@ type PatchProductExportDetailParam = {
|
|
|
1506
1474
|
jobId: string;
|
|
1507
1475
|
body: CatalogPlatformModel.ExportPatchRequest;
|
|
1508
1476
|
};
|
|
1509
|
-
type UpdateCategoryParam = {
|
|
1510
|
-
/**
|
|
1511
|
-
* - Category unique id
|
|
1512
|
-
*/
|
|
1513
|
-
uid: string;
|
|
1514
|
-
body: CatalogPlatformModel.CategoryRequestBody;
|
|
1515
|
-
};
|
|
1516
|
-
type UpdateDepartmentParam = {
|
|
1517
|
-
/**
|
|
1518
|
-
* - A `uid` is a unique identifier of a department.
|
|
1519
|
-
*/
|
|
1520
|
-
uid: string;
|
|
1521
|
-
body: CatalogPlatformModel.DepartmentCreateUpdate;
|
|
1522
|
-
};
|
|
1523
1477
|
type UpdateInventoriesParam = {
|
|
1524
1478
|
body: CatalogPlatformModel.InventoryRequestSchemaV2;
|
|
1525
1479
|
};
|
|
@@ -23,16 +23,6 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
23
23
|
* @property {CatalogPlatformModel.BulkProductUploadJob} body
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
* @typedef CreateCategoriesParam
|
|
28
|
-
* @property {CatalogPlatformModel.CategoryRequestBody} body
|
|
29
|
-
*/
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* @typedef CreateDepartmentsParam
|
|
33
|
-
* @property {CatalogPlatformModel.DepartmentCreateUpdate} body
|
|
34
|
-
*/
|
|
35
|
-
|
|
36
26
|
/**
|
|
37
27
|
* @typedef CreateInventoryExportParam
|
|
38
28
|
* @property {CatalogPlatformModel.InventoryCreateRequest} body
|
|
@@ -141,6 +131,12 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
141
131
|
* @property {string} [type] - Search using type
|
|
142
132
|
*/
|
|
143
133
|
|
|
134
|
+
/**
|
|
135
|
+
* @typedef GetAttributeParam
|
|
136
|
+
* @property {string} attributeSlug - Slug of the attribute for which you want
|
|
137
|
+
* to view the details
|
|
138
|
+
*/
|
|
139
|
+
|
|
144
140
|
/**
|
|
145
141
|
* @typedef GetCategoryDataParam
|
|
146
142
|
* @property {string} uid - Category unique id
|
|
@@ -181,12 +177,6 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
181
177
|
* @property {string} uid - A `uid` is a unique identifier of a department.
|
|
182
178
|
*/
|
|
183
179
|
|
|
184
|
-
/**
|
|
185
|
-
* @typedef GetGenderAttributeParam
|
|
186
|
-
* @property {string} attributeSlug - Slug of the attribute for which you want
|
|
187
|
-
* to view the genders
|
|
188
|
-
*/
|
|
189
|
-
|
|
190
180
|
/**
|
|
191
181
|
* @typedef GetHsnCodeParam
|
|
192
182
|
* @property {string} id - Unique id
|
|
@@ -515,18 +505,6 @@ const CatalogPlatformModel = require("./CatalogPlatformModel");
|
|
|
515
505
|
* @property {CatalogPlatformModel.ExportPatchRequest} body
|
|
516
506
|
*/
|
|
517
507
|
|
|
518
|
-
/**
|
|
519
|
-
* @typedef UpdateCategoryParam
|
|
520
|
-
* @property {string} uid - Category unique id
|
|
521
|
-
* @property {CatalogPlatformModel.CategoryRequestBody} body
|
|
522
|
-
*/
|
|
523
|
-
|
|
524
|
-
/**
|
|
525
|
-
* @typedef UpdateDepartmentParam
|
|
526
|
-
* @property {string} uid - A `uid` is a unique identifier of a department.
|
|
527
|
-
* @property {CatalogPlatformModel.DepartmentCreateUpdate} body
|
|
528
|
-
*/
|
|
529
|
-
|
|
530
508
|
/**
|
|
531
509
|
* @typedef UpdateInventoriesParam
|
|
532
510
|
* @property {CatalogPlatformModel.InventoryRequestSchemaV2} body
|
|
@@ -615,20 +593,6 @@ class CatalogPlatformValidator {
|
|
|
615
593
|
}).required();
|
|
616
594
|
}
|
|
617
595
|
|
|
618
|
-
/** @returns {CreateCategoriesParam} */
|
|
619
|
-
static createCategories() {
|
|
620
|
-
return Joi.object({
|
|
621
|
-
body: CatalogPlatformModel.CategoryRequestBody().required(),
|
|
622
|
-
}).required();
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
/** @returns {CreateDepartmentsParam} */
|
|
626
|
-
static createDepartments() {
|
|
627
|
-
return Joi.object({
|
|
628
|
-
body: CatalogPlatformModel.DepartmentCreateUpdate().required(),
|
|
629
|
-
}).required();
|
|
630
|
-
}
|
|
631
|
-
|
|
632
596
|
/** @returns {CreateInventoryExportParam} */
|
|
633
597
|
static createInventoryExport() {
|
|
634
598
|
return Joi.object({
|
|
@@ -773,6 +737,13 @@ class CatalogPlatformValidator {
|
|
|
773
737
|
}).required();
|
|
774
738
|
}
|
|
775
739
|
|
|
740
|
+
/** @returns {GetAttributeParam} */
|
|
741
|
+
static getAttribute() {
|
|
742
|
+
return Joi.object({
|
|
743
|
+
attributeSlug: Joi.string().allow("").required(),
|
|
744
|
+
}).required();
|
|
745
|
+
}
|
|
746
|
+
|
|
776
747
|
/** @returns {GetCategoryDataParam} */
|
|
777
748
|
static getCategoryData() {
|
|
778
749
|
return Joi.object({
|
|
@@ -825,13 +796,6 @@ class CatalogPlatformValidator {
|
|
|
825
796
|
}).required();
|
|
826
797
|
}
|
|
827
798
|
|
|
828
|
-
/** @returns {GetGenderAttributeParam} */
|
|
829
|
-
static getGenderAttribute() {
|
|
830
|
-
return Joi.object({
|
|
831
|
-
attributeSlug: Joi.string().allow("").required(),
|
|
832
|
-
}).required();
|
|
833
|
-
}
|
|
834
|
-
|
|
835
799
|
/** @returns {GetHsnCodeParam} */
|
|
836
800
|
static getHsnCode() {
|
|
837
801
|
return Joi.object({
|
|
@@ -1185,22 +1149,6 @@ class CatalogPlatformValidator {
|
|
|
1185
1149
|
}).required();
|
|
1186
1150
|
}
|
|
1187
1151
|
|
|
1188
|
-
/** @returns {UpdateCategoryParam} */
|
|
1189
|
-
static updateCategory() {
|
|
1190
|
-
return Joi.object({
|
|
1191
|
-
uid: Joi.string().allow("").required(),
|
|
1192
|
-
body: CatalogPlatformModel.CategoryRequestBody().required(),
|
|
1193
|
-
}).required();
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
/** @returns {UpdateDepartmentParam} */
|
|
1197
|
-
static updateDepartment() {
|
|
1198
|
-
return Joi.object({
|
|
1199
|
-
uid: Joi.string().allow("").required(),
|
|
1200
|
-
body: CatalogPlatformModel.DepartmentCreateUpdate().required(),
|
|
1201
|
-
}).required();
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
1152
|
/** @returns {UpdateInventoriesParam} */
|
|
1205
1153
|
static updateInventories() {
|
|
1206
1154
|
return Joi.object({
|
|
@@ -69,14 +69,12 @@ declare class Communication {
|
|
|
69
69
|
*
|
|
70
70
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
71
71
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
72
|
-
* @returns {Promise<CommunicationPlatformModel.
|
|
73
|
-
* - Success response
|
|
74
|
-
*
|
|
72
|
+
* @returns {Promise<CommunicationPlatformModel.EventSubscription>} - Success response
|
|
75
73
|
* @name createEventSubscriptions
|
|
76
74
|
* @summary: Create event subscriptions
|
|
77
75
|
* @description: Create event subscriptions - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/createEventSubscriptions/).
|
|
78
76
|
*/
|
|
79
|
-
createEventSubscriptions({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.CreateEventSubscriptionsParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.
|
|
77
|
+
createEventSubscriptions({ body, requestHeaders }?: CommunicationPlatformApplicationValidator.CreateEventSubscriptionsParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EventSubscription>;
|
|
80
78
|
/**
|
|
81
79
|
* @param {CommunicationPlatformApplicationValidator.CreateEventSubscriptionsByBulkParam} arg
|
|
82
80
|
* - Arg object
|
|
@@ -217,14 +215,12 @@ declare class Communication {
|
|
|
217
215
|
*
|
|
218
216
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
219
217
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
220
|
-
* @returns {Promise<CommunicationPlatformModel.
|
|
221
|
-
* - Success response
|
|
222
|
-
*
|
|
218
|
+
* @returns {Promise<CommunicationPlatformModel.EventSubscription>} - Success response
|
|
223
219
|
* @name editEventSubscriptions
|
|
224
220
|
* @summary: Create event subscriptions
|
|
225
221
|
* @description: Create event subscriptions - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/editEventSubscriptions/).
|
|
226
222
|
*/
|
|
227
|
-
editEventSubscriptions({ id, body, requestHeaders }?: CommunicationPlatformApplicationValidator.EditEventSubscriptionsParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.
|
|
223
|
+
editEventSubscriptions({ id, body, requestHeaders }?: CommunicationPlatformApplicationValidator.EditEventSubscriptionsParam, { responseHeaders }?: object): Promise<CommunicationPlatformModel.EventSubscription>;
|
|
228
224
|
/**
|
|
229
225
|
* @param {CommunicationPlatformApplicationValidator.GetAppProvidersParam} arg
|
|
230
226
|
* - Arg object
|
|
@@ -426,9 +426,7 @@ class Communication {
|
|
|
426
426
|
*
|
|
427
427
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
428
428
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
429
|
-
* @returns {Promise<CommunicationPlatformModel.
|
|
430
|
-
* - Success response
|
|
431
|
-
*
|
|
429
|
+
* @returns {Promise<CommunicationPlatformModel.EventSubscription>} - Success response
|
|
432
430
|
* @name createEventSubscriptions
|
|
433
431
|
* @summary: Create event subscriptions
|
|
434
432
|
* @description: Create event subscriptions - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/createEventSubscriptions/).
|
|
@@ -484,10 +482,10 @@ class Communication {
|
|
|
484
482
|
|
|
485
483
|
const {
|
|
486
484
|
error: res_error,
|
|
487
|
-
} = CommunicationPlatformModel.
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
);
|
|
485
|
+
} = CommunicationPlatformModel.EventSubscription().validate(responseData, {
|
|
486
|
+
abortEarly: false,
|
|
487
|
+
allowUnknown: true,
|
|
488
|
+
});
|
|
491
489
|
|
|
492
490
|
if (res_error) {
|
|
493
491
|
if (this.config.options.strictResponseCheck === true) {
|
|
@@ -1401,9 +1399,7 @@ class Communication {
|
|
|
1401
1399
|
*
|
|
1402
1400
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
1403
1401
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1404
|
-
* @returns {Promise<CommunicationPlatformModel.
|
|
1405
|
-
* - Success response
|
|
1406
|
-
*
|
|
1402
|
+
* @returns {Promise<CommunicationPlatformModel.EventSubscription>} - Success response
|
|
1407
1403
|
* @name editEventSubscriptions
|
|
1408
1404
|
* @summary: Create event subscriptions
|
|
1409
1405
|
* @description: Create event subscriptions - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/communication/editEventSubscriptions/).
|
|
@@ -1461,10 +1457,10 @@ class Communication {
|
|
|
1461
1457
|
|
|
1462
1458
|
const {
|
|
1463
1459
|
error: res_error,
|
|
1464
|
-
} = CommunicationPlatformModel.
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
);
|
|
1460
|
+
} = CommunicationPlatformModel.EventSubscription().validate(responseData, {
|
|
1461
|
+
abortEarly: false,
|
|
1462
|
+
allowUnknown: true,
|
|
1463
|
+
});
|
|
1468
1464
|
|
|
1469
1465
|
if (res_error) {
|
|
1470
1466
|
if (this.config.options.strictResponseCheck === true) {
|