@gofynd/fdk-client-javascript 1.0.3 → 1.1.0

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 (185) hide show
  1. package/README.md +51 -2
  2. package/index.d.ts +7 -4
  3. package/index.js +22 -7
  4. package/package.json +23 -14
  5. package/partner.d.ts +4 -0
  6. package/partner.js +7 -0
  7. package/sdk/application/ApplicationAPIClient.js +2 -4
  8. package/sdk/application/Cart/CartApplicationClient.js +29 -28
  9. package/sdk/application/Cart/CartApplicationModel.js +3 -1
  10. package/sdk/application/Catalog/CatalogApplicationClient.js +43 -42
  11. package/sdk/application/Catalog/CatalogApplicationModel.js +5 -3
  12. package/sdk/application/Common/CommonApplicationClient.js +5 -4
  13. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -5
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +21 -20
  15. package/sdk/application/Content/ContentApplicationClient.js +26 -25
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +6 -5
  17. package/sdk/application/Lead/LeadApplicationClient.js +10 -9
  18. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +1 -3
  19. package/sdk/application/Logistic/LogisticApplicationClient.js +11 -12
  20. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -1
  21. package/sdk/application/Order/OrderApplicationClient.js +15 -14
  22. package/sdk/application/Order/OrderApplicationModel.js +9 -0
  23. package/sdk/application/Payment/PaymentApplicationClient.js +42 -41
  24. package/sdk/application/PosCart/PosCartApplicationClient.js +30 -29
  25. package/sdk/application/PosCart/PosCartApplicationModel.js +3 -1
  26. package/sdk/application/Rewards/RewardsApplicationClient.js +11 -10
  27. package/sdk/application/Share/ShareApplicationClient.js +10 -9
  28. package/sdk/application/Theme/ThemeApplicationClient.js +7 -6
  29. package/sdk/application/User/UserApplicationClient.js +38 -37
  30. package/sdk/common/AxiosHelper.js +17 -6
  31. package/sdk/common/BaseOAuthClient.d.ts +17 -0
  32. package/sdk/common/BaseOAuthClient.js +67 -0
  33. package/sdk/common/RequestSigner.js +0 -5
  34. package/sdk/partner/OAuthClient.d.ts +14 -0
  35. package/sdk/partner/OAuthClient.js +112 -0
  36. package/sdk/partner/PartnerAPIClient.d.ts +12 -0
  37. package/sdk/partner/PartnerAPIClient.js +42 -0
  38. package/sdk/partner/PartnerClient.d.ts +6 -0
  39. package/sdk/partner/PartnerClient.js +17 -0
  40. package/sdk/partner/PartnerConfig.d.ts +30 -0
  41. package/sdk/partner/PartnerConfig.js +39 -0
  42. package/sdk/partner/index.d.ts +3 -0
  43. package/sdk/partner/index.js +5 -0
  44. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +3 -1
  45. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  46. package/sdk/platform/Analytics/AnalyticsPlatformClient.js +5 -4
  47. package/sdk/platform/Analytics/AnalyticsPlatformValidator.js +1 -0
  48. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -2
  49. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +1 -0
  50. package/sdk/platform/Billing/BillingPlatformClient.d.ts +24 -0
  51. package/sdk/platform/Billing/BillingPlatformClient.js +137 -2
  52. package/sdk/platform/Billing/BillingPlatformModel.d.ts +4 -0
  53. package/sdk/platform/Billing/BillingPlatformModel.js +44 -0
  54. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +2 -0
  55. package/sdk/platform/Billing/BillingPlatformValidator.js +15 -0
  56. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +27 -0
  57. package/sdk/platform/Cart/CartPlatformApplicationClient.js +177 -1
  58. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +3 -0
  59. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +17 -1
  60. package/sdk/platform/Cart/CartPlatformModel.js +7 -3
  61. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +3 -1
  62. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +1 -1
  63. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +2 -2
  64. package/sdk/platform/Catalog/CatalogPlatformClient.js +6 -9
  65. package/sdk/platform/Catalog/CatalogPlatformModel.js +9 -9
  66. package/sdk/platform/Catalog/CatalogPlatformValidator.js +2 -1
  67. package/sdk/platform/Common/CommonPlatformClient.js +7 -18
  68. package/sdk/platform/Common/CommonPlatformValidator.js +1 -0
  69. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +3 -1
  70. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -1
  71. package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -3
  72. package/sdk/platform/Communication/CommunicationPlatformValidator.js +1 -0
  73. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +5 -4
  74. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +1 -0
  75. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +3 -1
  76. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +1 -1
  77. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +9 -8
  78. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +1 -0
  79. package/sdk/platform/Content/ContentPlatformApplicationClient.js +3 -1
  80. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +1 -1
  81. package/sdk/platform/Discount/DiscountPlatformClient.js +3 -2
  82. package/sdk/platform/Discount/DiscountPlatformValidator.js +1 -0
  83. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +3 -3
  84. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +27 -5
  85. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +1 -1
  86. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +3 -3
  87. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +28 -6
  88. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +1 -0
  89. package/sdk/platform/Inventory/InventoryPlatformClient.js +3 -2
  90. package/sdk/platform/Inventory/InventoryPlatformValidator.js +1 -0
  91. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +3 -1
  92. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +1 -1
  93. package/sdk/platform/Lead/LeadPlatformClient.js +4 -3
  94. package/sdk/platform/Lead/LeadPlatformValidator.js +1 -0
  95. package/sdk/platform/OAuthClient.js +3 -9
  96. package/sdk/platform/Order/OrderPlatformApplicationClient.js +3 -1
  97. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +1 -1
  98. package/sdk/platform/Order/OrderPlatformClient.d.ts +1 -1
  99. package/sdk/platform/Order/OrderPlatformClient.js +16 -3
  100. package/sdk/platform/Order/OrderPlatformModel.js +1 -0
  101. package/sdk/platform/Order/OrderPlatformValidator.js +1 -0
  102. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +3 -1
  103. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +1 -1
  104. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +1 -1
  105. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +14 -14
  106. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +1 -1
  107. package/sdk/platform/Payment/PaymentPlatformClient.js +3 -2
  108. package/sdk/platform/Payment/PaymentPlatformValidator.js +1 -0
  109. package/sdk/platform/PlatformApplicationClient.d.ts +5 -1
  110. package/sdk/platform/PlatformApplicationClient.js +4 -0
  111. package/sdk/platform/PlatformClient.d.ts +51 -12
  112. package/sdk/platform/PlatformClient.js +54 -11
  113. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +17 -19
  114. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +88 -83
  115. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +1 -1
  116. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +8 -9
  117. package/sdk/platform/Share/SharePlatformApplicationClient.js +3 -1
  118. package/sdk/platform/Share/SharePlatformApplicationValidator.js +1 -1
  119. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +3 -1
  120. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +1 -1
  121. package/sdk/platform/User/UserPlatformApplicationClient.js +3 -1
  122. package/sdk/platform/User/UserPlatformApplicationValidator.js +1 -1
  123. package/sdk/platform/Webhook/WebhookPlatformClient.js +3 -2
  124. package/sdk/platform/Webhook/WebhookPlatformValidator.js +1 -0
  125. package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -0
  126. package/sdk/public/Inventory/InventoryPublicClient.js +2 -0
  127. package/sdk/public/Webhook/WebhookPublicClient.js +2 -0
  128. package/.github/workflows/on_create_release.yml +0 -23
  129. package/.github/workflows/on_merge_main.yml +0 -38
  130. package/.github/workflows/on_pull_request.yml +0 -35
  131. package/.prettierrc +0 -5
  132. package/documentation/application/CART.md +0 -8771
  133. package/documentation/application/CATALOG.md +0 -8690
  134. package/documentation/application/COMMON.md +0 -325
  135. package/documentation/application/COMMUNICATION.md +0 -387
  136. package/documentation/application/CONFIGURATION.md +0 -2212
  137. package/documentation/application/CONTENT.md +0 -2629
  138. package/documentation/application/FILESTORAGE.md +0 -442
  139. package/documentation/application/LEAD.md +0 -1549
  140. package/documentation/application/LOGISTIC.md +0 -689
  141. package/documentation/application/ORDER.md +0 -2937
  142. package/documentation/application/PAYMENT.md +0 -4475
  143. package/documentation/application/POSCART.md +0 -9375
  144. package/documentation/application/README.md +0 -21
  145. package/documentation/application/REWARDS.md +0 -554
  146. package/documentation/application/SHARE.md +0 -635
  147. package/documentation/application/THEME.md +0 -5517
  148. package/documentation/application/USER.md +0 -3798
  149. package/documentation/platform/ANALYTICS.md +0 -1012
  150. package/documentation/platform/AUDITTRAIL.md +0 -493
  151. package/documentation/platform/BILLING.md +0 -1889
  152. package/documentation/platform/CART.md +0 -4711
  153. package/documentation/platform/CATALOG.md +0 -20522
  154. package/documentation/platform/COMMON.md +0 -325
  155. package/documentation/platform/COMMUNICATION.md +0 -4970
  156. package/documentation/platform/COMPANYPROFILE.md +0 -1646
  157. package/documentation/platform/CONFIGURATION.md +0 -6316
  158. package/documentation/platform/CONTENT.md +0 -8364
  159. package/documentation/platform/DISCOUNT.md +0 -767
  160. package/documentation/platform/FILESTORAGE.md +0 -945
  161. package/documentation/platform/INVENTORY.md +0 -1136
  162. package/documentation/platform/LEAD.md +0 -4394
  163. package/documentation/platform/ORDER.md +0 -6525
  164. package/documentation/platform/PARTNER.md +0 -193
  165. package/documentation/platform/PAYMENT.md +0 -3138
  166. package/documentation/platform/README.md +0 -27
  167. package/documentation/platform/REWARDS.md +0 -919
  168. package/documentation/platform/SHARE.md +0 -513
  169. package/documentation/platform/THEME.md +0 -35446
  170. package/documentation/platform/USER.md +0 -2174
  171. package/documentation/platform/WEBHOOK.md +0 -485
  172. package/documentation/public/CONFIGURATION.md +0 -325
  173. package/documentation/public/INVENTORY.md +0 -508
  174. package/documentation/public/WEBHOOK.md +0 -246
  175. package/jest.config.d.ts +0 -4
  176. package/jest.config.js +0 -6
  177. package/tests/application/catalog.spec.js +0 -54
  178. package/tests/common/action-url.spec.js +0 -35
  179. package/tests/common/schema/action-url.json +0 -178
  180. package/tests/common/schema/url-action.json +0 -683
  181. package/tests/common/url-action.spec.js +0 -48
  182. package/tests/helpers/cookie.helper.js +0 -31
  183. package/tests/helpers/oauth.helper.js +0 -43
  184. package/tests/platform/catalog.spec.js +0 -49
  185. package/tests/public/location.spec.js +0 -39
@@ -1,493 +0,0 @@
1
-
2
-
3
-
4
-
5
-
6
- ##### [Back to Platform docs](./README.md)
7
-
8
- ## AuditTrail Methods
9
- Audit Logging Service that logs the crucial updates on the Platform
10
-
11
- * [createAuditLog](#createauditlog)
12
- * [getAuditLog](#getauditlog)
13
- * [getAuditLogs](#getauditlogs)
14
- * [getEntityTypes](#getentitytypes)
15
-
16
-
17
-
18
- ## Methods with example and description
19
-
20
-
21
-
22
-
23
- ### createAuditLog
24
- Create logs for auditing later on
25
-
26
-
27
-
28
- ```javascript
29
- // Promise
30
- const promise = client.auditTrail.createAuditLog({ body : value });
31
-
32
- // Async/Await
33
- const data = await client.auditTrail.createAuditLog({ body : value });
34
- ```
35
-
36
-
37
-
38
-
39
-
40
- | Argument | Type | Required | Description |
41
- | --------- | ----- | -------- | ----------- |
42
- | body | [RequestBodyAuditLog](#RequestBodyAuditLog) | yes | Request body |
43
-
44
-
45
- Create a log instance that stores all the relevant info to be logged
46
-
47
- *Returned Response:*
48
-
49
-
50
-
51
-
52
- [CreateLogResponse](#CreateLogResponse)
53
-
54
- Success
55
-
56
-
57
-
58
-
59
- <details>
60
- <summary><i>&nbsp; Examples:</i></summary>
61
-
62
-
63
- <details>
64
- <summary><i>&nbsp; default</i></summary>
65
-
66
- ```json
67
- {
68
- "value": {
69
- "message": "Audit log recorded successfully !",
70
- "internal_message": "Audit log queued"
71
- }
72
- }
73
- ```
74
- </details>
75
-
76
- </details>
77
-
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
-
86
- ---
87
-
88
-
89
- ### getAuditLog
90
- Get audit log
91
-
92
-
93
-
94
- ```javascript
95
- // Promise
96
- const promise = client.auditTrail.getAuditLog({ id : value });
97
-
98
- // Async/Await
99
- const data = await client.auditTrail.getAuditLog({ id : value });
100
- ```
101
-
102
-
103
-
104
-
105
-
106
- | Argument | Type | Required | Description |
107
- | --------- | ----- | -------- | ----------- |
108
- | id | string | yes | log uuid |
109
-
110
-
111
-
112
- Get detailed log information by their id
113
-
114
- *Returned Response:*
115
-
116
-
117
-
118
-
119
- [LogSchemaResponse](#LogSchemaResponse)
120
-
121
- Success
122
-
123
-
124
-
125
-
126
- <details>
127
- <summary><i>&nbsp; Examples:</i></summary>
128
-
129
-
130
- <details>
131
- <summary><i>&nbsp; default</i></summary>
132
-
133
- ```json
134
- {
135
- "value": {
136
- "entity": {
137
- "type": "update-shipment-status",
138
- "id": "16660872182851894278",
139
- "action": "update"
140
- },
141
- "modifier": {
142
- "user_id": "a8d7a69b4cd980acc5d2455c",
143
- "as_administrator": true,
144
- "user_details": {
145
- "first_name": "Paul",
146
- "last_name": "Lobo",
147
- "full_name": "Paul Lobo",
148
- "email": "paullobo@xyz.com"
149
- }
150
- },
151
- "device_info": {
152
- "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36"
153
- },
154
- "location": {
155
- "IP": "103.173.241.155"
156
- },
157
- "_id": "634eef735e84e7e1b09aa07c",
158
- "company": 1,
159
- "application": null,
160
- "sessions": "",
161
- "date": "2022-10-18T18:24:51.329Z",
162
- "logs": {
163
- "request": {
164
- "status_update": {
165
- "bags": [
166
- 403501,
167
- 403502,
168
- 403503
169
- ],
170
- "status": "bag_confirmed"
171
- }
172
- },
173
- "response": {
174
- "shipments": {
175
- "16660872182851894278": {
176
- "status": true,
177
- "error": "",
178
- "message": [
179
- "Requested change is being performed"
180
- ]
181
- }
182
- },
183
- "error_shipments": []
184
- }
185
- },
186
- "created_at": "2022-10-18T18:24:51.400Z",
187
- "modified_at": "2022-10-18T18:24:51.400Z",
188
- "meta": {
189
- "browser": {
190
- "name": "Chrome",
191
- "version": "106.0.0.0",
192
- "major": "106"
193
- },
194
- "device": {},
195
- "cpu": {},
196
- "os": {
197
- "name": "Mac OS",
198
- "version": "10.15.7"
199
- },
200
- "engine": {
201
- "name": "Blink",
202
- "version": "106.0.0.0"
203
- }
204
- }
205
- }
206
- }
207
- ```
208
- </details>
209
-
210
- </details>
211
-
212
-
213
-
214
-
215
-
216
-
217
-
218
-
219
-
220
- ---
221
-
222
-
223
- ### getAuditLogs
224
- Get paginated audit logs
225
-
226
-
227
-
228
- ```javascript
229
- // Promise
230
- const promise = client.auditTrail.getAuditLogs({ qs : value });
231
-
232
- // Async/Await
233
- const data = await client.auditTrail.getAuditLogs({ qs : value });
234
- ```
235
-
236
-
237
-
238
-
239
-
240
- | Argument | Type | Required | Description |
241
- | --------- | ----- | -------- | ----------- |
242
- | qs | string | yes | Logs Query |
243
-
244
-
245
-
246
- Get a paginated set of logs that can be filtered using the available set of parameters and get the relevant group of logs
247
-
248
- *Returned Response:*
249
-
250
-
251
-
252
-
253
- [LogSchemaResponse](#LogSchemaResponse)
254
-
255
- Success
256
-
257
-
258
-
259
-
260
- <details>
261
- <summary><i>&nbsp; Examples:</i></summary>
262
-
263
-
264
- <details>
265
- <summary><i>&nbsp; default</i></summary>
266
-
267
- ```json
268
- {
269
- "value": {
270
- "docs": [
271
- {
272
- "entity": {
273
- "type": "update-shipment-status",
274
- "id": "16660872182851894278",
275
- "action": "update"
276
- },
277
- "modifier": {
278
- "user_id": "a8d7a69b4cd980acc5d2455c",
279
- "as_administrator": true,
280
- "user_details": {
281
- "first_name": "Paul",
282
- "last_name": "Lobo",
283
- "full_name": "Paul Lobo",
284
- "email": "paullobo@xyz.com"
285
- }
286
- },
287
- "_id": "634eef735e84e7e1b09aa07c",
288
- "application": null,
289
- "date": "2022-10-18T18:24:51.329Z",
290
- "created_at": "2022-10-18T18:24:51.400Z",
291
- "modified_at": "2022-10-18T18:24:51.400Z"
292
- }
293
- ]
294
- }
295
- }
296
- ```
297
- </details>
298
-
299
- </details>
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
-
308
-
309
- ---
310
-
311
-
312
- ### getEntityTypes
313
- Get entity types
314
-
315
-
316
-
317
- ```javascript
318
- // Promise
319
- const promise = client.auditTrail.getEntityTypes();
320
-
321
- // Async/Await
322
- const data = await client.auditTrail.getEntityTypes();
323
- ```
324
-
325
-
326
-
327
-
328
-
329
-
330
- Get a consolidated list of entity types from all the logs stored on the db, which further helps to filter the logs better
331
-
332
- *Returned Response:*
333
-
334
-
335
-
336
-
337
- [EntityTypesResponse](#EntityTypesResponse)
338
-
339
- Success
340
-
341
-
342
-
343
-
344
- <details>
345
- <summary><i>&nbsp; Examples:</i></summary>
346
-
347
-
348
- <details>
349
- <summary><i>&nbsp; default</i></summary>
350
-
351
- ```json
352
- {
353
- "value": {
354
- "items": [
355
- {
356
- "entity_value:\"sales-channel\"": null,
357
- "display_name": "Sales Channel"
358
- },
359
- {
360
- "entity_value:\"shipment-update\"": null,
361
- "display_name": "Shipment Update"
362
- }
363
- ]
364
- }
365
- }
366
- ```
367
- </details>
368
-
369
- </details>
370
-
371
-
372
-
373
-
374
-
375
-
376
-
377
-
378
-
379
- ---
380
-
381
-
382
-
383
- ### Schemas
384
-
385
-
386
- #### [BadRequest](#BadRequest)
387
-
388
- | Properties | Type | Nullable | Description |
389
- | ---------- | ---- | -------- | ----------- || message | string | no | |
390
-
391
- ---
392
-
393
- #### [CreateLogResponse](#CreateLogResponse)
394
-
395
- | Properties | Type | Nullable | Description |
396
- | ---------- | ---- | -------- | ----------- || internal_message | string | no | || message | string | no | |
397
-
398
- ---
399
-
400
- #### [DeviceInfo](#DeviceInfo)
401
-
402
- | Properties | Type | Nullable | Description |
403
- | ---------- | ---- | -------- | ----------- || extra_meta | string | no | || user_agent | string | no | |
404
-
405
- ---
406
-
407
- #### [EntityObj](#EntityObj)
408
-
409
- | Properties | Type | Nullable | Description |
410
- | ---------- | ---- | -------- | ----------- || action | string | no | || entity_details | string | no | || id | string | no | || type | string | no | |
411
-
412
- ---
413
-
414
- #### [EntityObject](#EntityObject)
415
-
416
- | Properties | Type | Nullable | Description |
417
- | ---------- | ---- | -------- | ----------- || action | string | no | || id | string | no | || type | string | no | |
418
-
419
- ---
420
-
421
- #### [EntityTypeObj](#EntityTypeObj)
422
-
423
- | Properties | Type | Nullable | Description |
424
- | ---------- | ---- | -------- | ----------- || display_name | string | no | || entity_value | string | no | |
425
-
426
- ---
427
-
428
- #### [EntityTypesResponse](#EntityTypesResponse)
429
-
430
- | Properties | Type | Nullable | Description |
431
- | ---------- | ---- | -------- | ----------- || items | [[EntityTypeObj](#EntityTypeObj)] | no | |
432
-
433
- ---
434
-
435
- #### [InternalServerError](#InternalServerError)
436
-
437
- | Properties | Type | Nullable | Description |
438
- | ---------- | ---- | -------- | ----------- || code | string | no | || message | string | no | |
439
-
440
- ---
441
-
442
- #### [Location](#Location)
443
-
444
- | Properties | Type | Nullable | Description |
445
- | ---------- | ---- | -------- | ----------- || extra_meta | string | no | |
446
-
447
- ---
448
-
449
- #### [LogDocs](#LogDocs)
450
-
451
- | Properties | Type | Nullable | Description |
452
- | ---------- | ---- | -------- | ----------- || _id | string | no | || application | string | no | || company | string | no | || date | string | no | || device_info | [DeviceInfo](#DeviceInfo) | no | || entity | [EntityObj](#EntityObj) | no | || location | [Location](#Location) | no | || logs | string | no | || modifier | [Modifier](#Modifier) | no | || sessions | string | no | |
453
-
454
- ---
455
-
456
- #### [LogMetaObj](#LogMetaObj)
457
-
458
- | Properties | Type | Nullable | Description |
459
- | ---------- | ---- | -------- | ----------- || application | string | no | || device_info | string | no | || entity | [EntityObject](#EntityObject) | no | || location | string | no | || modifier | string | no | |
460
-
461
- ---
462
-
463
- #### [LogSchemaResponse](#LogSchemaResponse)
464
-
465
- | Properties | Type | Nullable | Description |
466
- | ---------- | ---- | -------- | ----------- || docs | [[LogDocs](#LogDocs)] | no | |
467
-
468
- ---
469
-
470
- #### [Modifier](#Modifier)
471
-
472
- | Properties | Type | Nullable | Description |
473
- | ---------- | ---- | -------- | ----------- || as_administrator | boolean | no | || user_details | string | no | || user_id | string | no | |
474
-
475
- ---
476
-
477
- #### [RequestBodyAuditLog](#RequestBodyAuditLog)
478
-
479
- | Properties | Type | Nullable | Description |
480
- | ---------- | ---- | -------- | ----------- || log_meta | [LogMetaObj](#LogMetaObj) | yes | || log_payload | string | yes | |
481
-
482
- ---
483
-
484
- #### [ResourceNotFound](#ResourceNotFound)
485
-
486
- | Properties | Type | Nullable | Description |
487
- | ---------- | ---- | -------- | ----------- || message | string | no | |
488
-
489
- ---
490
-
491
-
492
-
493
-