@gofynd/fdk-client-javascript 1.4.2-beta.2 → 1.4.2-beta.3

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.
Files changed (106) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationModel.d.ts +1742 -1726
  4. package/sdk/application/Cart/CartApplicationModel.js +1497 -1481
  5. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
  6. package/sdk/application/Catalog/CatalogApplicationModel.js +1611 -1611
  7. package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
  8. package/sdk/application/Common/CommonApplicationModel.js +172 -172
  9. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
  10. package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
  11. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1614 -1614
  12. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1151 -1151
  13. package/sdk/application/Content/ContentApplicationModel.d.ts +797 -797
  14. package/sdk/application/Content/ContentApplicationModel.js +757 -757
  15. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
  16. package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
  17. package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
  18. package/sdk/application/Lead/LeadApplicationModel.js +301 -301
  19. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +666 -666
  20. package/sdk/application/Logistic/LogisticApplicationModel.js +601 -601
  21. package/sdk/application/Order/OrderApplicationModel.d.ts +846 -846
  22. package/sdk/application/Order/OrderApplicationModel.js +822 -822
  23. package/sdk/application/Payment/PaymentApplicationClient.d.ts +5 -5
  24. package/sdk/application/Payment/PaymentApplicationClient.js +10 -10
  25. package/sdk/application/Payment/PaymentApplicationModel.d.ts +2155 -2150
  26. package/sdk/application/Payment/PaymentApplicationModel.js +1460 -1458
  27. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
  28. package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
  29. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1462 -1462
  30. package/sdk/application/PosCart/PosCartApplicationModel.js +1260 -1260
  31. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
  32. package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
  33. package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
  34. package/sdk/application/Share/ShareApplicationModel.js +121 -121
  35. package/sdk/application/Theme/ThemeApplicationModel.d.ts +895 -895
  36. package/sdk/application/Theme/ThemeApplicationModel.js +684 -684
  37. package/sdk/application/User/UserApplicationModel.d.ts +762 -762
  38. package/sdk/application/User/UserApplicationModel.js +738 -738
  39. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +63 -63
  40. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +65 -65
  41. package/sdk/partner/Lead/LeadPartnerModel.d.ts +661 -661
  42. package/sdk/partner/Lead/LeadPartnerModel.js +491 -491
  43. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +223 -223
  44. package/sdk/partner/Logistics/LogisticsPartnerModel.js +235 -235
  45. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1087 -1087
  46. package/sdk/partner/Theme/ThemePartnerModel.js +819 -819
  47. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +386 -386
  48. package/sdk/partner/Webhook/WebhookPartnerModel.js +342 -342
  49. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
  50. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
  51. package/sdk/platform/Billing/BillingPlatformModel.d.ts +801 -801
  52. package/sdk/platform/Billing/BillingPlatformModel.js +783 -783
  53. package/sdk/platform/Cart/CartPlatformModel.d.ts +3333 -3317
  54. package/sdk/platform/Cart/CartPlatformModel.js +2936 -2920
  55. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1013 -1013
  56. package/sdk/platform/Catalog/CatalogPlatformModel.js +923 -923
  57. package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
  58. package/sdk/platform/Common/CommonPlatformModel.js +187 -187
  59. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1238 -1238
  60. package/sdk/platform/Communication/CommunicationPlatformModel.js +1273 -1273
  61. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +661 -661
  62. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +692 -692
  63. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +3198 -3198
  64. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2247 -2247
  65. package/sdk/platform/Content/ContentPlatformModel.d.ts +1833 -1833
  66. package/sdk/platform/Content/ContentPlatformModel.js +1837 -1837
  67. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +245 -245
  68. package/sdk/platform/Discount/DiscountPlatformModel.js +248 -248
  69. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +865 -865
  70. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +877 -877
  71. package/sdk/platform/Finance/FinancePlatformModel.d.ts +1044 -1044
  72. package/sdk/platform/Finance/FinancePlatformModel.js +974 -974
  73. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
  74. package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
  75. package/sdk/platform/Lead/LeadPlatformModel.d.ts +608 -608
  76. package/sdk/platform/Lead/LeadPlatformModel.js +465 -465
  77. package/sdk/platform/Order/OrderPlatformModel.d.ts +5180 -5176
  78. package/sdk/platform/Order/OrderPlatformModel.js +4740 -4736
  79. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
  80. package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
  81. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2670 -2660
  82. package/sdk/platform/Payment/PaymentPlatformModel.js +1831 -1827
  83. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
  84. package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
  85. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1505 -1507
  86. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1532 -1536
  87. package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
  88. package/sdk/platform/Share/SharePlatformModel.js +139 -139
  89. package/sdk/platform/Theme/ThemePlatformModel.d.ts +1046 -1046
  90. package/sdk/platform/Theme/ThemePlatformModel.js +789 -789
  91. package/sdk/platform/User/UserPlatformModel.d.ts +758 -758
  92. package/sdk/platform/User/UserPlatformModel.js +643 -643
  93. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +439 -439
  94. package/sdk/platform/Webhook/WebhookPlatformModel.js +364 -364
  95. package/sdk/public/Billing/BillingPublicModel.d.ts +55 -55
  96. package/sdk/public/Billing/BillingPublicModel.js +51 -51
  97. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
  98. package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
  99. package/sdk/public/Content/ContentPublicModel.d.ts +26 -26
  100. package/sdk/public/Content/ContentPublicModel.js +28 -28
  101. package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
  102. package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
  103. package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
  104. package/sdk/public/Partner/PartnerPublicModel.js +113 -113
  105. package/sdk/public/Webhook/WebhookPublicModel.d.ts +87 -87
  106. package/sdk/public/Webhook/WebhookPublicModel.js +93 -93
@@ -1,65 +1,60 @@
1
1
  export = InventoryPublicModel;
2
- /**
3
- * @typedef ApikeyModel
4
- * @property {string} [error_message]
5
- * @property {string} [session_id]
6
- */
7
- /**
8
- * @typedef DataTresholdDTO
9
- * @property {number} [min_price]
10
- * @property {number} [period_threshold]
11
- * @property {string} [period_threshold_type]
12
- * @property {GenericDTO[]} [period_type_list]
13
- * @property {number} [safe_stock]
14
- */
15
2
  /**
16
3
  * @typedef EmailJobMetrics
17
- * @property {boolean} [daily_job]
18
4
  * @property {boolean} [executed]
19
5
  * @property {string} [id]
20
6
  * @property {string} [job_code]
7
+ * @property {boolean} [daily_job]
21
8
  * @property {string} [last_executed_on]
22
9
  */
10
+ /**
11
+ * @typedef Page
12
+ * @property {string} type
13
+ * @property {number} [size]
14
+ * @property {number} [current]
15
+ * @property {boolean} [has_next]
16
+ * @property {number} [item_total]
17
+ * @property {string} [next_id]
18
+ * @property {boolean} [has_previous]
19
+ */
20
+ /**
21
+ * @typedef ResponseEnvelopeEmailJobMetrics
22
+ * @property {string} [timestamp]
23
+ * @property {number} [status]
24
+ * @property {string} [error]
25
+ * @property {string} [exception]
26
+ * @property {string} [message]
27
+ * @property {number} [total_time_taken_in_millis]
28
+ * @property {string} [http_status]
29
+ * @property {EmailJobMetrics} [items]
30
+ * @property {EmailJobMetrics} [payload]
31
+ * @property {string} [trace_id]
32
+ * @property {Page} [page]
33
+ */
23
34
  /**
24
35
  * @typedef GCompany
25
36
  * @property {string} [_id]
26
37
  * @property {string} [integration]
27
38
  * @property {string} [level]
28
- * @property {string} [name]
39
+ * @property {number} [uid]
29
40
  * @property {boolean} [opted]
30
41
  * @property {string[]} [permissions]
31
- * @property {GStore[]} [stores]
32
42
  * @property {string} [token]
33
- * @property {number} [uid]
34
- */
35
- /**
36
- * @typedef GenericDTO
37
- * @property {string} [text]
38
- * @property {Object} [value]
43
+ * @property {string} [name]
44
+ * @property {GStore[]} [stores]
39
45
  */
40
46
  /**
41
47
  * @typedef GStore
42
48
  * @property {string} [_id]
43
- * @property {string} [code]
44
- * @property {StoreData} [data]
45
49
  * @property {string} [integration]
46
50
  * @property {string} [level]
47
- * @property {string} [name]
51
+ * @property {number} [uid]
48
52
  * @property {boolean} [opted]
49
53
  * @property {string[]} [permissions]
50
54
  * @property {string} [token]
51
- * @property {number} [uid]
52
- */
53
- /**
54
- * @typedef JobConfigDTO
55
- * @property {string} [alias]
56
- * @property {number} company_id
57
- * @property {string} [company_name]
58
- * @property {string} integration
59
- * @property {Object} [integration_data]
60
- * @property {string} [job_code]
61
- * @property {TaskDTO} [task_details]
62
- * @property {DataTresholdDTO} [threshold_details]
55
+ * @property {string} [code]
56
+ * @property {string} [name]
57
+ * @property {StoreData} [data]
63
58
  */
64
59
  /**
65
60
  * @typedef Metum
@@ -68,194 +63,192 @@ export = InventoryPublicModel;
68
63
  * @property {string} [value]
69
64
  */
70
65
  /**
71
- * @typedef Page
72
- * @property {number} [current]
73
- * @property {boolean} [has_next]
74
- * @property {boolean} [has_previous]
75
- * @property {number} [item_total]
76
- * @property {string} [next_id]
77
- * @property {number} [size]
78
- * @property {string} type
79
- */
80
- /**
81
- * @typedef ResponseEnvelopeApikeyModel
66
+ * @typedef ResponseEnvelopeSlingshotConfigurationDetail
67
+ * @property {string} [timestamp]
68
+ * @property {number} [status]
82
69
  * @property {string} [error]
83
70
  * @property {string} [exception]
84
- * @property {string} [http_status]
85
- * @property {ApikeyModel} [items]
86
71
  * @property {string} [message]
87
- * @property {Page} [page]
88
- * @property {ApikeyModel} [payload]
89
- * @property {number} [status]
90
- * @property {string} [timestamp]
91
72
  * @property {number} [total_time_taken_in_millis]
73
+ * @property {string} [http_status]
74
+ * @property {SlingshotConfigurationDetail} [items]
75
+ * @property {SlingshotConfigurationDetail} [payload]
92
76
  * @property {string} [trace_id]
77
+ * @property {Page} [page]
93
78
  */
94
79
  /**
95
- * @typedef ResponseEnvelopeEmailJobMetrics
80
+ * @typedef SlingshotConfigurationDetail
81
+ * @property {SlingshotIntegration} [integration]
82
+ * @property {GCompany[]} [companies]
83
+ */
84
+ /**
85
+ * @typedef SlingshotIntegration
86
+ * @property {string} [_id]
87
+ * @property {string} [description]
88
+ * @property {string} [name]
89
+ * @property {string} [slug]
90
+ * @property {Metum[]} [meta]
91
+ */
92
+ /**
93
+ * @typedef StoreData
94
+ * @property {string} [location_id]
95
+ */
96
+ /**
97
+ * @typedef ApikeyModel
98
+ * @property {string} [session_id]
99
+ * @property {string} [error_message]
100
+ */
101
+ /**
102
+ * @typedef ResponseEnvelopeApikeyModel
103
+ * @property {string} [timestamp]
104
+ * @property {number} [status]
96
105
  * @property {string} [error]
97
106
  * @property {string} [exception]
98
- * @property {string} [http_status]
99
- * @property {EmailJobMetrics} [items]
100
107
  * @property {string} [message]
101
- * @property {Page} [page]
102
- * @property {EmailJobMetrics} [payload]
103
- * @property {number} [status]
104
- * @property {string} [timestamp]
105
108
  * @property {number} [total_time_taken_in_millis]
109
+ * @property {string} [http_status]
110
+ * @property {ApikeyModel} [items]
111
+ * @property {ApikeyModel} [payload]
106
112
  * @property {string} [trace_id]
113
+ * @property {Page} [page]
114
+ */
115
+ /**
116
+ * @typedef DataTresholdDTO
117
+ * @property {number} [min_price]
118
+ * @property {number} [safe_stock]
119
+ * @property {number} [period_threshold]
120
+ * @property {string} [period_threshold_type]
121
+ * @property {GenericDTO[]} [period_type_list]
122
+ */
123
+ /**
124
+ * @typedef GenericDTO
125
+ * @property {string} [text]
126
+ * @property {Object} [value]
127
+ */
128
+ /**
129
+ * @typedef JobConfigDTO
130
+ * @property {Object} [integration_data]
131
+ * @property {string} [company_name]
132
+ * @property {string} integration
133
+ * @property {number} company_id
134
+ * @property {TaskDTO} [task_details]
135
+ * @property {DataTresholdDTO} [threshold_details]
136
+ * @property {string} [job_code]
137
+ * @property {string} [alias]
107
138
  */
108
139
  /**
109
140
  * @typedef ResponseEnvelopeJobConfigDTO
141
+ * @property {string} [timestamp]
142
+ * @property {number} [status]
110
143
  * @property {string} [error]
111
144
  * @property {string} [exception]
145
+ * @property {string} [message]
146
+ * @property {number} [total_time_taken_in_millis]
112
147
  * @property {string} [http_status]
113
148
  * @property {JobConfigDTO} [items]
114
- * @property {string} [message]
115
- * @property {Page} [page]
116
149
  * @property {JobConfigDTO} [payload]
117
- * @property {number} [status]
118
- * @property {string} [timestamp]
119
- * @property {number} [total_time_taken_in_millis]
120
150
  * @property {string} [trace_id]
151
+ * @property {Page} [page]
152
+ */
153
+ /**
154
+ * @typedef TaskDTO
155
+ * @property {number} [type]
156
+ * @property {GenericDTO[]} [group_list]
121
157
  */
122
158
  /**
123
159
  * @typedef ResponseEnvelopeListJobConfigDTO
160
+ * @property {string} [timestamp]
161
+ * @property {number} [status]
124
162
  * @property {string} [error]
125
163
  * @property {string} [exception]
164
+ * @property {string} [message]
165
+ * @property {number} [total_time_taken_in_millis]
126
166
  * @property {string} [http_status]
127
167
  * @property {JobConfigDTO[]} [items]
128
- * @property {string} [message]
129
- * @property {Page} [page]
130
168
  * @property {JobConfigDTO[]} [payload]
131
- * @property {number} [status]
132
- * @property {string} [timestamp]
133
- * @property {number} [total_time_taken_in_millis]
134
169
  * @property {string} [trace_id]
170
+ * @property {Page} [page]
135
171
  */
136
172
  /**
137
173
  * @typedef ResponseEnvelopeObject
174
+ * @property {string} [timestamp]
175
+ * @property {number} [status]
138
176
  * @property {string} [error]
139
177
  * @property {string} [exception]
178
+ * @property {string} [message]
179
+ * @property {number} [total_time_taken_in_millis]
140
180
  * @property {string} [http_status]
141
181
  * @property {Object} [items]
142
- * @property {string} [message]
143
- * @property {Page} [page]
144
182
  * @property {Object} [payload]
145
- * @property {number} [status]
146
- * @property {string} [timestamp]
147
- * @property {number} [total_time_taken_in_millis]
148
183
  * @property {string} [trace_id]
149
- */
150
- /**
151
- * @typedef ResponseEnvelopeSlingshotConfigurationDetail
152
- * @property {string} [error]
153
- * @property {string} [exception]
154
- * @property {string} [http_status]
155
- * @property {SlingshotConfigurationDetail} [items]
156
- * @property {string} [message]
157
184
  * @property {Page} [page]
158
- * @property {SlingshotConfigurationDetail} [payload]
159
- * @property {number} [status]
160
- * @property {string} [timestamp]
161
- * @property {number} [total_time_taken_in_millis]
162
- * @property {string} [trace_id]
163
- */
164
- /**
165
- * @typedef SlingshotConfigurationDetail
166
- * @property {GCompany[]} [companies]
167
- * @property {SlingshotIntegration} [integration]
168
- */
169
- /**
170
- * @typedef SlingshotIntegration
171
- * @property {string} [_id]
172
- * @property {string} [description]
173
- * @property {Metum[]} [meta]
174
- * @property {string} [name]
175
- * @property {string} [slug]
176
- */
177
- /**
178
- * @typedef StoreData
179
- * @property {string} [location_id]
180
- */
181
- /**
182
- * @typedef TaskDTO
183
- * @property {GenericDTO[]} [group_list]
184
- * @property {number} [type]
185
185
  */
186
186
  declare class InventoryPublicModel {
187
187
  }
188
188
  declare namespace InventoryPublicModel {
189
- export { ApikeyModel, DataTresholdDTO, EmailJobMetrics, GCompany, GenericDTO, GStore, JobConfigDTO, Metum, Page, ResponseEnvelopeApikeyModel, ResponseEnvelopeEmailJobMetrics, ResponseEnvelopeJobConfigDTO, ResponseEnvelopeListJobConfigDTO, ResponseEnvelopeObject, ResponseEnvelopeSlingshotConfigurationDetail, SlingshotConfigurationDetail, SlingshotIntegration, StoreData, TaskDTO };
189
+ export { EmailJobMetrics, Page, ResponseEnvelopeEmailJobMetrics, GCompany, GStore, Metum, ResponseEnvelopeSlingshotConfigurationDetail, SlingshotConfigurationDetail, SlingshotIntegration, StoreData, ApikeyModel, ResponseEnvelopeApikeyModel, DataTresholdDTO, GenericDTO, JobConfigDTO, ResponseEnvelopeJobConfigDTO, TaskDTO, ResponseEnvelopeListJobConfigDTO, ResponseEnvelopeObject };
190
190
  }
191
- /** @returns {ApikeyModel} */
192
- declare function ApikeyModel(): ApikeyModel;
193
- type ApikeyModel = {
194
- error_message?: string;
195
- session_id?: string;
196
- };
197
- /** @returns {DataTresholdDTO} */
198
- declare function DataTresholdDTO(): DataTresholdDTO;
199
- type DataTresholdDTO = {
200
- min_price?: number;
201
- period_threshold?: number;
202
- period_threshold_type?: string;
203
- period_type_list?: GenericDTO[];
204
- safe_stock?: number;
205
- };
206
191
  /** @returns {EmailJobMetrics} */
207
192
  declare function EmailJobMetrics(): EmailJobMetrics;
208
193
  type EmailJobMetrics = {
209
- daily_job?: boolean;
210
194
  executed?: boolean;
211
195
  id?: string;
212
196
  job_code?: string;
197
+ daily_job?: boolean;
213
198
  last_executed_on?: string;
214
199
  };
200
+ /** @returns {Page} */
201
+ declare function Page(): Page;
202
+ type Page = {
203
+ type: string;
204
+ size?: number;
205
+ current?: number;
206
+ has_next?: boolean;
207
+ item_total?: number;
208
+ next_id?: string;
209
+ has_previous?: boolean;
210
+ };
211
+ /** @returns {ResponseEnvelopeEmailJobMetrics} */
212
+ declare function ResponseEnvelopeEmailJobMetrics(): ResponseEnvelopeEmailJobMetrics;
213
+ type ResponseEnvelopeEmailJobMetrics = {
214
+ timestamp?: string;
215
+ status?: number;
216
+ error?: string;
217
+ exception?: string;
218
+ message?: string;
219
+ total_time_taken_in_millis?: number;
220
+ http_status?: string;
221
+ items?: EmailJobMetrics;
222
+ payload?: EmailJobMetrics;
223
+ trace_id?: string;
224
+ page?: Page;
225
+ };
215
226
  /** @returns {GCompany} */
216
227
  declare function GCompany(): GCompany;
217
228
  type GCompany = {
218
229
  _id?: string;
219
230
  integration?: string;
220
231
  level?: string;
221
- name?: string;
232
+ uid?: number;
222
233
  opted?: boolean;
223
234
  permissions?: string[];
224
- stores?: GStore[];
225
235
  token?: string;
226
- uid?: number;
227
- };
228
- /** @returns {GenericDTO} */
229
- declare function GenericDTO(): GenericDTO;
230
- type GenericDTO = {
231
- text?: string;
232
- value?: any;
236
+ name?: string;
237
+ stores?: GStore[];
233
238
  };
234
239
  /** @returns {GStore} */
235
240
  declare function GStore(): GStore;
236
241
  type GStore = {
237
242
  _id?: string;
238
- code?: string;
239
- data?: StoreData;
240
243
  integration?: string;
241
244
  level?: string;
242
- name?: string;
245
+ uid?: number;
243
246
  opted?: boolean;
244
247
  permissions?: string[];
245
248
  token?: string;
246
- uid?: number;
247
- };
248
- /** @returns {JobConfigDTO} */
249
- declare function JobConfigDTO(): JobConfigDTO;
250
- type JobConfigDTO = {
251
- alias?: string;
252
- company_id: number;
253
- company_name?: string;
254
- integration: string;
255
- integration_data?: any;
256
- job_code?: string;
257
- task_details?: TaskDTO;
258
- threshold_details?: DataTresholdDTO;
249
+ code?: string;
250
+ name?: string;
251
+ data?: StoreData;
259
252
  };
260
253
  /** @returns {Metum} */
261
254
  declare function Metum(): Metum;
@@ -264,130 +257,137 @@ type Metum = {
264
257
  name?: string;
265
258
  value?: string;
266
259
  };
267
- /** @returns {Page} */
268
- declare function Page(): Page;
269
- type Page = {
270
- current?: number;
271
- has_next?: boolean;
272
- has_previous?: boolean;
273
- item_total?: number;
274
- next_id?: string;
275
- size?: number;
276
- type: string;
277
- };
278
- /** @returns {ResponseEnvelopeApikeyModel} */
279
- declare function ResponseEnvelopeApikeyModel(): ResponseEnvelopeApikeyModel;
280
- type ResponseEnvelopeApikeyModel = {
260
+ /** @returns {ResponseEnvelopeSlingshotConfigurationDetail} */
261
+ declare function ResponseEnvelopeSlingshotConfigurationDetail(): ResponseEnvelopeSlingshotConfigurationDetail;
262
+ type ResponseEnvelopeSlingshotConfigurationDetail = {
263
+ timestamp?: string;
264
+ status?: number;
281
265
  error?: string;
282
266
  exception?: string;
283
- http_status?: string;
284
- items?: ApikeyModel;
285
267
  message?: string;
286
- page?: Page;
287
- payload?: ApikeyModel;
288
- status?: number;
289
- timestamp?: string;
290
268
  total_time_taken_in_millis?: number;
269
+ http_status?: string;
270
+ items?: SlingshotConfigurationDetail;
271
+ payload?: SlingshotConfigurationDetail;
291
272
  trace_id?: string;
273
+ page?: Page;
292
274
  };
293
- /** @returns {ResponseEnvelopeEmailJobMetrics} */
294
- declare function ResponseEnvelopeEmailJobMetrics(): ResponseEnvelopeEmailJobMetrics;
295
- type ResponseEnvelopeEmailJobMetrics = {
275
+ /** @returns {SlingshotConfigurationDetail} */
276
+ declare function SlingshotConfigurationDetail(): SlingshotConfigurationDetail;
277
+ type SlingshotConfigurationDetail = {
278
+ integration?: SlingshotIntegration;
279
+ companies?: GCompany[];
280
+ };
281
+ /** @returns {SlingshotIntegration} */
282
+ declare function SlingshotIntegration(): SlingshotIntegration;
283
+ type SlingshotIntegration = {
284
+ _id?: string;
285
+ description?: string;
286
+ name?: string;
287
+ slug?: string;
288
+ meta?: Metum[];
289
+ };
290
+ /** @returns {StoreData} */
291
+ declare function StoreData(): StoreData;
292
+ type StoreData = {
293
+ location_id?: string;
294
+ };
295
+ /** @returns {ApikeyModel} */
296
+ declare function ApikeyModel(): ApikeyModel;
297
+ type ApikeyModel = {
298
+ session_id?: string;
299
+ error_message?: string;
300
+ };
301
+ /** @returns {ResponseEnvelopeApikeyModel} */
302
+ declare function ResponseEnvelopeApikeyModel(): ResponseEnvelopeApikeyModel;
303
+ type ResponseEnvelopeApikeyModel = {
304
+ timestamp?: string;
305
+ status?: number;
296
306
  error?: string;
297
307
  exception?: string;
298
- http_status?: string;
299
- items?: EmailJobMetrics;
300
308
  message?: string;
301
- page?: Page;
302
- payload?: EmailJobMetrics;
303
- status?: number;
304
- timestamp?: string;
305
309
  total_time_taken_in_millis?: number;
310
+ http_status?: string;
311
+ items?: ApikeyModel;
312
+ payload?: ApikeyModel;
306
313
  trace_id?: string;
314
+ page?: Page;
315
+ };
316
+ /** @returns {DataTresholdDTO} */
317
+ declare function DataTresholdDTO(): DataTresholdDTO;
318
+ type DataTresholdDTO = {
319
+ min_price?: number;
320
+ safe_stock?: number;
321
+ period_threshold?: number;
322
+ period_threshold_type?: string;
323
+ period_type_list?: GenericDTO[];
324
+ };
325
+ /** @returns {GenericDTO} */
326
+ declare function GenericDTO(): GenericDTO;
327
+ type GenericDTO = {
328
+ text?: string;
329
+ value?: any;
330
+ };
331
+ /** @returns {JobConfigDTO} */
332
+ declare function JobConfigDTO(): JobConfigDTO;
333
+ type JobConfigDTO = {
334
+ integration_data?: any;
335
+ company_name?: string;
336
+ integration: string;
337
+ company_id: number;
338
+ task_details?: TaskDTO;
339
+ threshold_details?: DataTresholdDTO;
340
+ job_code?: string;
341
+ alias?: string;
307
342
  };
308
343
  /** @returns {ResponseEnvelopeJobConfigDTO} */
309
344
  declare function ResponseEnvelopeJobConfigDTO(): ResponseEnvelopeJobConfigDTO;
310
345
  type ResponseEnvelopeJobConfigDTO = {
346
+ timestamp?: string;
347
+ status?: number;
311
348
  error?: string;
312
349
  exception?: string;
350
+ message?: string;
351
+ total_time_taken_in_millis?: number;
313
352
  http_status?: string;
314
353
  items?: JobConfigDTO;
315
- message?: string;
316
- page?: Page;
317
354
  payload?: JobConfigDTO;
318
- status?: number;
319
- timestamp?: string;
320
- total_time_taken_in_millis?: number;
321
355
  trace_id?: string;
356
+ page?: Page;
357
+ };
358
+ /** @returns {TaskDTO} */
359
+ declare function TaskDTO(): TaskDTO;
360
+ type TaskDTO = {
361
+ type?: number;
362
+ group_list?: GenericDTO[];
322
363
  };
323
364
  /** @returns {ResponseEnvelopeListJobConfigDTO} */
324
365
  declare function ResponseEnvelopeListJobConfigDTO(): ResponseEnvelopeListJobConfigDTO;
325
366
  type ResponseEnvelopeListJobConfigDTO = {
367
+ timestamp?: string;
368
+ status?: number;
326
369
  error?: string;
327
370
  exception?: string;
371
+ message?: string;
372
+ total_time_taken_in_millis?: number;
328
373
  http_status?: string;
329
374
  items?: JobConfigDTO[];
330
- message?: string;
331
- page?: Page;
332
375
  payload?: JobConfigDTO[];
333
- status?: number;
334
- timestamp?: string;
335
- total_time_taken_in_millis?: number;
336
376
  trace_id?: string;
377
+ page?: Page;
337
378
  };
338
379
  /** @returns {ResponseEnvelopeObject} */
339
380
  declare function ResponseEnvelopeObject(): ResponseEnvelopeObject;
340
381
  type ResponseEnvelopeObject = {
382
+ timestamp?: string;
383
+ status?: number;
341
384
  error?: string;
342
385
  exception?: string;
386
+ message?: string;
387
+ total_time_taken_in_millis?: number;
343
388
  http_status?: string;
344
389
  items?: any;
345
- message?: string;
346
- page?: Page;
347
390
  payload?: any;
348
- status?: number;
349
- timestamp?: string;
350
- total_time_taken_in_millis?: number;
351
391
  trace_id?: string;
352
- };
353
- /** @returns {ResponseEnvelopeSlingshotConfigurationDetail} */
354
- declare function ResponseEnvelopeSlingshotConfigurationDetail(): ResponseEnvelopeSlingshotConfigurationDetail;
355
- type ResponseEnvelopeSlingshotConfigurationDetail = {
356
- error?: string;
357
- exception?: string;
358
- http_status?: string;
359
- items?: SlingshotConfigurationDetail;
360
- message?: string;
361
392
  page?: Page;
362
- payload?: SlingshotConfigurationDetail;
363
- status?: number;
364
- timestamp?: string;
365
- total_time_taken_in_millis?: number;
366
- trace_id?: string;
367
- };
368
- /** @returns {SlingshotConfigurationDetail} */
369
- declare function SlingshotConfigurationDetail(): SlingshotConfigurationDetail;
370
- type SlingshotConfigurationDetail = {
371
- companies?: GCompany[];
372
- integration?: SlingshotIntegration;
373
- };
374
- /** @returns {SlingshotIntegration} */
375
- declare function SlingshotIntegration(): SlingshotIntegration;
376
- type SlingshotIntegration = {
377
- _id?: string;
378
- description?: string;
379
- meta?: Metum[];
380
- name?: string;
381
- slug?: string;
382
- };
383
- /** @returns {StoreData} */
384
- declare function StoreData(): StoreData;
385
- type StoreData = {
386
- location_id?: string;
387
- };
388
- /** @returns {TaskDTO} */
389
- declare function TaskDTO(): TaskDTO;
390
- type TaskDTO = {
391
- group_list?: GenericDTO[];
392
- type?: number;
393
393
  };