@gofynd/fdk-client-javascript 3.17.0 → 3.17.2
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 +40 -0
- package/sdk/application/Cart/CartApplicationClient.js +176 -0
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +18 -4
- package/sdk/application/Catalog/CatalogApplicationClient.js +47 -4
- package/sdk/application/Content/ContentApplicationClient.d.ts +11 -1
- package/sdk/application/Content/ContentApplicationClient.js +40 -2
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +1 -1
- package/sdk/application/Payment/PaymentApplicationClient.js +2 -0
- package/sdk/common/Constant.d.ts +9 -0
- package/sdk/common/Constant.js +11 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +3 -2
- package/sdk/partner/Theme/ThemePartnerModel.js +5 -2
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +72 -10
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +634 -33
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +225 -1
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +147 -0
- package/sdk/platform/Cart/CartPlatformModel.d.ts +951 -1
- package/sdk/platform/Cart/CartPlatformModel.js +597 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +123 -3
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +829 -39
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +205 -7
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +154 -3
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +5 -5
- package/sdk/platform/Catalog/CatalogPlatformClient.js +8 -5
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1023 -31
- package/sdk/platform/Catalog/CatalogPlatformModel.js +841 -26
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +7 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +3 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +7 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.js +3 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +92 -1
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +54 -0
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +5 -5
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +3 -3
- package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -8
- package/sdk/platform/Content/ContentPlatformModel.js +11 -8
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +21 -0
- package/sdk/platform/Discount/DiscountPlatformModel.js +9 -0
- package/sdk/platform/Order/OrderPlatformClient.d.ts +2 -2
- package/sdk/platform/Order/OrderPlatformClient.js +2 -2
- package/sdk/platform/Order/OrderPlatformModel.d.ts +20 -2
- package/sdk/platform/Order/OrderPlatformModel.js +9 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +14 -3
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +88 -6
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +28 -3
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +22 -2
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +356 -1
- package/sdk/platform/Payment/PaymentPlatformModel.js +229 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +3 -2
- package/sdk/platform/Theme/ThemePlatformModel.js +5 -2
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +29 -0
- package/sdk/platform/Webhook/WebhookPlatformModel.js +13 -0
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +29 -0
- package/sdk/public/Webhook/WebhookPublicModel.js +13 -0
|
@@ -64,6 +64,16 @@ export = WebhookPlatformModel;
|
|
|
64
64
|
* @property {SubscriberEventMapping} [subscriber_event_mapping]
|
|
65
65
|
* @property {Object} [event_schema] - The schema for the event, allowing for
|
|
66
66
|
* additional properties and may be null.
|
|
67
|
+
* @property {string} [sunset_date] - The date and time after which the event is
|
|
68
|
+
* considered sunset. After this timestamp, the entity should no longer be
|
|
69
|
+
* actively used, referenced, or offered for new operations, even if it still exists.
|
|
70
|
+
* @property {string} [announcement_date] - The date and time when the
|
|
71
|
+
* deprecation of the event is officially announced. This marks the start of
|
|
72
|
+
* the deprecation notice period and indicates that the entity is planned to
|
|
73
|
+
* be retired in the future, but may still remain available until the sunset date.
|
|
74
|
+
* @property {string} [support_end_date] - The date and time after which
|
|
75
|
+
* official support for the event ends. Beyond this point, no guarantees are
|
|
76
|
+
* made for maintenance, updates, fixes, or issue resolution.
|
|
67
77
|
* @property {string} [group] - The group associated with the event
|
|
68
78
|
* configuration, which may be null.
|
|
69
79
|
* @property {string} [version] - The version of the event configuration.
|
|
@@ -479,6 +489,25 @@ type EventConfig = {
|
|
|
479
489
|
* additional properties and may be null.
|
|
480
490
|
*/
|
|
481
491
|
event_schema?: any;
|
|
492
|
+
/**
|
|
493
|
+
* - The date and time after which the event is
|
|
494
|
+
* considered sunset. After this timestamp, the entity should no longer be
|
|
495
|
+
* actively used, referenced, or offered for new operations, even if it still exists.
|
|
496
|
+
*/
|
|
497
|
+
sunset_date?: string;
|
|
498
|
+
/**
|
|
499
|
+
* - The date and time when the
|
|
500
|
+
* deprecation of the event is officially announced. This marks the start of
|
|
501
|
+
* the deprecation notice period and indicates that the entity is planned to
|
|
502
|
+
* be retired in the future, but may still remain available until the sunset date.
|
|
503
|
+
*/
|
|
504
|
+
announcement_date?: string;
|
|
505
|
+
/**
|
|
506
|
+
* - The date and time after which
|
|
507
|
+
* official support for the event ends. Beyond this point, no guarantees are
|
|
508
|
+
* made for maintenance, updates, fixes, or issue resolution.
|
|
509
|
+
*/
|
|
510
|
+
support_end_date?: string;
|
|
482
511
|
/**
|
|
483
512
|
* - The group associated with the event
|
|
484
513
|
* configuration, which may be null.
|
|
@@ -69,6 +69,16 @@ const Joi = require("joi");
|
|
|
69
69
|
* @property {SubscriberEventMapping} [subscriber_event_mapping]
|
|
70
70
|
* @property {Object} [event_schema] - The schema for the event, allowing for
|
|
71
71
|
* additional properties and may be null.
|
|
72
|
+
* @property {string} [sunset_date] - The date and time after which the event is
|
|
73
|
+
* considered sunset. After this timestamp, the entity should no longer be
|
|
74
|
+
* actively used, referenced, or offered for new operations, even if it still exists.
|
|
75
|
+
* @property {string} [announcement_date] - The date and time when the
|
|
76
|
+
* deprecation of the event is officially announced. This marks the start of
|
|
77
|
+
* the deprecation notice period and indicates that the entity is planned to
|
|
78
|
+
* be retired in the future, but may still remain available until the sunset date.
|
|
79
|
+
* @property {string} [support_end_date] - The date and time after which
|
|
80
|
+
* official support for the event ends. Beyond this point, no guarantees are
|
|
81
|
+
* made for maintenance, updates, fixes, or issue resolution.
|
|
72
82
|
* @property {string} [group] - The group associated with the event
|
|
73
83
|
* configuration, which may be null.
|
|
74
84
|
* @property {string} [version] - The version of the event configuration.
|
|
@@ -409,6 +419,9 @@ class WebhookPlatformModel {
|
|
|
409
419
|
modified_by: Joi.string().allow(""),
|
|
410
420
|
subscriber_event_mapping: WebhookPlatformModel.SubscriberEventMapping(),
|
|
411
421
|
event_schema: Joi.object().pattern(/\S/, Joi.any()).allow(null, ""),
|
|
422
|
+
sunset_date: Joi.string().allow("").allow(null),
|
|
423
|
+
announcement_date: Joi.string().allow("").allow(null),
|
|
424
|
+
support_end_date: Joi.string().allow("").allow(null),
|
|
412
425
|
group: Joi.string().allow("").allow(null),
|
|
413
426
|
version: Joi.string().allow(""),
|
|
414
427
|
display_name: Joi.string().allow(""),
|
|
@@ -14,6 +14,16 @@ export = WebhookPublicModel;
|
|
|
14
14
|
* @property {string} [updated_on] - The timestamp when the event configuration
|
|
15
15
|
* was last updated.
|
|
16
16
|
* @property {string} [group] - The group to which the event belongs.
|
|
17
|
+
* @property {string} [sunset_date] - The date and time after which the event is
|
|
18
|
+
* considered sunset. After this timestamp, the entity should no longer be
|
|
19
|
+
* actively used, referenced, or offered for new operations, even if it still exists.
|
|
20
|
+
* @property {string} [announcement_date] - The date and time when the
|
|
21
|
+
* deprecation of the event is officially announced. This marks the start of
|
|
22
|
+
* the deprecation notice period and indicates that the entity is planned to
|
|
23
|
+
* be retired in the future, but may still remain available until the sunset date.
|
|
24
|
+
* @property {string} [support_end_date] - The date and time after which
|
|
25
|
+
* official support for the event ends. Beyond this point, no guarantees are
|
|
26
|
+
* made for maintenance, updates, fixes, or issue resolution.
|
|
17
27
|
*/
|
|
18
28
|
/**
|
|
19
29
|
* @typedef EventDetails
|
|
@@ -150,6 +160,25 @@ type EventConfig = {
|
|
|
150
160
|
* - The group to which the event belongs.
|
|
151
161
|
*/
|
|
152
162
|
group?: string;
|
|
163
|
+
/**
|
|
164
|
+
* - The date and time after which the event is
|
|
165
|
+
* considered sunset. After this timestamp, the entity should no longer be
|
|
166
|
+
* actively used, referenced, or offered for new operations, even if it still exists.
|
|
167
|
+
*/
|
|
168
|
+
sunset_date?: string;
|
|
169
|
+
/**
|
|
170
|
+
* - The date and time when the
|
|
171
|
+
* deprecation of the event is officially announced. This marks the start of
|
|
172
|
+
* the deprecation notice period and indicates that the entity is planned to
|
|
173
|
+
* be retired in the future, but may still remain available until the sunset date.
|
|
174
|
+
*/
|
|
175
|
+
announcement_date?: string;
|
|
176
|
+
/**
|
|
177
|
+
* - The date and time after which
|
|
178
|
+
* official support for the event ends. Beyond this point, no guarantees are
|
|
179
|
+
* made for maintenance, updates, fixes, or issue resolution.
|
|
180
|
+
*/
|
|
181
|
+
support_end_date?: string;
|
|
153
182
|
};
|
|
154
183
|
/** @returns {EventDetails} */
|
|
155
184
|
declare function EventDetails(): EventDetails;
|
|
@@ -15,6 +15,16 @@ const Joi = require("joi");
|
|
|
15
15
|
* @property {string} [updated_on] - The timestamp when the event configuration
|
|
16
16
|
* was last updated.
|
|
17
17
|
* @property {string} [group] - The group to which the event belongs.
|
|
18
|
+
* @property {string} [sunset_date] - The date and time after which the event is
|
|
19
|
+
* considered sunset. After this timestamp, the entity should no longer be
|
|
20
|
+
* actively used, referenced, or offered for new operations, even if it still exists.
|
|
21
|
+
* @property {string} [announcement_date] - The date and time when the
|
|
22
|
+
* deprecation of the event is officially announced. This marks the start of
|
|
23
|
+
* the deprecation notice period and indicates that the entity is planned to
|
|
24
|
+
* be retired in the future, but may still remain available until the sunset date.
|
|
25
|
+
* @property {string} [support_end_date] - The date and time after which
|
|
26
|
+
* official support for the event ends. Beyond this point, no guarantees are
|
|
27
|
+
* made for maintenance, updates, fixes, or issue resolution.
|
|
18
28
|
*/
|
|
19
29
|
|
|
20
30
|
/**
|
|
@@ -125,6 +135,9 @@ class WebhookPublicModel {
|
|
|
125
135
|
created_on: Joi.string().allow(""),
|
|
126
136
|
updated_on: Joi.string().allow(""),
|
|
127
137
|
group: Joi.string().allow("").allow(null),
|
|
138
|
+
sunset_date: Joi.string().allow("").allow(null),
|
|
139
|
+
announcement_date: Joi.string().allow("").allow(null),
|
|
140
|
+
support_end_date: Joi.string().allow("").allow(null),
|
|
128
141
|
});
|
|
129
142
|
}
|
|
130
143
|
|