@gofynd/fdk-client-javascript 1.4.3 → 1.4.5

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 (125) hide show
  1. package/README.md +1 -10
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +48 -48
  4. package/sdk/application/Cart/CartApplicationClient.js +48 -48
  5. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +69 -69
  6. package/sdk/application/Catalog/CatalogApplicationClient.js +69 -69
  7. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  8. package/sdk/application/Common/CommonApplicationClient.js +4 -4
  9. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -6
  10. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
  11. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -32
  12. package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -32
  13. package/sdk/application/Content/ContentApplicationClient.d.ts +45 -45
  14. package/sdk/application/Content/ContentApplicationClient.js +45 -45
  15. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +5 -5
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +5 -5
  17. package/sdk/application/Lead/LeadApplicationClient.d.ts +9 -9
  18. package/sdk/application/Lead/LeadApplicationClient.js +9 -9
  19. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -22
  20. package/sdk/application/Logistic/LogisticApplicationClient.js +22 -22
  21. package/sdk/application/Order/OrderApplicationClient.d.ts +14 -25
  22. package/sdk/application/Order/OrderApplicationClient.js +14 -94
  23. package/sdk/application/Order/OrderApplicationValidator.d.ts +1 -15
  24. package/sdk/application/Order/OrderApplicationValidator.js +0 -13
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +71 -71
  26. package/sdk/application/Payment/PaymentApplicationClient.js +71 -71
  27. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +1 -1
  28. package/sdk/application/Rewards/RewardsApplicationClient.js +1 -1
  29. package/sdk/application/Share/ShareApplicationClient.d.ts +1 -1
  30. package/sdk/application/Share/ShareApplicationClient.js +1 -1
  31. package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
  32. package/sdk/application/Share/ShareApplicationModel.js +2 -0
  33. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
  34. package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
  35. package/sdk/application/User/UserApplicationClient.d.ts +74 -74
  36. package/sdk/application/User/UserApplicationClient.js +74 -74
  37. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +5 -5
  38. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +5 -5
  39. package/sdk/platform/Billing/BillingPlatformClient.d.ts +13 -13
  40. package/sdk/platform/Billing/BillingPlatformClient.js +13 -13
  41. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +102 -102
  42. package/sdk/platform/Cart/CartPlatformApplicationClient.js +102 -102
  43. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +132 -131
  44. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +132 -131
  45. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +130 -130
  46. package/sdk/platform/Catalog/CatalogPlatformClient.js +130 -130
  47. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
  48. package/sdk/platform/Common/CommonPlatformClient.js +2 -2
  49. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +118 -118
  50. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +118 -118
  51. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
  52. package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
  53. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +22 -22
  54. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +22 -22
  55. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +34 -7
  56. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +35 -5
  57. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +4 -4
  58. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +4 -4
  59. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +41 -41
  60. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +41 -41
  61. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +26 -26
  62. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +26 -26
  63. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +93 -93
  64. package/sdk/platform/Content/ContentPlatformApplicationClient.js +93 -93
  65. package/sdk/platform/Content/ContentPlatformClient.d.ts +29 -29
  66. package/sdk/platform/Content/ContentPlatformClient.js +29 -29
  67. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +18 -18
  68. package/sdk/platform/Discount/DiscountPlatformClient.js +18 -18
  69. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -17
  70. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +18 -17
  71. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +6 -6
  72. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +6 -6
  73. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +2 -2
  74. package/sdk/platform/Finance/FinancePlatformClient.d.ts +4 -4
  75. package/sdk/platform/Finance/FinancePlatformClient.js +4 -4
  76. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +12 -12
  77. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +12 -12
  78. package/sdk/platform/Lead/LeadPlatformClient.d.ts +15 -15
  79. package/sdk/platform/Lead/LeadPlatformClient.js +15 -15
  80. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +10 -10
  81. package/sdk/platform/Order/OrderPlatformApplicationClient.js +10 -10
  82. package/sdk/platform/Order/OrderPlatformClient.d.ts +95 -106
  83. package/sdk/platform/Order/OrderPlatformClient.js +95 -190
  84. package/sdk/platform/Order/OrderPlatformModel.d.ts +10 -0
  85. package/sdk/platform/Order/OrderPlatformModel.js +4 -0
  86. package/sdk/platform/Order/OrderPlatformValidator.d.ts +1 -33
  87. package/sdk/platform/Order/OrderPlatformValidator.js +0 -20
  88. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -4
  89. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
  90. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +77 -77
  91. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +77 -77
  92. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +2 -2
  93. package/sdk/platform/Payment/PaymentPlatformClient.js +2 -2
  94. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +7 -0
  95. package/sdk/platform/Payment/PaymentPlatformModel.js +3 -0
  96. package/sdk/platform/PlatformClient.d.ts +0 -2
  97. package/sdk/platform/PlatformClient.js +0 -4
  98. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +7 -7
  99. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +7 -7
  100. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +40 -40
  101. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +40 -40
  102. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +51 -50
  103. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +51 -50
  104. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +1 -1
  105. package/sdk/platform/Share/SharePlatformApplicationClient.js +1 -1
  106. package/sdk/platform/Share/SharePlatformModel.d.ts +2 -0
  107. package/sdk/platform/Share/SharePlatformModel.js +2 -0
  108. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +34 -104
  109. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +34 -591
  110. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +1 -100
  111. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -92
  112. package/sdk/platform/Theme/ThemePlatformClient.d.ts +6 -6
  113. package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
  114. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -35
  115. package/sdk/platform/User/UserPlatformApplicationClient.js +35 -35
  116. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +7 -6
  117. package/sdk/platform/Webhook/WebhookPlatformClient.js +7 -6
  118. package/sdk/platform/index.d.ts +0 -1
  119. package/sdk/platform/index.js +0 -2
  120. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +0 -152
  121. package/sdk/platform/Inventory/InventoryPlatformClient.js +0 -1017
  122. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +0 -1355
  123. package/sdk/platform/Inventory/InventoryPlatformModel.js +0 -1544
  124. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +0 -171
  125. package/sdk/platform/Inventory/InventoryPlatformValidator.js +0 -159
@@ -1,1355 +0,0 @@
1
- export = InventoryPlatformModel;
2
- /**
3
- * @typedef DataTresholdDTO
4
- * @property {number} [min_price]
5
- * @property {number} [safe_stock]
6
- * @property {number} [period_threshold]
7
- * @property {string} [period_threshold_type]
8
- * @property {GenericDTO[]} [period_type_list]
9
- */
10
- /**
11
- * @typedef GenericDTO
12
- * @property {string} [text]
13
- * @property {Object} [value]
14
- */
15
- /**
16
- * @typedef JobConfigDTO
17
- * @property {Object} [integration_data]
18
- * @property {string} [company_name]
19
- * @property {string} integration
20
- * @property {number} company_id
21
- * @property {TaskDTO} [task_details]
22
- * @property {DataTresholdDTO} [threshold_details]
23
- * @property {string} [job_code]
24
- * @property {string} [alias]
25
- */
26
- /**
27
- * @typedef TaskDTO
28
- * @property {number} [type]
29
- * @property {GenericDTO[]} [group_list]
30
- */
31
- /**
32
- * @typedef Page
33
- * @property {number} [item_total]
34
- * @property {string} [next_id]
35
- * @property {boolean} [has_previous]
36
- * @property {boolean} [has_next]
37
- * @property {number} [current]
38
- * @property {string} type
39
- * @property {number} [size]
40
- */
41
- /**
42
- * @typedef ResponseEnvelopeString
43
- * @property {string} [timestamp]
44
- * @property {number} [status]
45
- * @property {string} [error]
46
- * @property {string} [exception]
47
- * @property {string} [message]
48
- * @property {number} [total_time_taken_in_millis]
49
- * @property {string} [http_status]
50
- * @property {string} [items]
51
- * @property {string} [payload]
52
- * @property {string} [trace_id]
53
- * @property {Page} [page]
54
- */
55
- /**
56
- * @typedef KafkaMetaModel
57
- * @property {string} [job_type]
58
- * @property {number} [batch_id]
59
- * @property {string} [action]
60
- * @property {string[]} [trace]
61
- * @property {string} [created_on]
62
- * @property {number} [created_timestamp]
63
- */
64
- /**
65
- * @typedef SuppressStoreModel
66
- * @property {number[]} [stores]
67
- */
68
- /**
69
- * @typedef SuppressStorePayload
70
- * @property {SuppressStoreModel[]} [payload]
71
- * @property {KafkaMetaModel} [meta]
72
- */
73
- /**
74
- * @typedef KafkaResponse
75
- * @property {number} [offset]
76
- * @property {number} [partition]
77
- */
78
- /**
79
- * @typedef ResponseEnvelopeKafkaResponse
80
- * @property {string} [timestamp]
81
- * @property {number} [status]
82
- * @property {string} [error]
83
- * @property {string} [exception]
84
- * @property {string} [message]
85
- * @property {number} [total_time_taken_in_millis]
86
- * @property {string} [http_status]
87
- * @property {KafkaResponse} [items]
88
- * @property {KafkaResponse} [payload]
89
- * @property {string} [trace_id]
90
- * @property {Page} [page]
91
- */
92
- /**
93
- * @typedef GCompany
94
- * @property {string} [_id]
95
- * @property {string} [integration]
96
- * @property {string} [level]
97
- * @property {number} [uid]
98
- * @property {boolean} [opted]
99
- * @property {string[]} [permissions]
100
- * @property {string} [token]
101
- * @property {string} [name]
102
- * @property {GStore[]} [stores]
103
- */
104
- /**
105
- * @typedef GStore
106
- * @property {string} [_id]
107
- * @property {string} [integration]
108
- * @property {string} [level]
109
- * @property {number} [uid]
110
- * @property {boolean} [opted]
111
- * @property {string[]} [permissions]
112
- * @property {string} [token]
113
- * @property {string} [code]
114
- * @property {string} [name]
115
- * @property {StoreData} [data]
116
- */
117
- /**
118
- * @typedef Metum
119
- * @property {string} [_id]
120
- * @property {string} [name]
121
- * @property {string} [value]
122
- */
123
- /**
124
- * @typedef ResponseEnvelopeListSlingshotConfigurationDetail
125
- * @property {string} [timestamp]
126
- * @property {number} [status]
127
- * @property {string} [error]
128
- * @property {string} [exception]
129
- * @property {string} [message]
130
- * @property {number} [total_time_taken_in_millis]
131
- * @property {string} [http_status]
132
- * @property {SlingshotConfigurationDetail[]} [items]
133
- * @property {SlingshotConfigurationDetail[]} [payload]
134
- * @property {string} [trace_id]
135
- * @property {Page} [page]
136
- */
137
- /**
138
- * @typedef SlingshotConfigurationDetail
139
- * @property {SlingshotIntegration} [integration]
140
- * @property {GCompany[]} [companies]
141
- */
142
- /**
143
- * @typedef SlingshotIntegration
144
- * @property {string} [_id]
145
- * @property {string} [description]
146
- * @property {string} [name]
147
- * @property {string} [slug]
148
- * @property {Metum[]} [meta]
149
- */
150
- /**
151
- * @typedef StoreData
152
- * @property {string} [location_id]
153
- */
154
- /**
155
- * @typedef AWSS3config
156
- * @property {string} [bucket]
157
- * @property {string} [region]
158
- * @property {string} [dir]
159
- * @property {string} [access_key]
160
- * @property {string} [secret_key]
161
- * @property {string} [local_file_path]
162
- * @property {string} [archive_path]
163
- * @property {boolean} [archive]
164
- * @property {boolean} [delete]
165
- * @property {boolean} [unzip]
166
- * @property {string} [zip_format]
167
- * @property {string} [file_regex]
168
- * @property {ArchiveConfig} [archive_config]
169
- */
170
- /**
171
- * @typedef ArchiveConfig
172
- * @property {boolean} [delete]
173
- * @property {boolean} [archive]
174
- * @property {string} [archive_dir]
175
- */
176
- /**
177
- * @typedef Audit
178
- * @property {string} [created_by]
179
- * @property {string} [modified_by]
180
- * @property {string} [created_on]
181
- * @property {string} [modified_on]
182
- */
183
- /**
184
- * @typedef CatalogMasterConfig
185
- * @property {string} [source_slug]
186
- */
187
- /**
188
- * @typedef CompanyConfig
189
- * @property {number} [company_id]
190
- * @property {number[]} [exclude_steps]
191
- * @property {string[]} [hidden_closet_keys]
192
- * @property {Object} [open_tags]
193
- * @property {string[]} [tax_identifiers]
194
- * @property {number} [delete_quantity_threshold]
195
- */
196
- /**
197
- * @typedef DBConfig
198
- * @property {string} [vendor]
199
- * @property {string} [host]
200
- * @property {number} [port]
201
- * @property {string} [username]
202
- * @property {string} [password]
203
- * @property {string} [dbname]
204
- * @property {string} [query]
205
- * @property {boolean} [procedure]
206
- * @property {string} [driver_class]
207
- * @property {string} [jdbc_url]
208
- * @property {Object} [optional_properties]
209
- */
210
- /**
211
- * @typedef DBConnectionProfile
212
- * @property {string} [inventory]
213
- */
214
- /**
215
- * @typedef DBParamConfig
216
- * @property {Object} [params]
217
- */
218
- /**
219
- * @typedef DefaultHeadersDTO
220
- * @property {PropBeanDTO} [store]
221
- * @property {PropBeanDTO} [intf_article_id]
222
- * @property {PropBeanDTO} [price_effective]
223
- * @property {PropBeanDTO} [quantity]
224
- */
225
- /**
226
- * @typedef DocMappingConfig
227
- * @property {Object} [properties]
228
- * @property {number} [junk_data_threshold_count]
229
- * @property {PropBeanConfig[]} [prop_bean_configs]
230
- * @property {string} [unwind_field]
231
- * @property {DefaultHeadersDTO} [default_headers]
232
- */
233
- /**
234
- * @typedef EmailConfig
235
- * @property {string} [recepient]
236
- * @property {string} [host]
237
- * @property {string} [username]
238
- * @property {string} [password]
239
- * @property {boolean} [unzip]
240
- * @property {boolean} [read_from_content]
241
- * @property {boolean} [filter_based_on_recepients]
242
- * @property {string} [pcol]
243
- * @property {string} [subject_line_regex]
244
- * @property {string} [sender_address]
245
- * @property {string} [local_dir]
246
- * @property {string[]} [folder_name_hierarchies]
247
- * @property {string} [attachment_regex]
248
- * @property {string} [body_content_regex]
249
- * @property {boolean} [password_protected]
250
- * @property {string} [zip_format]
251
- * @property {boolean} [attachment_mandate]
252
- * @property {boolean} [filter_files_after_extraction]
253
- * @property {ArchiveConfig} [archive_config]
254
- * @property {boolean} [read_all_unread_mails]
255
- * @property {string} [content_type]
256
- * @property {boolean} [downloadable_link]
257
- * @property {Object} [properties]
258
- */
259
- /**
260
- * @typedef FTPConfig
261
- * @property {string} [host]
262
- * @property {number} [port]
263
- * @property {string} [username]
264
- * @property {string} [password]
265
- * @property {boolean} [unzip]
266
- * @property {number} [retries]
267
- * @property {number} [interval]
268
- * @property {string} [local_dir]
269
- * @property {string} [remote_dir]
270
- * @property {string} [zip_file_regex]
271
- * @property {ArchiveConfig} [archive_config]
272
- * @property {string} [file_regex]
273
- * @property {string} [zip_format]
274
- * @property {boolean} [read_all_files]
275
- */
276
- /**
277
- * @typedef FileConfig
278
- * @property {string} [delimiter]
279
- * @property {string} [charset]
280
- * @property {Object} [properties]
281
- * @property {boolean} [file_has_header]
282
- * @property {number} [header_index]
283
- * @property {string[]} [header_array]
284
- * @property {number} [data_start_index]
285
- * @property {PropBeanConfig[]} [prop_bean_configs]
286
- * @property {number} [junk_data_threshold_count]
287
- * @property {string} [file_type]
288
- * @property {boolean} [line_validity_check]
289
- * @property {string[]} [sheet_names]
290
- * @property {boolean} [read_all_sheets]
291
- * @property {string} [quote_char]
292
- * @property {string} [escape_char]
293
- * @property {DefaultHeadersDTO} [default_headers]
294
- */
295
- /**
296
- * @typedef GoogleSpreadSheetConfig
297
- * @property {string} [range]
298
- * @property {string} [sheet_id]
299
- * @property {string} [client_secret_location]
300
- * @property {string} [cred_storage_directory]
301
- * @property {string} [local_dir]
302
- * @property {ArchiveConfig} [archive_config]
303
- */
304
- /**
305
- * @typedef HttpConfig
306
- * @property {string} [hosturl]
307
- * @property {string} [username]
308
- * @property {string} [password]
309
- * @property {Object} [request_params]
310
- * @property {string} [http_method]
311
- * @property {string} [request_payload]
312
- * @property {string} [local_path]
313
- * @property {ArchiveConfig} [archive_config]
314
- */
315
- /**
316
- * @typedef JobConfig
317
- * @property {number} [_id]
318
- * @property {string} [job_code]
319
- * @property {string} [task_type]
320
- * @property {number} [sync_delay]
321
- * @property {string} [cron_expression]
322
- * @property {StoreFilter} [store_filter]
323
- * @property {ProcessConfig} [process_config]
324
- * @property {StoreConfig[]} [store_config]
325
- * @property {Object} [properties]
326
- * @property {boolean} [immediate_first_run]
327
- * @property {boolean} [disable]
328
- * @property {string[]} [dependent_job_codes]
329
- * @property {CompanyConfig[]} [company_config]
330
- * @property {number[]} [company_ids]
331
- * @property {string[]} [tax_identifiers]
332
- * @property {string} [priority]
333
- * @property {number} [period_threshold]
334
- * @property {string} [period_threshold_type]
335
- * @property {DBConnectionProfile} [db_connection_profile]
336
- * @property {Object} [params]
337
- * @property {Object} [open_tags]
338
- * @property {number} [delete_quantity_threshold]
339
- * @property {CatalogMasterConfig} [catalog_master_config]
340
- * @property {string[]} [aggregator_types]
341
- * @property {string} [integration_type]
342
- * @property {number} [min_price]
343
- * @property {Audit} [audit]
344
- * @property {number} [version]
345
- * @property {string} [alias]
346
- */
347
- /**
348
- * @typedef JobConfigRawDTO
349
- * @property {string} company_name
350
- * @property {string} integration
351
- * @property {number} company_id
352
- * @property {JobConfig} [data]
353
- */
354
- /**
355
- * @typedef JsonDocConfig
356
- * @property {PropBeanConfig[]} [prop_bean_configs]
357
- */
358
- /**
359
- * @typedef LocalFileConfig
360
- * @property {number} [retries]
361
- * @property {number} [interval]
362
- * @property {string} [local_dir]
363
- * @property {string} [working_dir]
364
- * @property {boolean} [unzip]
365
- * @property {string} [zip_file_regex]
366
- * @property {string} [file_regex]
367
- * @property {string} [zip_format]
368
- * @property {ArchiveConfig} [archive_config]
369
- * @property {boolean} [read_all_files]
370
- */
371
- /**
372
- * @typedef MongoDocConfig
373
- * @property {string} [collection_name]
374
- * @property {Object} [find_query]
375
- * @property {Object} [projection_query]
376
- * @property {PropBeanConfig[]} [prop_bean_configs]
377
- * @property {Object[]} [aggregate_pipeline]
378
- * @property {boolean} [skip_save]
379
- */
380
- /**
381
- * @typedef OAuthConfig
382
- * @property {number} [limit]
383
- * @property {number} [pages]
384
- * @property {number} [interval]
385
- * @property {string} [consumer_key]
386
- * @property {string} [consumer_secret]
387
- * @property {string} [token]
388
- * @property {string} [token_secret]
389
- * @property {string} [rest_url]
390
- * @property {string} [rest_base_url]
391
- * @property {string} [function_name]
392
- */
393
- /**
394
- * @typedef ProcessConfig
395
- * @property {DBConfig} [db_config]
396
- * @property {DBParamConfig} [db_param_config]
397
- * @property {SFTPConfig} [sftp_config]
398
- * @property {AWSS3config} [aws_s3_config]
399
- * @property {MongoDocConfig} [mongo_doc_config]
400
- * @property {FTPConfig} [ftp_config]
401
- * @property {EmailConfig} [email_config]
402
- * @property {FileConfig} [file_config]
403
- * @property {JsonDocConfig} [json_doc_config]
404
- * @property {DocMappingConfig} [doc_mapping_config]
405
- * @property {TaskStepConfig} [task_step_config]
406
- * @property {HttpConfig} [http_config]
407
- * @property {LocalFileConfig} [local_file_config]
408
- * @property {OAuthConfig} [oauth_config]
409
- * @property {GoogleSpreadSheetConfig} [google_spreadsheet_config]
410
- */
411
- /**
412
- * @typedef PropBeanConfig
413
- * @property {boolean} [required]
414
- * @property {boolean} [optional]
415
- * @property {Send} [send]
416
- * @property {Object[]} [validations]
417
- * @property {string[]} [values]
418
- * @property {boolean} [include]
419
- * @property {string} [source_field]
420
- * @property {string[]} [source_fields]
421
- * @property {string} [destination_field]
422
- * @property {string} [data_type]
423
- * @property {Object} [default_value]
424
- * @property {Object} [const_value]
425
- * @property {string} [concat_str]
426
- * @property {string} [function_name]
427
- * @property {string} [transformer_name]
428
- * @property {string} [all_param_function_name]
429
- * @property {string} [sub_separator]
430
- * @property {string} [index_field]
431
- * @property {boolean} [ignore_if_not_exists]
432
- * @property {string} [identifier_type]
433
- * @property {Object} [projection_query]
434
- * @property {boolean} [enrich_from_master]
435
- */
436
- /**
437
- * @typedef PropBeanDTO
438
- * @property {boolean} [required]
439
- * @property {boolean} [optional]
440
- * @property {boolean} [include]
441
- * @property {string} [source_field]
442
- * @property {string[]} [source_fields]
443
- * @property {string} [destination_field]
444
- * @property {string} [data_type]
445
- * @property {Object} [default_value]
446
- * @property {Object} [const_value]
447
- * @property {string} [concat_str]
448
- * @property {string} [function_name]
449
- * @property {string} [transformer_name]
450
- * @property {string} [all_param_function_name]
451
- * @property {string} [sub_separator]
452
- * @property {string} [index_field]
453
- * @property {boolean} [ignore_if_not_exists]
454
- * @property {string} [identifier_type]
455
- * @property {Object} [projection_query]
456
- * @property {boolean} [enrich_from_master]
457
- */
458
- /**
459
- * @typedef ResponseEnvelopeListJobConfigRawDTO
460
- * @property {string} [timestamp]
461
- * @property {number} [status]
462
- * @property {string} [error]
463
- * @property {string} [exception]
464
- * @property {string} [message]
465
- * @property {number} [total_time_taken_in_millis]
466
- * @property {string} [http_status]
467
- * @property {JobConfigRawDTO[]} [items]
468
- * @property {JobConfigRawDTO[]} [payload]
469
- * @property {string} [trace_id]
470
- * @property {Page} [page]
471
- */
472
- /**
473
- * @typedef SFTPConfig
474
- * @property {string} [host]
475
- * @property {number} [port]
476
- * @property {string} [username]
477
- * @property {string} [password]
478
- * @property {boolean} [unzip]
479
- * @property {number} [retries]
480
- * @property {number} [interval]
481
- * @property {string} [private_key_path]
482
- * @property {boolean} [strict_host_key_checking]
483
- * @property {string} [local_dir]
484
- * @property {string} [remote_dir]
485
- * @property {boolean} [password_protected]
486
- * @property {string} [zip_file_regex]
487
- * @property {string} [file_regex]
488
- * @property {string} [zip_format]
489
- * @property {ArchiveConfig} [archive_config]
490
- * @property {boolean} [read_all_files]
491
- */
492
- /**
493
- * @typedef Send
494
- * @property {boolean} [raw]
495
- * @property {boolean} [processed]
496
- */
497
- /**
498
- * @typedef StoreConfig
499
- * @property {string} [job_code]
500
- * @property {string} [storeid]
501
- * @property {string} [store_alias]
502
- * @property {string} [store_file_regex]
503
- * @property {string} [store_file_name]
504
- * @property {ProcessConfig} [process_config]
505
- * @property {Object} [properties]
506
- */
507
- /**
508
- * @typedef StoreFilter
509
- * @property {string[]} [include_tags]
510
- * @property {string[]} [exclude_tags]
511
- * @property {Object} [query]
512
- */
513
- /**
514
- * @typedef TaskConfig
515
- * @property {string} [name]
516
- * @property {number} [task_config_id]
517
- * @property {TaskParam[]} [task_params]
518
- */
519
- /**
520
- * @typedef TaskParam
521
- * @property {string} [name]
522
- * @property {Object} [value]
523
- */
524
- /**
525
- * @typedef TaskStepConfig
526
- * @property {TaskConfig[]} [task_configs]
527
- * @property {number[]} [task_config_ids]
528
- * @property {number[]} [task_config_group_ids]
529
- */
530
- /**
531
- * @typedef JobStepsDTO
532
- * @property {string} [step_name]
533
- * @property {string} [type]
534
- * @property {number} [step_execution_time]
535
- * @property {number} [start_count]
536
- * @property {number} [end_count]
537
- * @property {number} [deleted_count]
538
- * @property {string} [processed_start_time]
539
- * @property {string} [processed_at]
540
- */
541
- /**
542
- * @typedef ResponseEnvelopeListJobStepsDTO
543
- * @property {string} [timestamp]
544
- * @property {number} [status]
545
- * @property {string} [error]
546
- * @property {string} [exception]
547
- * @property {string} [message]
548
- * @property {number} [total_time_taken_in_millis]
549
- * @property {string} [http_status]
550
- * @property {JobStepsDTO[]} [items]
551
- * @property {JobStepsDTO[]} [payload]
552
- * @property {string} [trace_id]
553
- * @property {Page} [page]
554
- */
555
- /**
556
- * @typedef ResponseEnvelopeListJobConfigDTO
557
- * @property {string} [timestamp]
558
- * @property {number} [status]
559
- * @property {string} [error]
560
- * @property {string} [exception]
561
- * @property {string} [message]
562
- * @property {number} [total_time_taken_in_millis]
563
- * @property {string} [http_status]
564
- * @property {JobConfigDTO[]} [items]
565
- * @property {JobConfigDTO[]} [payload]
566
- * @property {string} [trace_id]
567
- * @property {Page} [page]
568
- */
569
- /**
570
- * @typedef ResponseEnvelopeJobConfigDTO
571
- * @property {string} [timestamp]
572
- * @property {number} [status]
573
- * @property {string} [error]
574
- * @property {string} [exception]
575
- * @property {string} [message]
576
- * @property {number} [total_time_taken_in_millis]
577
- * @property {string} [http_status]
578
- * @property {JobConfigDTO} [items]
579
- * @property {JobConfigDTO} [payload]
580
- * @property {string} [trace_id]
581
- * @property {Page} [page]
582
- */
583
- /**
584
- * @typedef JobHistoryDto
585
- * @property {number} [total_added_count]
586
- * @property {number} [total_updated_count]
587
- * @property {number} [total_suppressed_count]
588
- * @property {number} [total_initial_count]
589
- * @property {number} [job_id]
590
- * @property {string} [status]
591
- * @property {string} [job_code]
592
- * @property {string} [processed_on]
593
- * @property {string[]} [filename]
594
- * @property {string} [error_type]
595
- * @property {string} [message]
596
- */
597
- /**
598
- * @typedef JobMetricsDto
599
- * @property {string} [job_code]
600
- * @property {string} [is_run_more_than_usual]
601
- * @property {JobHistoryDto[]} [job_history]
602
- * @property {number} [total_success_count]
603
- * @property {number} [total_failure_count]
604
- * @property {number} [total_warning_count]
605
- * @property {number} [total_suppressed_count]
606
- * @property {number} [total_job_runs]
607
- */
608
- /**
609
- * @typedef ResponseEnvelopeJobMetricsDto
610
- * @property {string} [timestamp]
611
- * @property {number} [status]
612
- * @property {string} [error]
613
- * @property {string} [exception]
614
- * @property {string} [message]
615
- * @property {number} [total_time_taken_in_millis]
616
- * @property {string} [http_status]
617
- * @property {JobMetricsDto} [items]
618
- * @property {JobMetricsDto} [payload]
619
- * @property {string} [trace_id]
620
- * @property {Page} [page]
621
- */
622
- /**
623
- * @typedef JobConfigListDTO
624
- * @property {string} [code]
625
- * @property {string} [alias]
626
- * @property {string} [modified_by]
627
- * @property {string} [created_by]
628
- * @property {string} [modified_on]
629
- * @property {string} [created_on]
630
- * @property {boolean} [active]
631
- * @property {string} [type]
632
- */
633
- /**
634
- * @typedef ResponseEnvelopeListJobConfigListDTO
635
- * @property {string} [timestamp]
636
- * @property {number} [status]
637
- * @property {string} [error]
638
- * @property {string} [exception]
639
- * @property {string} [message]
640
- * @property {number} [total_time_taken_in_millis]
641
- * @property {string} [http_status]
642
- * @property {JobConfigListDTO[]} [items]
643
- * @property {JobConfigListDTO[]} [payload]
644
- * @property {string} [trace_id]
645
- * @property {Page} [page]
646
- */
647
- declare class InventoryPlatformModel {
648
- }
649
- declare namespace InventoryPlatformModel {
650
- export { DataTresholdDTO, GenericDTO, JobConfigDTO, TaskDTO, Page, ResponseEnvelopeString, KafkaMetaModel, SuppressStoreModel, SuppressStorePayload, KafkaResponse, ResponseEnvelopeKafkaResponse, GCompany, GStore, Metum, ResponseEnvelopeListSlingshotConfigurationDetail, SlingshotConfigurationDetail, SlingshotIntegration, StoreData, AWSS3config, ArchiveConfig, Audit, CatalogMasterConfig, CompanyConfig, DBConfig, DBConnectionProfile, DBParamConfig, DefaultHeadersDTO, DocMappingConfig, EmailConfig, FTPConfig, FileConfig, GoogleSpreadSheetConfig, HttpConfig, JobConfig, JobConfigRawDTO, JsonDocConfig, LocalFileConfig, MongoDocConfig, OAuthConfig, ProcessConfig, PropBeanConfig, PropBeanDTO, ResponseEnvelopeListJobConfigRawDTO, SFTPConfig, Send, StoreConfig, StoreFilter, TaskConfig, TaskParam, TaskStepConfig, JobStepsDTO, ResponseEnvelopeListJobStepsDTO, ResponseEnvelopeListJobConfigDTO, ResponseEnvelopeJobConfigDTO, JobHistoryDto, JobMetricsDto, ResponseEnvelopeJobMetricsDto, JobConfigListDTO, ResponseEnvelopeListJobConfigListDTO };
651
- }
652
- /** @returns {DataTresholdDTO} */
653
- declare function DataTresholdDTO(): DataTresholdDTO;
654
- type DataTresholdDTO = {
655
- min_price?: number;
656
- safe_stock?: number;
657
- period_threshold?: number;
658
- period_threshold_type?: string;
659
- period_type_list?: GenericDTO[];
660
- };
661
- /** @returns {GenericDTO} */
662
- declare function GenericDTO(): GenericDTO;
663
- type GenericDTO = {
664
- text?: string;
665
- value?: any;
666
- };
667
- /** @returns {JobConfigDTO} */
668
- declare function JobConfigDTO(): JobConfigDTO;
669
- type JobConfigDTO = {
670
- integration_data?: any;
671
- company_name?: string;
672
- integration: string;
673
- company_id: number;
674
- task_details?: TaskDTO;
675
- threshold_details?: DataTresholdDTO;
676
- job_code?: string;
677
- alias?: string;
678
- };
679
- /** @returns {TaskDTO} */
680
- declare function TaskDTO(): TaskDTO;
681
- type TaskDTO = {
682
- type?: number;
683
- group_list?: GenericDTO[];
684
- };
685
- /** @returns {Page} */
686
- declare function Page(): Page;
687
- type Page = {
688
- item_total?: number;
689
- next_id?: string;
690
- has_previous?: boolean;
691
- has_next?: boolean;
692
- current?: number;
693
- type: string;
694
- size?: number;
695
- };
696
- /** @returns {ResponseEnvelopeString} */
697
- declare function ResponseEnvelopeString(): ResponseEnvelopeString;
698
- type ResponseEnvelopeString = {
699
- timestamp?: string;
700
- status?: number;
701
- error?: string;
702
- exception?: string;
703
- message?: string;
704
- total_time_taken_in_millis?: number;
705
- http_status?: string;
706
- items?: string;
707
- payload?: string;
708
- trace_id?: string;
709
- page?: Page;
710
- };
711
- /** @returns {KafkaMetaModel} */
712
- declare function KafkaMetaModel(): KafkaMetaModel;
713
- type KafkaMetaModel = {
714
- job_type?: string;
715
- batch_id?: number;
716
- action?: string;
717
- trace?: string[];
718
- created_on?: string;
719
- created_timestamp?: number;
720
- };
721
- /** @returns {SuppressStoreModel} */
722
- declare function SuppressStoreModel(): SuppressStoreModel;
723
- type SuppressStoreModel = {
724
- stores?: number[];
725
- };
726
- /** @returns {SuppressStorePayload} */
727
- declare function SuppressStorePayload(): SuppressStorePayload;
728
- type SuppressStorePayload = {
729
- payload?: SuppressStoreModel[];
730
- meta?: KafkaMetaModel;
731
- };
732
- /** @returns {KafkaResponse} */
733
- declare function KafkaResponse(): KafkaResponse;
734
- type KafkaResponse = {
735
- offset?: number;
736
- partition?: number;
737
- };
738
- /** @returns {ResponseEnvelopeKafkaResponse} */
739
- declare function ResponseEnvelopeKafkaResponse(): ResponseEnvelopeKafkaResponse;
740
- type ResponseEnvelopeKafkaResponse = {
741
- timestamp?: string;
742
- status?: number;
743
- error?: string;
744
- exception?: string;
745
- message?: string;
746
- total_time_taken_in_millis?: number;
747
- http_status?: string;
748
- items?: KafkaResponse;
749
- payload?: KafkaResponse;
750
- trace_id?: string;
751
- page?: Page;
752
- };
753
- /** @returns {GCompany} */
754
- declare function GCompany(): GCompany;
755
- type GCompany = {
756
- _id?: string;
757
- integration?: string;
758
- level?: string;
759
- uid?: number;
760
- opted?: boolean;
761
- permissions?: string[];
762
- token?: string;
763
- name?: string;
764
- stores?: GStore[];
765
- };
766
- /** @returns {GStore} */
767
- declare function GStore(): GStore;
768
- type GStore = {
769
- _id?: string;
770
- integration?: string;
771
- level?: string;
772
- uid?: number;
773
- opted?: boolean;
774
- permissions?: string[];
775
- token?: string;
776
- code?: string;
777
- name?: string;
778
- data?: StoreData;
779
- };
780
- /** @returns {Metum} */
781
- declare function Metum(): Metum;
782
- type Metum = {
783
- _id?: string;
784
- name?: string;
785
- value?: string;
786
- };
787
- /** @returns {ResponseEnvelopeListSlingshotConfigurationDetail} */
788
- declare function ResponseEnvelopeListSlingshotConfigurationDetail(): ResponseEnvelopeListSlingshotConfigurationDetail;
789
- type ResponseEnvelopeListSlingshotConfigurationDetail = {
790
- timestamp?: string;
791
- status?: number;
792
- error?: string;
793
- exception?: string;
794
- message?: string;
795
- total_time_taken_in_millis?: number;
796
- http_status?: string;
797
- items?: SlingshotConfigurationDetail[];
798
- payload?: SlingshotConfigurationDetail[];
799
- trace_id?: string;
800
- page?: Page;
801
- };
802
- /** @returns {SlingshotConfigurationDetail} */
803
- declare function SlingshotConfigurationDetail(): SlingshotConfigurationDetail;
804
- type SlingshotConfigurationDetail = {
805
- integration?: SlingshotIntegration;
806
- companies?: GCompany[];
807
- };
808
- /** @returns {SlingshotIntegration} */
809
- declare function SlingshotIntegration(): SlingshotIntegration;
810
- type SlingshotIntegration = {
811
- _id?: string;
812
- description?: string;
813
- name?: string;
814
- slug?: string;
815
- meta?: Metum[];
816
- };
817
- /** @returns {StoreData} */
818
- declare function StoreData(): StoreData;
819
- type StoreData = {
820
- location_id?: string;
821
- };
822
- /** @returns {AWSS3config} */
823
- declare function AWSS3config(): AWSS3config;
824
- type AWSS3config = {
825
- bucket?: string;
826
- region?: string;
827
- dir?: string;
828
- access_key?: string;
829
- secret_key?: string;
830
- local_file_path?: string;
831
- archive_path?: string;
832
- archive?: boolean;
833
- delete?: boolean;
834
- unzip?: boolean;
835
- zip_format?: string;
836
- file_regex?: string;
837
- archive_config?: ArchiveConfig;
838
- };
839
- /** @returns {ArchiveConfig} */
840
- declare function ArchiveConfig(): ArchiveConfig;
841
- type ArchiveConfig = {
842
- delete?: boolean;
843
- archive?: boolean;
844
- archive_dir?: string;
845
- };
846
- /** @returns {Audit} */
847
- declare function Audit(): Audit;
848
- type Audit = {
849
- created_by?: string;
850
- modified_by?: string;
851
- created_on?: string;
852
- modified_on?: string;
853
- };
854
- /** @returns {CatalogMasterConfig} */
855
- declare function CatalogMasterConfig(): CatalogMasterConfig;
856
- type CatalogMasterConfig = {
857
- source_slug?: string;
858
- };
859
- /** @returns {CompanyConfig} */
860
- declare function CompanyConfig(): CompanyConfig;
861
- type CompanyConfig = {
862
- company_id?: number;
863
- exclude_steps?: number[];
864
- hidden_closet_keys?: string[];
865
- open_tags?: any;
866
- tax_identifiers?: string[];
867
- delete_quantity_threshold?: number;
868
- };
869
- /** @returns {DBConfig} */
870
- declare function DBConfig(): DBConfig;
871
- type DBConfig = {
872
- vendor?: string;
873
- host?: string;
874
- port?: number;
875
- username?: string;
876
- password?: string;
877
- dbname?: string;
878
- query?: string;
879
- procedure?: boolean;
880
- driver_class?: string;
881
- jdbc_url?: string;
882
- optional_properties?: any;
883
- };
884
- /** @returns {DBConnectionProfile} */
885
- declare function DBConnectionProfile(): DBConnectionProfile;
886
- type DBConnectionProfile = {
887
- inventory?: string;
888
- };
889
- /** @returns {DBParamConfig} */
890
- declare function DBParamConfig(): DBParamConfig;
891
- type DBParamConfig = {
892
- params?: any;
893
- };
894
- /** @returns {DefaultHeadersDTO} */
895
- declare function DefaultHeadersDTO(): DefaultHeadersDTO;
896
- type DefaultHeadersDTO = {
897
- store?: PropBeanDTO;
898
- intf_article_id?: PropBeanDTO;
899
- price_effective?: PropBeanDTO;
900
- quantity?: PropBeanDTO;
901
- };
902
- /** @returns {DocMappingConfig} */
903
- declare function DocMappingConfig(): DocMappingConfig;
904
- type DocMappingConfig = {
905
- properties?: any;
906
- junk_data_threshold_count?: number;
907
- prop_bean_configs?: PropBeanConfig[];
908
- unwind_field?: string;
909
- default_headers?: DefaultHeadersDTO;
910
- };
911
- /** @returns {EmailConfig} */
912
- declare function EmailConfig(): EmailConfig;
913
- type EmailConfig = {
914
- recepient?: string;
915
- host?: string;
916
- username?: string;
917
- password?: string;
918
- unzip?: boolean;
919
- read_from_content?: boolean;
920
- filter_based_on_recepients?: boolean;
921
- pcol?: string;
922
- subject_line_regex?: string;
923
- sender_address?: string;
924
- local_dir?: string;
925
- folder_name_hierarchies?: string[];
926
- attachment_regex?: string;
927
- body_content_regex?: string;
928
- password_protected?: boolean;
929
- zip_format?: string;
930
- attachment_mandate?: boolean;
931
- filter_files_after_extraction?: boolean;
932
- archive_config?: ArchiveConfig;
933
- read_all_unread_mails?: boolean;
934
- content_type?: string;
935
- downloadable_link?: boolean;
936
- properties?: any;
937
- };
938
- /** @returns {FTPConfig} */
939
- declare function FTPConfig(): FTPConfig;
940
- type FTPConfig = {
941
- host?: string;
942
- port?: number;
943
- username?: string;
944
- password?: string;
945
- unzip?: boolean;
946
- retries?: number;
947
- interval?: number;
948
- local_dir?: string;
949
- remote_dir?: string;
950
- zip_file_regex?: string;
951
- archive_config?: ArchiveConfig;
952
- file_regex?: string;
953
- zip_format?: string;
954
- read_all_files?: boolean;
955
- };
956
- /** @returns {FileConfig} */
957
- declare function FileConfig(): FileConfig;
958
- type FileConfig = {
959
- delimiter?: string;
960
- charset?: string;
961
- properties?: any;
962
- file_has_header?: boolean;
963
- header_index?: number;
964
- header_array?: string[];
965
- data_start_index?: number;
966
- prop_bean_configs?: PropBeanConfig[];
967
- junk_data_threshold_count?: number;
968
- file_type?: string;
969
- line_validity_check?: boolean;
970
- sheet_names?: string[];
971
- read_all_sheets?: boolean;
972
- quote_char?: string;
973
- escape_char?: string;
974
- default_headers?: DefaultHeadersDTO;
975
- };
976
- /** @returns {GoogleSpreadSheetConfig} */
977
- declare function GoogleSpreadSheetConfig(): GoogleSpreadSheetConfig;
978
- type GoogleSpreadSheetConfig = {
979
- range?: string;
980
- sheet_id?: string;
981
- client_secret_location?: string;
982
- cred_storage_directory?: string;
983
- local_dir?: string;
984
- archive_config?: ArchiveConfig;
985
- };
986
- /** @returns {HttpConfig} */
987
- declare function HttpConfig(): HttpConfig;
988
- type HttpConfig = {
989
- hosturl?: string;
990
- username?: string;
991
- password?: string;
992
- request_params?: any;
993
- http_method?: string;
994
- request_payload?: string;
995
- local_path?: string;
996
- archive_config?: ArchiveConfig;
997
- };
998
- /** @returns {JobConfig} */
999
- declare function JobConfig(): JobConfig;
1000
- type JobConfig = {
1001
- _id?: number;
1002
- job_code?: string;
1003
- task_type?: string;
1004
- sync_delay?: number;
1005
- cron_expression?: string;
1006
- store_filter?: StoreFilter;
1007
- process_config?: ProcessConfig;
1008
- store_config?: StoreConfig[];
1009
- properties?: any;
1010
- immediate_first_run?: boolean;
1011
- disable?: boolean;
1012
- dependent_job_codes?: string[];
1013
- company_config?: CompanyConfig[];
1014
- company_ids?: number[];
1015
- tax_identifiers?: string[];
1016
- priority?: string;
1017
- period_threshold?: number;
1018
- period_threshold_type?: string;
1019
- db_connection_profile?: DBConnectionProfile;
1020
- params?: any;
1021
- open_tags?: any;
1022
- delete_quantity_threshold?: number;
1023
- catalog_master_config?: CatalogMasterConfig;
1024
- aggregator_types?: string[];
1025
- integration_type?: string;
1026
- min_price?: number;
1027
- audit?: Audit;
1028
- version?: number;
1029
- alias?: string;
1030
- };
1031
- /** @returns {JobConfigRawDTO} */
1032
- declare function JobConfigRawDTO(): JobConfigRawDTO;
1033
- type JobConfigRawDTO = {
1034
- company_name: string;
1035
- integration: string;
1036
- company_id: number;
1037
- data?: JobConfig;
1038
- };
1039
- /** @returns {JsonDocConfig} */
1040
- declare function JsonDocConfig(): JsonDocConfig;
1041
- type JsonDocConfig = {
1042
- prop_bean_configs?: PropBeanConfig[];
1043
- };
1044
- /** @returns {LocalFileConfig} */
1045
- declare function LocalFileConfig(): LocalFileConfig;
1046
- type LocalFileConfig = {
1047
- retries?: number;
1048
- interval?: number;
1049
- local_dir?: string;
1050
- working_dir?: string;
1051
- unzip?: boolean;
1052
- zip_file_regex?: string;
1053
- file_regex?: string;
1054
- zip_format?: string;
1055
- archive_config?: ArchiveConfig;
1056
- read_all_files?: boolean;
1057
- };
1058
- /** @returns {MongoDocConfig} */
1059
- declare function MongoDocConfig(): MongoDocConfig;
1060
- type MongoDocConfig = {
1061
- collection_name?: string;
1062
- find_query?: any;
1063
- projection_query?: any;
1064
- prop_bean_configs?: PropBeanConfig[];
1065
- aggregate_pipeline?: any[];
1066
- skip_save?: boolean;
1067
- };
1068
- /** @returns {OAuthConfig} */
1069
- declare function OAuthConfig(): OAuthConfig;
1070
- type OAuthConfig = {
1071
- limit?: number;
1072
- pages?: number;
1073
- interval?: number;
1074
- consumer_key?: string;
1075
- consumer_secret?: string;
1076
- token?: string;
1077
- token_secret?: string;
1078
- rest_url?: string;
1079
- rest_base_url?: string;
1080
- function_name?: string;
1081
- };
1082
- /** @returns {ProcessConfig} */
1083
- declare function ProcessConfig(): ProcessConfig;
1084
- type ProcessConfig = {
1085
- db_config?: DBConfig;
1086
- db_param_config?: DBParamConfig;
1087
- sftp_config?: SFTPConfig;
1088
- aws_s3_config?: AWSS3config;
1089
- mongo_doc_config?: MongoDocConfig;
1090
- ftp_config?: FTPConfig;
1091
- email_config?: EmailConfig;
1092
- file_config?: FileConfig;
1093
- json_doc_config?: JsonDocConfig;
1094
- doc_mapping_config?: DocMappingConfig;
1095
- task_step_config?: TaskStepConfig;
1096
- http_config?: HttpConfig;
1097
- local_file_config?: LocalFileConfig;
1098
- oauth_config?: OAuthConfig;
1099
- google_spreadsheet_config?: GoogleSpreadSheetConfig;
1100
- };
1101
- /** @returns {PropBeanConfig} */
1102
- declare function PropBeanConfig(): PropBeanConfig;
1103
- type PropBeanConfig = {
1104
- required?: boolean;
1105
- optional?: boolean;
1106
- send?: Send;
1107
- validations?: any[];
1108
- values?: string[];
1109
- include?: boolean;
1110
- source_field?: string;
1111
- source_fields?: string[];
1112
- destination_field?: string;
1113
- data_type?: string;
1114
- default_value?: any;
1115
- const_value?: any;
1116
- concat_str?: string;
1117
- function_name?: string;
1118
- transformer_name?: string;
1119
- all_param_function_name?: string;
1120
- sub_separator?: string;
1121
- index_field?: string;
1122
- ignore_if_not_exists?: boolean;
1123
- identifier_type?: string;
1124
- projection_query?: any;
1125
- enrich_from_master?: boolean;
1126
- };
1127
- /** @returns {PropBeanDTO} */
1128
- declare function PropBeanDTO(): PropBeanDTO;
1129
- type PropBeanDTO = {
1130
- required?: boolean;
1131
- optional?: boolean;
1132
- include?: boolean;
1133
- source_field?: string;
1134
- source_fields?: string[];
1135
- destination_field?: string;
1136
- data_type?: string;
1137
- default_value?: any;
1138
- const_value?: any;
1139
- concat_str?: string;
1140
- function_name?: string;
1141
- transformer_name?: string;
1142
- all_param_function_name?: string;
1143
- sub_separator?: string;
1144
- index_field?: string;
1145
- ignore_if_not_exists?: boolean;
1146
- identifier_type?: string;
1147
- projection_query?: any;
1148
- enrich_from_master?: boolean;
1149
- };
1150
- /** @returns {ResponseEnvelopeListJobConfigRawDTO} */
1151
- declare function ResponseEnvelopeListJobConfigRawDTO(): ResponseEnvelopeListJobConfigRawDTO;
1152
- type ResponseEnvelopeListJobConfigRawDTO = {
1153
- timestamp?: string;
1154
- status?: number;
1155
- error?: string;
1156
- exception?: string;
1157
- message?: string;
1158
- total_time_taken_in_millis?: number;
1159
- http_status?: string;
1160
- items?: JobConfigRawDTO[];
1161
- payload?: JobConfigRawDTO[];
1162
- trace_id?: string;
1163
- page?: Page;
1164
- };
1165
- /** @returns {SFTPConfig} */
1166
- declare function SFTPConfig(): SFTPConfig;
1167
- type SFTPConfig = {
1168
- host?: string;
1169
- port?: number;
1170
- username?: string;
1171
- password?: string;
1172
- unzip?: boolean;
1173
- retries?: number;
1174
- interval?: number;
1175
- private_key_path?: string;
1176
- strict_host_key_checking?: boolean;
1177
- local_dir?: string;
1178
- remote_dir?: string;
1179
- password_protected?: boolean;
1180
- zip_file_regex?: string;
1181
- file_regex?: string;
1182
- zip_format?: string;
1183
- archive_config?: ArchiveConfig;
1184
- read_all_files?: boolean;
1185
- };
1186
- /** @returns {Send} */
1187
- declare function Send(): Send;
1188
- type Send = {
1189
- raw?: boolean;
1190
- processed?: boolean;
1191
- };
1192
- /** @returns {StoreConfig} */
1193
- declare function StoreConfig(): StoreConfig;
1194
- type StoreConfig = {
1195
- job_code?: string;
1196
- storeid?: string;
1197
- store_alias?: string;
1198
- store_file_regex?: string;
1199
- store_file_name?: string;
1200
- process_config?: ProcessConfig;
1201
- properties?: any;
1202
- };
1203
- /** @returns {StoreFilter} */
1204
- declare function StoreFilter(): StoreFilter;
1205
- type StoreFilter = {
1206
- include_tags?: string[];
1207
- exclude_tags?: string[];
1208
- query?: any;
1209
- };
1210
- /** @returns {TaskConfig} */
1211
- declare function TaskConfig(): TaskConfig;
1212
- type TaskConfig = {
1213
- name?: string;
1214
- task_config_id?: number;
1215
- task_params?: TaskParam[];
1216
- };
1217
- /** @returns {TaskParam} */
1218
- declare function TaskParam(): TaskParam;
1219
- type TaskParam = {
1220
- name?: string;
1221
- value?: any;
1222
- };
1223
- /** @returns {TaskStepConfig} */
1224
- declare function TaskStepConfig(): TaskStepConfig;
1225
- type TaskStepConfig = {
1226
- task_configs?: TaskConfig[];
1227
- task_config_ids?: number[];
1228
- task_config_group_ids?: number[];
1229
- };
1230
- /** @returns {JobStepsDTO} */
1231
- declare function JobStepsDTO(): JobStepsDTO;
1232
- type JobStepsDTO = {
1233
- step_name?: string;
1234
- type?: string;
1235
- step_execution_time?: number;
1236
- start_count?: number;
1237
- end_count?: number;
1238
- deleted_count?: number;
1239
- processed_start_time?: string;
1240
- processed_at?: string;
1241
- };
1242
- /** @returns {ResponseEnvelopeListJobStepsDTO} */
1243
- declare function ResponseEnvelopeListJobStepsDTO(): ResponseEnvelopeListJobStepsDTO;
1244
- type ResponseEnvelopeListJobStepsDTO = {
1245
- timestamp?: string;
1246
- status?: number;
1247
- error?: string;
1248
- exception?: string;
1249
- message?: string;
1250
- total_time_taken_in_millis?: number;
1251
- http_status?: string;
1252
- items?: JobStepsDTO[];
1253
- payload?: JobStepsDTO[];
1254
- trace_id?: string;
1255
- page?: Page;
1256
- };
1257
- /** @returns {ResponseEnvelopeListJobConfigDTO} */
1258
- declare function ResponseEnvelopeListJobConfigDTO(): ResponseEnvelopeListJobConfigDTO;
1259
- type ResponseEnvelopeListJobConfigDTO = {
1260
- timestamp?: string;
1261
- status?: number;
1262
- error?: string;
1263
- exception?: string;
1264
- message?: string;
1265
- total_time_taken_in_millis?: number;
1266
- http_status?: string;
1267
- items?: JobConfigDTO[];
1268
- payload?: JobConfigDTO[];
1269
- trace_id?: string;
1270
- page?: Page;
1271
- };
1272
- /** @returns {ResponseEnvelopeJobConfigDTO} */
1273
- declare function ResponseEnvelopeJobConfigDTO(): ResponseEnvelopeJobConfigDTO;
1274
- type ResponseEnvelopeJobConfigDTO = {
1275
- timestamp?: string;
1276
- status?: number;
1277
- error?: string;
1278
- exception?: string;
1279
- message?: string;
1280
- total_time_taken_in_millis?: number;
1281
- http_status?: string;
1282
- items?: JobConfigDTO;
1283
- payload?: JobConfigDTO;
1284
- trace_id?: string;
1285
- page?: Page;
1286
- };
1287
- /** @returns {JobHistoryDto} */
1288
- declare function JobHistoryDto(): JobHistoryDto;
1289
- type JobHistoryDto = {
1290
- total_added_count?: number;
1291
- total_updated_count?: number;
1292
- total_suppressed_count?: number;
1293
- total_initial_count?: number;
1294
- job_id?: number;
1295
- status?: string;
1296
- job_code?: string;
1297
- processed_on?: string;
1298
- filename?: string[];
1299
- error_type?: string;
1300
- message?: string;
1301
- };
1302
- /** @returns {JobMetricsDto} */
1303
- declare function JobMetricsDto(): JobMetricsDto;
1304
- type JobMetricsDto = {
1305
- job_code?: string;
1306
- is_run_more_than_usual?: string;
1307
- job_history?: JobHistoryDto[];
1308
- total_success_count?: number;
1309
- total_failure_count?: number;
1310
- total_warning_count?: number;
1311
- total_suppressed_count?: number;
1312
- total_job_runs?: number;
1313
- };
1314
- /** @returns {ResponseEnvelopeJobMetricsDto} */
1315
- declare function ResponseEnvelopeJobMetricsDto(): ResponseEnvelopeJobMetricsDto;
1316
- type ResponseEnvelopeJobMetricsDto = {
1317
- timestamp?: string;
1318
- status?: number;
1319
- error?: string;
1320
- exception?: string;
1321
- message?: string;
1322
- total_time_taken_in_millis?: number;
1323
- http_status?: string;
1324
- items?: JobMetricsDto;
1325
- payload?: JobMetricsDto;
1326
- trace_id?: string;
1327
- page?: Page;
1328
- };
1329
- /** @returns {JobConfigListDTO} */
1330
- declare function JobConfigListDTO(): JobConfigListDTO;
1331
- type JobConfigListDTO = {
1332
- code?: string;
1333
- alias?: string;
1334
- modified_by?: string;
1335
- created_by?: string;
1336
- modified_on?: string;
1337
- created_on?: string;
1338
- active?: boolean;
1339
- type?: string;
1340
- };
1341
- /** @returns {ResponseEnvelopeListJobConfigListDTO} */
1342
- declare function ResponseEnvelopeListJobConfigListDTO(): ResponseEnvelopeListJobConfigListDTO;
1343
- type ResponseEnvelopeListJobConfigListDTO = {
1344
- timestamp?: string;
1345
- status?: number;
1346
- error?: string;
1347
- exception?: string;
1348
- message?: string;
1349
- total_time_taken_in_millis?: number;
1350
- http_status?: string;
1351
- items?: JobConfigListDTO[];
1352
- payload?: JobConfigListDTO[];
1353
- trace_id?: string;
1354
- page?: Page;
1355
- };