@gofynd/fdk-client-javascript 1.0.3 → 1.0.4

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 (175) hide show
  1. package/README.md +31 -2
  2. package/index.d.ts +4 -4
  3. package/index.js +9 -10
  4. package/package.json +14 -14
  5. package/sdk/APIClient.d.ts +11 -0
  6. package/sdk/APIClient.js +35 -0
  7. package/sdk/Client.d.ts +6 -0
  8. package/sdk/Client.js +17 -0
  9. package/sdk/Config.d.ts +9 -0
  10. package/sdk/Config.js +17 -0
  11. package/sdk/application/Cart/CartApplicationClient.js +29 -28
  12. package/sdk/application/Cart/CartApplicationModel.js +3 -1
  13. package/sdk/application/Catalog/CatalogApplicationClient.js +43 -42
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +1 -1
  15. package/sdk/application/Common/CommonApplicationClient.js +5 -4
  16. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -5
  17. package/sdk/application/Configuration/ConfigurationApplicationClient.js +21 -20
  18. package/sdk/application/Content/ContentApplicationClient.js +26 -25
  19. package/sdk/application/Content/ContentApplicationModel.js +1 -0
  20. package/sdk/application/FileStorage/FileStorageApplicationClient.js +6 -5
  21. package/sdk/application/Lead/LeadApplicationClient.js +10 -9
  22. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +1 -3
  23. package/sdk/application/Logistic/LogisticApplicationClient.js +11 -12
  24. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -1
  25. package/sdk/application/Order/OrderApplicationClient.js +15 -14
  26. package/sdk/application/Order/OrderApplicationModel.js +9 -0
  27. package/sdk/application/Payment/PaymentApplicationClient.js +42 -41
  28. package/sdk/application/PosCart/PosCartApplicationClient.js +30 -29
  29. package/sdk/application/PosCart/PosCartApplicationModel.js +3 -1
  30. package/sdk/application/Rewards/RewardsApplicationClient.js +11 -10
  31. package/sdk/application/Share/ShareApplicationClient.js +10 -9
  32. package/sdk/application/Theme/ThemeApplicationClient.js +7 -6
  33. package/sdk/application/User/UserApplicationClient.js +38 -37
  34. package/sdk/common/AxiosHelper.js +17 -6
  35. package/sdk/constructUrl.d.ts +5 -0
  36. package/sdk/constructUrl.js +13 -0
  37. package/sdk/index.d.ts +3 -0
  38. package/sdk/index.js +5 -0
  39. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +3 -1
  40. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  41. package/sdk/platform/Analytics/AnalyticsPlatformClient.js +5 -4
  42. package/sdk/platform/Analytics/AnalyticsPlatformValidator.js +1 -0
  43. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -2
  44. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +1 -0
  45. package/sdk/platform/Billing/BillingPlatformClient.js +3 -2
  46. package/sdk/platform/Billing/BillingPlatformValidator.js +1 -0
  47. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +27 -0
  48. package/sdk/platform/Cart/CartPlatformApplicationClient.js +177 -1
  49. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +3 -0
  50. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +17 -1
  51. package/sdk/platform/Cart/CartPlatformModel.js +7 -3
  52. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +3 -1
  53. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +1 -1
  54. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +2 -2
  55. package/sdk/platform/Catalog/CatalogPlatformClient.js +6 -9
  56. package/sdk/platform/Catalog/CatalogPlatformModel.js +7 -7
  57. package/sdk/platform/Catalog/CatalogPlatformValidator.js +2 -1
  58. package/sdk/platform/Common/CommonPlatformClient.js +7 -18
  59. package/sdk/platform/Common/CommonPlatformValidator.js +1 -0
  60. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +3 -1
  61. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -1
  62. package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -3
  63. package/sdk/platform/Communication/CommunicationPlatformValidator.js +1 -0
  64. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +5 -4
  65. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +1 -0
  66. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +3 -1
  67. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +1 -1
  68. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +9 -8
  69. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +1 -0
  70. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -10
  71. package/sdk/platform/Content/ContentPlatformApplicationClient.js +3 -62
  72. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +0 -1
  73. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +1 -7
  74. package/sdk/platform/Content/ContentPlatformModel.js +1 -0
  75. package/sdk/platform/Discount/DiscountPlatformClient.js +3 -2
  76. package/sdk/platform/Discount/DiscountPlatformValidator.js +1 -0
  77. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +3 -3
  78. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +27 -5
  79. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +1 -1
  80. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +3 -3
  81. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +28 -6
  82. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +1 -0
  83. package/sdk/platform/Inventory/InventoryPlatformClient.js +3 -2
  84. package/sdk/platform/Inventory/InventoryPlatformValidator.js +1 -0
  85. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +3 -1
  86. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +1 -1
  87. package/sdk/platform/Lead/LeadPlatformClient.js +4 -3
  88. package/sdk/platform/Lead/LeadPlatformValidator.js +1 -0
  89. package/sdk/platform/Order/OrderPlatformApplicationClient.js +3 -1
  90. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +1 -1
  91. package/sdk/platform/Order/OrderPlatformClient.d.ts +1 -1
  92. package/sdk/platform/Order/OrderPlatformClient.js +16 -3
  93. package/sdk/platform/Order/OrderPlatformModel.js +1 -0
  94. package/sdk/platform/Order/OrderPlatformValidator.js +1 -0
  95. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +3 -1
  96. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +1 -1
  97. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +1 -1
  98. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +14 -14
  99. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +1 -1
  100. package/sdk/platform/Payment/PaymentPlatformClient.js +3 -2
  101. package/sdk/platform/Payment/PaymentPlatformValidator.js +1 -0
  102. package/sdk/platform/PlatformClient.d.ts +13 -9
  103. package/sdk/platform/PlatformClient.js +13 -9
  104. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +4 -4
  105. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +36 -17
  106. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +1 -1
  107. package/sdk/platform/Share/SharePlatformApplicationClient.js +3 -1
  108. package/sdk/platform/Share/SharePlatformApplicationValidator.js +1 -1
  109. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +3 -1
  110. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +1 -1
  111. package/sdk/platform/User/UserPlatformApplicationClient.js +3 -1
  112. package/sdk/platform/User/UserPlatformApplicationValidator.js +1 -1
  113. package/sdk/platform/Webhook/WebhookPlatformClient.js +3 -2
  114. package/sdk/platform/Webhook/WebhookPlatformValidator.js +1 -0
  115. package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -0
  116. package/sdk/public/Inventory/InventoryPublicClient.js +2 -0
  117. package/sdk/public/Webhook/WebhookPublicClient.js +2 -0
  118. package/.github/workflows/on_create_release.yml +0 -23
  119. package/.github/workflows/on_merge_main.yml +0 -38
  120. package/.github/workflows/on_pull_request.yml +0 -35
  121. package/.prettierrc +0 -5
  122. package/documentation/application/CART.md +0 -8771
  123. package/documentation/application/CATALOG.md +0 -8690
  124. package/documentation/application/COMMON.md +0 -325
  125. package/documentation/application/COMMUNICATION.md +0 -387
  126. package/documentation/application/CONFIGURATION.md +0 -2212
  127. package/documentation/application/CONTENT.md +0 -2629
  128. package/documentation/application/FILESTORAGE.md +0 -442
  129. package/documentation/application/LEAD.md +0 -1549
  130. package/documentation/application/LOGISTIC.md +0 -689
  131. package/documentation/application/ORDER.md +0 -2937
  132. package/documentation/application/PAYMENT.md +0 -4475
  133. package/documentation/application/POSCART.md +0 -9375
  134. package/documentation/application/README.md +0 -21
  135. package/documentation/application/REWARDS.md +0 -554
  136. package/documentation/application/SHARE.md +0 -635
  137. package/documentation/application/THEME.md +0 -5517
  138. package/documentation/application/USER.md +0 -3798
  139. package/documentation/platform/ANALYTICS.md +0 -1012
  140. package/documentation/platform/AUDITTRAIL.md +0 -493
  141. package/documentation/platform/BILLING.md +0 -1889
  142. package/documentation/platform/CART.md +0 -4711
  143. package/documentation/platform/CATALOG.md +0 -20522
  144. package/documentation/platform/COMMON.md +0 -325
  145. package/documentation/platform/COMMUNICATION.md +0 -4970
  146. package/documentation/platform/COMPANYPROFILE.md +0 -1646
  147. package/documentation/platform/CONFIGURATION.md +0 -6316
  148. package/documentation/platform/CONTENT.md +0 -8364
  149. package/documentation/platform/DISCOUNT.md +0 -767
  150. package/documentation/platform/FILESTORAGE.md +0 -945
  151. package/documentation/platform/INVENTORY.md +0 -1136
  152. package/documentation/platform/LEAD.md +0 -4394
  153. package/documentation/platform/ORDER.md +0 -6525
  154. package/documentation/platform/PARTNER.md +0 -193
  155. package/documentation/platform/PAYMENT.md +0 -3138
  156. package/documentation/platform/README.md +0 -27
  157. package/documentation/platform/REWARDS.md +0 -919
  158. package/documentation/platform/SHARE.md +0 -513
  159. package/documentation/platform/THEME.md +0 -35446
  160. package/documentation/platform/USER.md +0 -2174
  161. package/documentation/platform/WEBHOOK.md +0 -485
  162. package/documentation/public/CONFIGURATION.md +0 -325
  163. package/documentation/public/INVENTORY.md +0 -508
  164. package/documentation/public/WEBHOOK.md +0 -246
  165. package/jest.config.d.ts +0 -4
  166. package/jest.config.js +0 -6
  167. package/tests/application/catalog.spec.js +0 -54
  168. package/tests/common/action-url.spec.js +0 -35
  169. package/tests/common/schema/action-url.json +0 -178
  170. package/tests/common/schema/url-action.json +0 -683
  171. package/tests/common/url-action.spec.js +0 -48
  172. package/tests/helpers/cookie.helper.js +0 -31
  173. package/tests/helpers/oauth.helper.js +0 -43
  174. package/tests/platform/catalog.spec.js +0 -49
  175. package/tests/public/location.spec.js +0 -39
@@ -1,442 +0,0 @@
1
-
2
-
3
-
4
-
5
-
6
- ##### [Back to Application docs](./README.md)
7
-
8
- ## FileStorage Methods
9
- File Storage
10
-
11
- * [upload](#upload)
12
-
13
- * [completeUpload](#completeupload)
14
- * [signUrls](#signurls)
15
- * [startUpload](#startupload)
16
-
17
-
18
-
19
- ## Methods with example and description
20
-
21
-
22
-
23
-
24
- ### upload
25
- method which internally calls `startUpload` and `completeUpload` method to handle the whole file upload flow.
26
-
27
-
28
- ```javascript
29
- // Promise
30
- const promise = fileStorage.upload({
31
- data,
32
- file_name,
33
- content_type,
34
- namespace,
35
- size,
36
- tags,
37
- });
38
-
39
- // Async/Await
40
- const data = await fileStorage.upload({
41
- data,
42
- file_name,
43
- content_type,
44
- namespace,
45
- size,
46
- tags,
47
- });
48
- ```
49
- | Argument | Type | Required | Description |
50
- | --------- | ----- | -------- | ----------- |
51
- | data | file | yes | File which needs to be uploaded |
52
- | file_name | string | yes | Name of the file |
53
- | content_type | string | yes | type of file |
54
- | namespace | string | yes | Name of the bucket created for storing objects |
55
- | size | number | yes | File size |
56
- | tags | [string] | yes | |
57
-
58
-
59
- Use this API to perform the upload of an arbitrarily sized buffer or blob.
60
-
61
-
62
-
63
- *Returned Response:*
64
-
65
- [CompleteResponse](#CompleteResponse)
66
-
67
-
68
-
69
- <details>
70
- <summary><i>&nbsp; Example:</i></summary>
71
-
72
- ```json
73
- {
74
- "file_name":"logo.png",
75
- "file_path":"/path/to/file/logo.png",
76
- "success":true,
77
- "namespace":"namespace",
78
- "content_type":"image/png",
79
- "size":1024,
80
- "operation":"putObject",
81
- "tags":[],
82
- "cdn":{
83
- "url":"https://cdn.pixelbin.io/v2/logo.png",
84
- "absolute_url":"https://cdn.pixelbin.io/v2/logo.png",
85
- "relative_url":"logo.png"
86
- },
87
- "_id":"63dbbxxxxxxxxxxxxdecc69f",
88
- "created_by":{
89
- "username":"username_gofynd_com"
90
- },
91
- "created_on":"2023-01-01T12:00:00.000Z",
92
- "modified_on":"2023-01-01T00:00:00.000Z"
93
- }
94
- ```
95
- </details>
96
-
97
- ---
98
-
99
-
100
-
101
-
102
-
103
- ### completeUpload
104
- Completes the upload process. After successfully uploading a file, call this API to finish the upload process.
105
-
106
-
107
-
108
- ```javascript
109
- // Promise
110
- const promise = fileStorage.completeUpload({ namespace : value,
111
- body : value });
112
-
113
- // Async/Await
114
- const data = await fileStorage.completeUpload({ namespace : value,
115
- body : value });
116
- ```
117
-
118
-
119
-
120
-
121
-
122
- | Argument | Type | Required | Description |
123
- | --------- | ----- | -------- | ----------- |
124
- | namespace | string | yes | Name of the bucket created for storing objects. |
125
- | body | [StartResponse](#StartResponse) | yes | Request body |
126
-
127
-
128
- Use this API to perform the third step of uploading (i.e. **Complete**) an arbitrarily sized buffer or blob.
129
-
130
- The three major steps are:
131
- * Start
132
- * Upload
133
- * Complete
134
-
135
- ### Start
136
- Initiates the assets upload using `startUpload`.
137
- It returns a storage link in response.
138
-
139
- ### Upload
140
- Use the storage link to upload a file (Buffer or Blob) to the File Storage.
141
- Make a `PUT` request on storage link received from `startUpload` API with the file (Buffer or Blob) in the request body.
142
-
143
- ### Complete
144
- After successfully upload, call the `completeUpload` API to finish the upload process.
145
- This operation will return the URL of the uploaded file.
146
-
147
-
148
- *Returned Response:*
149
-
150
-
151
-
152
-
153
- [CompleteResponse](#CompleteResponse)
154
-
155
- Success
156
-
157
-
158
-
159
-
160
- <details>
161
- <summary><i>&nbsp; Example:</i></summary>
162
-
163
- ```json
164
-
165
- ```
166
- </details>
167
-
168
-
169
-
170
-
171
-
172
-
173
-
174
-
175
-
176
- ---
177
-
178
-
179
- ### signUrls
180
- Explain here
181
-
182
-
183
-
184
- ```javascript
185
- // Promise
186
- const promise = fileStorage.signUrls({ body : value });
187
-
188
- // Async/Await
189
- const data = await fileStorage.signUrls({ body : value });
190
- ```
191
-
192
-
193
-
194
-
195
-
196
- | Argument | Type | Required | Description |
197
- | --------- | ----- | -------- | ----------- |
198
- | body | [SignUrlRequest](#SignUrlRequest) | yes | Request body |
199
-
200
-
201
- Describe here
202
-
203
- *Returned Response:*
204
-
205
-
206
-
207
-
208
- [SignUrlResponse](#SignUrlResponse)
209
-
210
- Success
211
-
212
-
213
-
214
-
215
- <details>
216
- <summary><i>&nbsp; Example:</i></summary>
217
-
218
- ```json
219
-
220
- ```
221
- </details>
222
-
223
-
224
-
225
-
226
-
227
-
228
-
229
-
230
-
231
- ---
232
-
233
-
234
- ### startUpload
235
- Initiates an upload and returns a storage link that is valid for 30 minutes. You can use the storage link to make subsequent upload request with file buffer or blob.
236
-
237
-
238
-
239
- ```javascript
240
- // Promise
241
- const promise = fileStorage.startUpload({ namespace : value,
242
- body : value });
243
-
244
- // Async/Await
245
- const data = await fileStorage.startUpload({ namespace : value,
246
- body : value });
247
- ```
248
-
249
-
250
-
251
-
252
-
253
- | Argument | Type | Required | Description |
254
- | --------- | ----- | -------- | ----------- |
255
- | namespace | string | yes | Name of the bucket created for storing objects. |
256
- | body | [StartRequest](#StartRequest) | yes | Request body |
257
-
258
-
259
- Use this API to perform the first step of uploading (i.e. **Start**) an arbitrarily sized buffer or blob.
260
-
261
- The three major steps are:
262
- * Start
263
- * Upload
264
- * Complete
265
-
266
- ### Start
267
- Initiates the assets upload using `startUpload`.
268
- It returns a storage link in response.
269
-
270
- ### Upload
271
- Use the storage link to upload a file (Buffer or Blob) to the File Storage.
272
- Make a `PUT` request on storage link received from `startUpload` API with the file (Buffer or Blob) in the request body.
273
-
274
- ### Complete
275
- After successfully upload, call the `completeUpload` API to finish the upload process.
276
- This operation will return the URL of the uploaded file.
277
-
278
-
279
- *Returned Response:*
280
-
281
-
282
-
283
-
284
- [StartResponse](#StartResponse)
285
-
286
- Success. Next, call the `completeUpload` API and pass the response payload of this API to finish the upload process.
287
-
288
-
289
-
290
-
291
- <details>
292
- <summary><i>&nbsp; Example:</i></summary>
293
-
294
- ```json
295
-
296
- ```
297
- </details>
298
-
299
-
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
- ---
308
-
309
-
310
-
311
- ### Schemas
312
-
313
-
314
- #### [BrowseResponse](#BrowseResponse)
315
-
316
- | Properties | Type | Nullable | Description |
317
- | ---------- | ---- | -------- | ----------- || items | [[DbRecord](#DbRecord)] | yes | || page | [Page](#Page) | yes | |
318
-
319
- ---
320
-
321
- #### [BulkRequest](#BulkRequest)
322
-
323
- | Properties | Type | Nullable | Description |
324
- | ---------- | ---- | -------- | ----------- || configuration | [ReqConfiguration](#ReqConfiguration) | no | || destination | [Destination](#Destination) | yes | || urls | [string] | yes | |
325
-
326
- ---
327
-
328
- #### [BulkUploadResponse](#BulkUploadResponse)
329
-
330
- | Properties | Type | Nullable | Description |
331
- | ---------- | ---- | -------- | ----------- || task | [CopyFileTask](#CopyFileTask) | yes | || tracking_url | string | yes | |
332
-
333
- ---
334
-
335
- #### [CDN](#CDN)
336
-
337
- | Properties | Type | Nullable | Description |
338
- | ---------- | ---- | -------- | ----------- || absolute_url | string | no | || relative_url | string | no | || url | string | yes | |
339
-
340
- ---
341
-
342
- #### [CompleteResponse](#CompleteResponse)
343
-
344
- | Properties | Type | Nullable | Description |
345
- | ---------- | ---- | -------- | ----------- || _id | string | yes | || cdn | [CDN](#CDN) | yes | || content_type | string | yes | || created_on | string | yes | || file_name | string | yes | || file_path | string | yes | || modified_on | string | yes | || namespace | string | yes | || operation | string | yes | || size | number | yes | || success | boolean | yes | || tags | [string] | no | || upload | [Upload](#Upload) | yes | |
346
-
347
- ---
348
-
349
- #### [CopyFileTask](#CopyFileTask)
350
-
351
- | Properties | Type | Nullable | Description |
352
- | ---------- | ---- | -------- | ----------- || attempts_made | number | yes | || data | [BulkRequest](#BulkRequest) | yes | || delay | number | yes | || finished_on | number | yes | || id | string | yes | || name | string | yes | || opts | [Opts](#Opts) | yes | || processed_on | number | yes | || progress | number | yes | || stacktrace | [string] | no | || timestamp | number | yes | |
353
-
354
- ---
355
-
356
- #### [DbRecord](#DbRecord)
357
-
358
- | Properties | Type | Nullable | Description |
359
- | ---------- | ---- | -------- | ----------- || _id | string | yes | || cdn | [CDN](#CDN) | yes | || content_type | string | yes | || created_on | string | yes | || file_name | string | yes | || file_path | string | yes | || modified_on | string | yes | || namespace | string | yes | || operation | string | no | || success | boolean | yes | || tags | [string] | yes | || upload | [Upload](#Upload) | yes | |
360
-
361
- ---
362
-
363
- #### [Destination](#Destination)
364
-
365
- | Properties | Type | Nullable | Description |
366
- | ---------- | ---- | -------- | ----------- || basepath | string | no | || namespace | string | yes | || rewrite | string | yes | |
367
-
368
- ---
369
-
370
- #### [FailedResponse](#FailedResponse)
371
-
372
- | Properties | Type | Nullable | Description |
373
- | ---------- | ---- | -------- | ----------- || message | string | yes | |
374
-
375
- ---
376
-
377
- #### [Opts](#Opts)
378
-
379
- | Properties | Type | Nullable | Description |
380
- | ---------- | ---- | -------- | ----------- || attempts | number | no | || delay | number | no | || timestamp | number | no | |
381
-
382
- ---
383
-
384
- #### [Page](#Page)
385
-
386
- | Properties | Type | Nullable | Description |
387
- | ---------- | ---- | -------- | ----------- || current | number | no | || has_next | boolean | no | || has_previous | boolean | no | || item_total | number | no | || next_id | string | no | || size | number | no | || type | number | yes | |
388
-
389
- ---
390
-
391
- #### [ReqConfiguration](#ReqConfiguration)
392
-
393
- | Properties | Type | Nullable | Description |
394
- | ---------- | ---- | -------- | ----------- || concurrency | number | no | |
395
-
396
- ---
397
-
398
- #### [SignUrlRequest](#SignUrlRequest)
399
-
400
- | Properties | Type | Nullable | Description |
401
- | ---------- | ---- | -------- | ----------- || expiry | number | yes | || urls | [string] | yes | |
402
-
403
- ---
404
-
405
- #### [SignUrlResponse](#SignUrlResponse)
406
-
407
- | Properties | Type | Nullable | Description |
408
- | ---------- | ---- | -------- | ----------- || urls | [[Urls](#Urls)] | yes | |
409
-
410
- ---
411
-
412
- #### [StartRequest](#StartRequest)
413
-
414
- | Properties | Type | Nullable | Description |
415
- | ---------- | ---- | -------- | ----------- || content_type | string | yes | || file_name | string | yes | || params | string | no | || size | number | yes | || tags | [string] | no | |
416
-
417
- ---
418
-
419
- #### [StartResponse](#StartResponse)
420
-
421
- | Properties | Type | Nullable | Description |
422
- | ---------- | ---- | -------- | ----------- || cdn | [CDN](#CDN) | yes | || content_type | string | yes | || file_name | string | yes | || file_path | string | yes | || method | string | no | || namespace | string | yes | || operation | string | yes | || size | number | yes | || tags | [string] | no | || upload | [Upload](#Upload) | yes | |
423
-
424
- ---
425
-
426
- #### [Upload](#Upload)
427
-
428
- | Properties | Type | Nullable | Description |
429
- | ---------- | ---- | -------- | ----------- || expiry | number | yes | || url | string | yes | |
430
-
431
- ---
432
-
433
- #### [Urls](#Urls)
434
-
435
- | Properties | Type | Nullable | Description |
436
- | ---------- | ---- | -------- | ----------- || expiry | number | yes | || signed_url | string | yes | || url | string | yes | |
437
-
438
- ---
439
-
440
-
441
-
442
-