@augno/sdk-mcp 0.10.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 (135) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +103 -0
  3. package/auth.d.mts +6 -0
  4. package/auth.d.mts.map +1 -0
  5. package/auth.d.ts +6 -0
  6. package/auth.d.ts.map +1 -0
  7. package/auth.js +37 -0
  8. package/auth.js.map +1 -0
  9. package/auth.mjs +32 -0
  10. package/auth.mjs.map +1 -0
  11. package/code-tool-paths.cjs +8 -0
  12. package/code-tool-paths.cjs.map +1 -0
  13. package/code-tool-paths.d.cts +2 -0
  14. package/code-tool-paths.d.cts.map +1 -0
  15. package/code-tool-types.d.mts +14 -0
  16. package/code-tool-types.d.mts.map +1 -0
  17. package/code-tool-types.d.ts +14 -0
  18. package/code-tool-types.d.ts.map +1 -0
  19. package/code-tool-types.js +4 -0
  20. package/code-tool-types.js.map +1 -0
  21. package/code-tool-types.mjs +3 -0
  22. package/code-tool-types.mjs.map +1 -0
  23. package/code-tool-worker.d.mts +5 -0
  24. package/code-tool-worker.d.mts.map +1 -0
  25. package/code-tool-worker.d.ts +5 -0
  26. package/code-tool-worker.d.ts.map +1 -0
  27. package/code-tool-worker.js +486 -0
  28. package/code-tool-worker.js.map +1 -0
  29. package/code-tool-worker.mjs +448 -0
  30. package/code-tool-worker.mjs.map +1 -0
  31. package/code-tool.d.mts +21 -0
  32. package/code-tool.d.mts.map +1 -0
  33. package/code-tool.d.ts +21 -0
  34. package/code-tool.d.ts.map +1 -0
  35. package/code-tool.js +287 -0
  36. package/code-tool.js.map +1 -0
  37. package/code-tool.mjs +251 -0
  38. package/code-tool.mjs.map +1 -0
  39. package/http.d.mts +12 -0
  40. package/http.d.mts.map +1 -0
  41. package/http.d.ts +12 -0
  42. package/http.d.ts.map +1 -0
  43. package/http.js +190 -0
  44. package/http.js.map +1 -0
  45. package/http.mjs +182 -0
  46. package/http.mjs.map +1 -0
  47. package/index.d.mts +3 -0
  48. package/index.d.mts.map +1 -0
  49. package/index.d.ts +3 -0
  50. package/index.d.ts.map +1 -0
  51. package/index.js +60 -0
  52. package/index.js.map +1 -0
  53. package/index.mjs +58 -0
  54. package/index.mjs.map +1 -0
  55. package/instructions.d.mts +5 -0
  56. package/instructions.d.mts.map +1 -0
  57. package/instructions.d.ts +5 -0
  58. package/instructions.d.ts.map +1 -0
  59. package/instructions.js +47 -0
  60. package/instructions.js.map +1 -0
  61. package/instructions.mjs +41 -0
  62. package/instructions.mjs.map +1 -0
  63. package/logger.d.mts +7 -0
  64. package/logger.d.mts.map +1 -0
  65. package/logger.d.ts +7 -0
  66. package/logger.d.ts.map +1 -0
  67. package/logger.js +29 -0
  68. package/logger.js.map +1 -0
  69. package/logger.mjs +22 -0
  70. package/logger.mjs.map +1 -0
  71. package/methods.d.mts +10 -0
  72. package/methods.d.mts.map +1 -0
  73. package/methods.d.ts +10 -0
  74. package/methods.d.ts.map +1 -0
  75. package/methods.js +1385 -0
  76. package/methods.js.map +1 -0
  77. package/methods.mjs +1381 -0
  78. package/methods.mjs.map +1 -0
  79. package/options.d.mts +20 -0
  80. package/options.d.mts.map +1 -0
  81. package/options.d.ts +20 -0
  82. package/options.d.ts.map +1 -0
  83. package/options.js +121 -0
  84. package/options.js.map +1 -0
  85. package/options.mjs +114 -0
  86. package/options.mjs.map +1 -0
  87. package/package.json +216 -0
  88. package/server.d.mts +38 -0
  89. package/server.d.mts.map +1 -0
  90. package/server.d.ts +38 -0
  91. package/server.d.ts.map +1 -0
  92. package/server.js +162 -0
  93. package/server.js.map +1 -0
  94. package/server.mjs +152 -0
  95. package/server.mjs.map +1 -0
  96. package/src/auth.ts +42 -0
  97. package/src/code-tool-paths.cts +5 -0
  98. package/src/code-tool-types.ts +17 -0
  99. package/src/code-tool-worker.ts +499 -0
  100. package/src/code-tool.ts +316 -0
  101. package/src/http.ts +227 -0
  102. package/src/index.ts +67 -0
  103. package/src/instructions.ts +59 -0
  104. package/src/logger.ts +28 -0
  105. package/src/methods.ts +1406 -0
  106. package/src/options.ts +159 -0
  107. package/src/server.ts +202 -0
  108. package/src/stdio.ts +17 -0
  109. package/src/tsconfig.json +11 -0
  110. package/src/types.ts +126 -0
  111. package/src/util.ts +25 -0
  112. package/stdio.d.mts +3 -0
  113. package/stdio.d.mts.map +1 -0
  114. package/stdio.d.ts +3 -0
  115. package/stdio.d.ts.map +1 -0
  116. package/stdio.js +18 -0
  117. package/stdio.js.map +1 -0
  118. package/stdio.mjs +14 -0
  119. package/stdio.mjs.map +1 -0
  120. package/types.d.mts +65 -0
  121. package/types.d.mts.map +1 -0
  122. package/types.d.ts +65 -0
  123. package/types.d.ts.map +1 -0
  124. package/types.js +58 -0
  125. package/types.js.map +1 -0
  126. package/types.mjs +53 -0
  127. package/types.mjs.map +1 -0
  128. package/util.d.mts +4 -0
  129. package/util.d.mts.map +1 -0
  130. package/util.d.ts +4 -0
  131. package/util.d.ts.map +1 -0
  132. package/util.js +30 -0
  133. package/util.js.map +1 -0
  134. package/util.mjs +24 -0
  135. package/util.mjs.map +1 -0
package/methods.js ADDED
@@ -0,0 +1,1385 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.sdkMethods = void 0;
5
+ exports.blockedMethodsForCodeTool = blockedMethodsForCodeTool;
6
+ exports.sdkMethods = [
7
+ {
8
+ clientCallName: 'client.auth.apiKeys.retrieve',
9
+ fullyQualifiedName: 'auth.apiKeys.retrieve',
10
+ httpMethod: 'get',
11
+ httpPath: '/v1/auth/api-keys/{id}',
12
+ },
13
+ {
14
+ clientCallName: 'client.auth.apiKeys.list',
15
+ fullyQualifiedName: 'auth.apiKeys.list',
16
+ httpMethod: 'get',
17
+ httpPath: '/v1/auth/api-keys',
18
+ },
19
+ {
20
+ clientCallName: 'client.auth.apiKeys.create',
21
+ fullyQualifiedName: 'auth.apiKeys.create',
22
+ httpMethod: 'post',
23
+ httpPath: '/v1/auth/api-keys',
24
+ },
25
+ {
26
+ clientCallName: 'client.auth.apiKeys.delete',
27
+ fullyQualifiedName: 'auth.apiKeys.delete',
28
+ httpMethod: 'delete',
29
+ httpPath: '/v1/auth/api-keys/{id}',
30
+ },
31
+ {
32
+ clientCallName: 'client.auth.apiKeys.actions.rotate',
33
+ fullyQualifiedName: 'auth.apiKeys.actions.rotate',
34
+ httpMethod: 'post',
35
+ httpPath: '/v1/auth/api-keys/{id}/actions/rotate',
36
+ },
37
+ {
38
+ clientCallName: 'client.core.retrieveSearch',
39
+ fullyQualifiedName: 'core.retrieveSearch',
40
+ httpMethod: 'get',
41
+ httpPath: '/v1/core/search',
42
+ },
43
+ {
44
+ clientCallName: 'client.core.sandboxes.list',
45
+ fullyQualifiedName: 'core.sandboxes.list',
46
+ httpMethod: 'get',
47
+ httpPath: '/v1/core/sandboxes',
48
+ },
49
+ {
50
+ clientCallName: 'client.core.sandboxes.retrieve',
51
+ fullyQualifiedName: 'core.sandboxes.retrieve',
52
+ httpMethod: 'get',
53
+ httpPath: '/v1/core/sandboxes/{id}',
54
+ },
55
+ {
56
+ clientCallName: 'client.core.sandboxes.create',
57
+ fullyQualifiedName: 'core.sandboxes.create',
58
+ httpMethod: 'post',
59
+ httpPath: '/v1/core/sandboxes',
60
+ },
61
+ {
62
+ clientCallName: 'client.core.sandboxes.delete',
63
+ fullyQualifiedName: 'core.sandboxes.delete',
64
+ httpMethod: 'delete',
65
+ httpPath: '/v1/core/sandboxes/{id}',
66
+ },
67
+ {
68
+ clientCallName: 'client.core.requestLogs.list',
69
+ fullyQualifiedName: 'core.requestLogs.list',
70
+ httpMethod: 'get',
71
+ httpPath: '/v1/core/request-logs',
72
+ },
73
+ {
74
+ clientCallName: 'client.core.requestLogs.retrieve',
75
+ fullyQualifiedName: 'core.requestLogs.retrieve',
76
+ httpMethod: 'get',
77
+ httpPath: '/v1/core/request-logs/{id}',
78
+ },
79
+ {
80
+ clientCallName: 'client.core.auditEvents.list',
81
+ fullyQualifiedName: 'core.auditEvents.list',
82
+ httpMethod: 'get',
83
+ httpPath: '/v1/core/audit-events',
84
+ },
85
+ {
86
+ clientCallName: 'client.core.auditEvents.retrieve',
87
+ fullyQualifiedName: 'core.auditEvents.retrieve',
88
+ httpMethod: 'get',
89
+ httpPath: '/v1/core/audit-events/{id}',
90
+ },
91
+ {
92
+ clientCallName: 'client.core.auditEvents.retrieveResourceTypes',
93
+ fullyQualifiedName: 'core.auditEvents.retrieveResourceTypes',
94
+ httpMethod: 'get',
95
+ httpPath: '/v1/core/audit-events/resource-types',
96
+ },
97
+ {
98
+ clientCallName: 'client.core.addresses.retrieveSuggestions',
99
+ fullyQualifiedName: 'core.addresses.retrieveSuggestions',
100
+ httpMethod: 'get',
101
+ httpPath: '/v1/core/addresses/suggestions',
102
+ },
103
+ {
104
+ clientCallName: 'client.core.addresses.actions.validate',
105
+ fullyQualifiedName: 'core.addresses.actions.validate',
106
+ httpMethod: 'put',
107
+ httpPath: '/v1/core/addresses/actions/validate',
108
+ },
109
+ {
110
+ clientCallName: 'client.core.emailLogs.list',
111
+ fullyQualifiedName: 'core.emailLogs.list',
112
+ httpMethod: 'get',
113
+ httpPath: '/v1/core/email-logs',
114
+ },
115
+ {
116
+ clientCallName: 'client.core.emailLogs.retrieve',
117
+ fullyQualifiedName: 'core.emailLogs.retrieve',
118
+ httpMethod: 'get',
119
+ httpPath: '/v1/core/email-logs/{id}',
120
+ },
121
+ {
122
+ clientCallName: 'client.catalog.units.list',
123
+ fullyQualifiedName: 'catalog.units.list',
124
+ httpMethod: 'get',
125
+ httpPath: '/v1/catalog/units',
126
+ },
127
+ {
128
+ clientCallName: 'client.catalog.units.retrieve',
129
+ fullyQualifiedName: 'catalog.units.retrieve',
130
+ httpMethod: 'get',
131
+ httpPath: '/v1/catalog/units/{id}',
132
+ },
133
+ {
134
+ clientCallName: 'client.catalog.units.create',
135
+ fullyQualifiedName: 'catalog.units.create',
136
+ httpMethod: 'post',
137
+ httpPath: '/v1/catalog/units',
138
+ },
139
+ {
140
+ clientCallName: 'client.catalog.units.update',
141
+ fullyQualifiedName: 'catalog.units.update',
142
+ httpMethod: 'patch',
143
+ httpPath: '/v1/catalog/units/{id}',
144
+ },
145
+ {
146
+ clientCallName: 'client.catalog.units.delete',
147
+ fullyQualifiedName: 'catalog.units.delete',
148
+ httpMethod: 'delete',
149
+ httpPath: '/v1/catalog/units/{id}',
150
+ },
151
+ {
152
+ clientCallName: 'client.catalog.unitGroups.list',
153
+ fullyQualifiedName: 'catalog.unitGroups.list',
154
+ httpMethod: 'get',
155
+ httpPath: '/v1/catalog/unit-groups',
156
+ },
157
+ {
158
+ clientCallName: 'client.catalog.unitGroups.retrieve',
159
+ fullyQualifiedName: 'catalog.unitGroups.retrieve',
160
+ httpMethod: 'get',
161
+ httpPath: '/v1/catalog/unit-groups/{id}',
162
+ },
163
+ {
164
+ clientCallName: 'client.catalog.unitGroups.create',
165
+ fullyQualifiedName: 'catalog.unitGroups.create',
166
+ httpMethod: 'post',
167
+ httpPath: '/v1/catalog/unit-groups',
168
+ },
169
+ {
170
+ clientCallName: 'client.catalog.unitGroups.update',
171
+ fullyQualifiedName: 'catalog.unitGroups.update',
172
+ httpMethod: 'patch',
173
+ httpPath: '/v1/catalog/unit-groups/{id}',
174
+ },
175
+ {
176
+ clientCallName: 'client.catalog.unitGroups.delete',
177
+ fullyQualifiedName: 'catalog.unitGroups.delete',
178
+ httpMethod: 'delete',
179
+ httpPath: '/v1/catalog/unit-groups/{id}',
180
+ },
181
+ {
182
+ clientCallName: 'client.catalog.unitGroups.units.list',
183
+ fullyQualifiedName: 'catalog.unitGroups.units.list',
184
+ httpMethod: 'get',
185
+ httpPath: '/v1/catalog/unit-groups/{unit_group_id}/units',
186
+ },
187
+ {
188
+ clientCallName: 'client.catalog.unitGroups.units.retrieve',
189
+ fullyQualifiedName: 'catalog.unitGroups.units.retrieve',
190
+ httpMethod: 'get',
191
+ httpPath: '/v1/catalog/unit-groups/{unit_group_id}/units/{id}',
192
+ },
193
+ {
194
+ clientCallName: 'client.catalog.unitGroups.units.create',
195
+ fullyQualifiedName: 'catalog.unitGroups.units.create',
196
+ httpMethod: 'post',
197
+ httpPath: '/v1/catalog/unit-groups/{unit_group_id}/units',
198
+ },
199
+ {
200
+ clientCallName: 'client.catalog.unitGroups.units.update',
201
+ fullyQualifiedName: 'catalog.unitGroups.units.update',
202
+ httpMethod: 'patch',
203
+ httpPath: '/v1/catalog/unit-groups/{unit_group_id}/units/{id}',
204
+ },
205
+ {
206
+ clientCallName: 'client.catalog.unitGroups.units.delete',
207
+ fullyQualifiedName: 'catalog.unitGroups.units.delete',
208
+ httpMethod: 'delete',
209
+ httpPath: '/v1/catalog/unit-groups/{unit_group_id}/units/{id}',
210
+ },
211
+ {
212
+ clientCallName: 'client.catalog.properties.list',
213
+ fullyQualifiedName: 'catalog.properties.list',
214
+ httpMethod: 'get',
215
+ httpPath: '/v1/catalog/properties',
216
+ },
217
+ {
218
+ clientCallName: 'client.catalog.properties.retrieve',
219
+ fullyQualifiedName: 'catalog.properties.retrieve',
220
+ httpMethod: 'get',
221
+ httpPath: '/v1/catalog/properties/{id}',
222
+ },
223
+ {
224
+ clientCallName: 'client.catalog.properties.create',
225
+ fullyQualifiedName: 'catalog.properties.create',
226
+ httpMethod: 'post',
227
+ httpPath: '/v1/catalog/properties',
228
+ },
229
+ {
230
+ clientCallName: 'client.catalog.properties.update',
231
+ fullyQualifiedName: 'catalog.properties.update',
232
+ httpMethod: 'patch',
233
+ httpPath: '/v1/catalog/properties/{id}',
234
+ },
235
+ {
236
+ clientCallName: 'client.catalog.properties.delete',
237
+ fullyQualifiedName: 'catalog.properties.delete',
238
+ httpMethod: 'delete',
239
+ httpPath: '/v1/catalog/properties/{id}',
240
+ },
241
+ {
242
+ clientCallName: 'client.catalog.properties.attributes.list',
243
+ fullyQualifiedName: 'catalog.properties.attributes.list',
244
+ httpMethod: 'get',
245
+ httpPath: '/v1/catalog/properties/{property_id}/attributes',
246
+ },
247
+ {
248
+ clientCallName: 'client.catalog.properties.attributes.retrieve',
249
+ fullyQualifiedName: 'catalog.properties.attributes.retrieve',
250
+ httpMethod: 'get',
251
+ httpPath: '/v1/catalog/properties/{property_id}/attributes/{id}',
252
+ },
253
+ {
254
+ clientCallName: 'client.catalog.properties.attributes.create',
255
+ fullyQualifiedName: 'catalog.properties.attributes.create',
256
+ httpMethod: 'post',
257
+ httpPath: '/v1/catalog/properties/{property_id}/attributes',
258
+ },
259
+ {
260
+ clientCallName: 'client.catalog.properties.attributes.update',
261
+ fullyQualifiedName: 'catalog.properties.attributes.update',
262
+ httpMethod: 'patch',
263
+ httpPath: '/v1/catalog/properties/{property_id}/attributes/{id}',
264
+ },
265
+ {
266
+ clientCallName: 'client.catalog.properties.attributes.delete',
267
+ fullyQualifiedName: 'catalog.properties.attributes.delete',
268
+ httpMethod: 'delete',
269
+ httpPath: '/v1/catalog/properties/{property_id}/attributes/{id}',
270
+ },
271
+ {
272
+ clientCallName: 'client.catalog.items.list',
273
+ fullyQualifiedName: 'catalog.items.list',
274
+ httpMethod: 'get',
275
+ httpPath: '/v1/catalog/items',
276
+ },
277
+ {
278
+ clientCallName: 'client.catalog.items.retrieve',
279
+ fullyQualifiedName: 'catalog.items.retrieve',
280
+ httpMethod: 'get',
281
+ httpPath: '/v1/catalog/items/{id}',
282
+ },
283
+ {
284
+ clientCallName: 'client.catalog.items.retrieveInventory',
285
+ fullyQualifiedName: 'catalog.items.retrieveInventory',
286
+ httpMethod: 'get',
287
+ httpPath: '/v1/catalog/items/{id}/inventory',
288
+ },
289
+ {
290
+ clientCallName: 'client.catalog.items.changeCategory',
291
+ fullyQualifiedName: 'catalog.items.changeCategory',
292
+ httpMethod: 'put',
293
+ httpPath: '/v1/catalog/items/{id}/category/{category_id}',
294
+ },
295
+ {
296
+ clientCallName: 'client.catalog.items.attributes.update',
297
+ fullyQualifiedName: 'catalog.items.attributes.update',
298
+ httpMethod: 'put',
299
+ httpPath: '/v1/catalog/items/{id}/attributes/{attribute_id}',
300
+ },
301
+ {
302
+ clientCallName: 'client.catalog.items.attributes.delete',
303
+ fullyQualifiedName: 'catalog.items.attributes.delete',
304
+ httpMethod: 'delete',
305
+ httpPath: '/v1/catalog/items/{id}/attributes/{attribute_id}',
306
+ },
307
+ {
308
+ clientCallName: 'client.catalog.itemCategories.list',
309
+ fullyQualifiedName: 'catalog.itemCategories.list',
310
+ httpMethod: 'get',
311
+ httpPath: '/v1/catalog/item-categories',
312
+ },
313
+ {
314
+ clientCallName: 'client.catalog.itemCategories.retrieve',
315
+ fullyQualifiedName: 'catalog.itemCategories.retrieve',
316
+ httpMethod: 'get',
317
+ httpPath: '/v1/catalog/item-categories/{id}',
318
+ },
319
+ {
320
+ clientCallName: 'client.catalog.itemCategories.create',
321
+ fullyQualifiedName: 'catalog.itemCategories.create',
322
+ httpMethod: 'post',
323
+ httpPath: '/v1/catalog/item-categories',
324
+ },
325
+ {
326
+ clientCallName: 'client.catalog.itemCategories.update',
327
+ fullyQualifiedName: 'catalog.itemCategories.update',
328
+ httpMethod: 'patch',
329
+ httpPath: '/v1/catalog/item-categories/{id}',
330
+ },
331
+ {
332
+ clientCallName: 'client.catalog.itemCategories.delete',
333
+ fullyQualifiedName: 'catalog.itemCategories.delete',
334
+ httpMethod: 'delete',
335
+ httpPath: '/v1/catalog/item-categories/{id}',
336
+ },
337
+ {
338
+ clientCallName: 'client.catalog.itemCategories.changeUnitGroup',
339
+ fullyQualifiedName: 'catalog.itemCategories.changeUnitGroup',
340
+ httpMethod: 'put',
341
+ httpPath: '/v1/catalog/item-categories/{id}/unit-groups/{unit_group_id}',
342
+ },
343
+ {
344
+ clientCallName: 'client.catalog.itemCategories.properties.update',
345
+ fullyQualifiedName: 'catalog.itemCategories.properties.update',
346
+ httpMethod: 'put',
347
+ httpPath: '/v1/catalog/item-categories/{id}/properties/{property_id}',
348
+ },
349
+ {
350
+ clientCallName: 'client.catalog.itemCategories.properties.delete',
351
+ fullyQualifiedName: 'catalog.itemCategories.properties.delete',
352
+ httpMethod: 'delete',
353
+ httpPath: '/v1/catalog/item-categories/{id}/properties/{property_id}',
354
+ },
355
+ {
356
+ clientCallName: 'client.catalog.materials.list',
357
+ fullyQualifiedName: 'catalog.materials.list',
358
+ httpMethod: 'get',
359
+ httpPath: '/v1/catalog/materials',
360
+ },
361
+ {
362
+ clientCallName: 'client.catalog.materials.retrieve',
363
+ fullyQualifiedName: 'catalog.materials.retrieve',
364
+ httpMethod: 'get',
365
+ httpPath: '/v1/catalog/materials/{id}',
366
+ },
367
+ {
368
+ clientCallName: 'client.catalog.materials.create',
369
+ fullyQualifiedName: 'catalog.materials.create',
370
+ httpMethod: 'post',
371
+ httpPath: '/v1/catalog/materials',
372
+ },
373
+ {
374
+ clientCallName: 'client.catalog.materials.update',
375
+ fullyQualifiedName: 'catalog.materials.update',
376
+ httpMethod: 'patch',
377
+ httpPath: '/v1/catalog/materials/{id}',
378
+ },
379
+ {
380
+ clientCallName: 'client.catalog.materials.delete',
381
+ fullyQualifiedName: 'catalog.materials.delete',
382
+ httpMethod: 'delete',
383
+ httpPath: '/v1/catalog/materials/{id}',
384
+ },
385
+ {
386
+ clientCallName: 'client.catalog.parts.list',
387
+ fullyQualifiedName: 'catalog.parts.list',
388
+ httpMethod: 'get',
389
+ httpPath: '/v1/catalog/parts',
390
+ },
391
+ {
392
+ clientCallName: 'client.catalog.parts.retrieve',
393
+ fullyQualifiedName: 'catalog.parts.retrieve',
394
+ httpMethod: 'get',
395
+ httpPath: '/v1/catalog/parts/{id}',
396
+ },
397
+ {
398
+ clientCallName: 'client.catalog.parts.create',
399
+ fullyQualifiedName: 'catalog.parts.create',
400
+ httpMethod: 'post',
401
+ httpPath: '/v1/catalog/parts',
402
+ },
403
+ {
404
+ clientCallName: 'client.catalog.parts.update',
405
+ fullyQualifiedName: 'catalog.parts.update',
406
+ httpMethod: 'patch',
407
+ httpPath: '/v1/catalog/parts/{id}',
408
+ },
409
+ {
410
+ clientCallName: 'client.catalog.parts.delete',
411
+ fullyQualifiedName: 'catalog.parts.delete',
412
+ httpMethod: 'delete',
413
+ httpPath: '/v1/catalog/parts/{id}',
414
+ },
415
+ {
416
+ clientCallName: 'client.catalog.productLines.list',
417
+ fullyQualifiedName: 'catalog.productLines.list',
418
+ httpMethod: 'get',
419
+ httpPath: '/v1/catalog/product-lines',
420
+ },
421
+ {
422
+ clientCallName: 'client.catalog.productLines.retrieve',
423
+ fullyQualifiedName: 'catalog.productLines.retrieve',
424
+ httpMethod: 'get',
425
+ httpPath: '/v1/catalog/product-lines/{id}',
426
+ },
427
+ {
428
+ clientCallName: 'client.catalog.productLines.create',
429
+ fullyQualifiedName: 'catalog.productLines.create',
430
+ httpMethod: 'post',
431
+ httpPath: '/v1/catalog/product-lines',
432
+ },
433
+ {
434
+ clientCallName: 'client.catalog.productLines.update',
435
+ fullyQualifiedName: 'catalog.productLines.update',
436
+ httpMethod: 'patch',
437
+ httpPath: '/v1/catalog/product-lines/{id}',
438
+ },
439
+ {
440
+ clientCallName: 'client.catalog.productLines.delete',
441
+ fullyQualifiedName: 'catalog.productLines.delete',
442
+ httpMethod: 'delete',
443
+ httpPath: '/v1/catalog/product-lines/{id}',
444
+ },
445
+ {
446
+ clientCallName: 'client.catalog.products.list',
447
+ fullyQualifiedName: 'catalog.products.list',
448
+ httpMethod: 'get',
449
+ httpPath: '/v1/catalog/products',
450
+ },
451
+ {
452
+ clientCallName: 'client.catalog.products.retrieve',
453
+ fullyQualifiedName: 'catalog.products.retrieve',
454
+ httpMethod: 'get',
455
+ httpPath: '/v1/catalog/products/{id}',
456
+ },
457
+ {
458
+ clientCallName: 'client.catalog.products.create',
459
+ fullyQualifiedName: 'catalog.products.create',
460
+ httpMethod: 'post',
461
+ httpPath: '/v1/catalog/products',
462
+ },
463
+ {
464
+ clientCallName: 'client.catalog.products.update',
465
+ fullyQualifiedName: 'catalog.products.update',
466
+ httpMethod: 'patch',
467
+ httpPath: '/v1/catalog/products/{id}',
468
+ },
469
+ {
470
+ clientCallName: 'client.catalog.products.delete',
471
+ fullyQualifiedName: 'catalog.products.delete',
472
+ httpMethod: 'delete',
473
+ httpPath: '/v1/catalog/products/{id}',
474
+ },
475
+ {
476
+ clientCallName: 'client.catalog.products.changeProductLine',
477
+ fullyQualifiedName: 'catalog.products.changeProductLine',
478
+ httpMethod: 'put',
479
+ httpPath: '/v1/catalog/products/{id}/product-line/{product_line_id}',
480
+ },
481
+ {
482
+ clientCallName: 'client.messaging.retrieveContacts',
483
+ fullyQualifiedName: 'messaging.retrieveContacts',
484
+ httpMethod: 'get',
485
+ httpPath: '/v1/messaging/contacts',
486
+ },
487
+ {
488
+ clientCallName: 'client.messaging.notifications.create',
489
+ fullyQualifiedName: 'messaging.notifications.create',
490
+ httpMethod: 'post',
491
+ httpPath: '/v1/messaging/notifications',
492
+ },
493
+ {
494
+ clientCallName: 'client.messaging.notifications.list',
495
+ fullyQualifiedName: 'messaging.notifications.list',
496
+ httpMethod: 'get',
497
+ httpPath: '/v1/messaging/notifications',
498
+ },
499
+ {
500
+ clientCallName: 'client.messaging.notifications.retrieve',
501
+ fullyQualifiedName: 'messaging.notifications.retrieve',
502
+ httpMethod: 'get',
503
+ httpPath: '/v1/messaging/notifications/{id}',
504
+ },
505
+ {
506
+ clientCallName: 'client.messaging.notifications.retrieveUnreadCount',
507
+ fullyQualifiedName: 'messaging.notifications.retrieveUnreadCount',
508
+ httpMethod: 'get',
509
+ httpPath: '/v1/messaging/notifications/unread-count',
510
+ },
511
+ {
512
+ clientCallName: 'client.messaging.notifications.retrieveUnreadSummary',
513
+ fullyQualifiedName: 'messaging.notifications.retrieveUnreadSummary',
514
+ httpMethod: 'get',
515
+ httpPath: '/v1/messaging/notifications/unread-summary',
516
+ },
517
+ {
518
+ clientCallName: 'client.messaging.notifications.actions.seen',
519
+ fullyQualifiedName: 'messaging.notifications.actions.seen',
520
+ httpMethod: 'post',
521
+ httpPath: '/v1/messaging/notifications/{id}/actions/seen',
522
+ },
523
+ {
524
+ clientCallName: 'client.messaging.notifications.actions.read',
525
+ fullyQualifiedName: 'messaging.notifications.actions.read',
526
+ httpMethod: 'post',
527
+ httpPath: '/v1/messaging/notifications/{id}/actions/read',
528
+ },
529
+ {
530
+ clientCallName: 'client.messaging.notifications.actions.dismiss',
531
+ fullyQualifiedName: 'messaging.notifications.actions.dismiss',
532
+ httpMethod: 'post',
533
+ httpPath: '/v1/messaging/notifications/{id}/actions/dismiss',
534
+ },
535
+ {
536
+ clientCallName: 'client.messaging.notifications.actions.markAllSeen',
537
+ fullyQualifiedName: 'messaging.notifications.actions.markAllSeen',
538
+ httpMethod: 'post',
539
+ httpPath: '/v1/messaging/notifications/actions/mark-all-seen',
540
+ },
541
+ {
542
+ clientCallName: 'client.messaging.announcements.list',
543
+ fullyQualifiedName: 'messaging.announcements.list',
544
+ httpMethod: 'get',
545
+ httpPath: '/v1/messaging/announcements',
546
+ },
547
+ {
548
+ clientCallName: 'client.messaging.announcements.retrieve',
549
+ fullyQualifiedName: 'messaging.announcements.retrieve',
550
+ httpMethod: 'get',
551
+ httpPath: '/v1/messaging/announcements/{id}',
552
+ },
553
+ {
554
+ clientCallName: 'client.messaging.announcements.actions.seen',
555
+ fullyQualifiedName: 'messaging.announcements.actions.seen',
556
+ httpMethod: 'post',
557
+ httpPath: '/v1/messaging/announcements/{id}/actions/seen',
558
+ },
559
+ {
560
+ clientCallName: 'client.messaging.announcements.actions.read',
561
+ fullyQualifiedName: 'messaging.announcements.actions.read',
562
+ httpMethod: 'post',
563
+ httpPath: '/v1/messaging/announcements/{id}/actions/read',
564
+ },
565
+ {
566
+ clientCallName: 'client.messaging.announcements.actions.dismiss',
567
+ fullyQualifiedName: 'messaging.announcements.actions.dismiss',
568
+ httpMethod: 'post',
569
+ httpPath: '/v1/messaging/announcements/{id}/actions/dismiss',
570
+ },
571
+ {
572
+ clientCallName: 'client.messaging.conversations.create',
573
+ fullyQualifiedName: 'messaging.conversations.create',
574
+ httpMethod: 'post',
575
+ httpPath: '/v1/messaging/conversations',
576
+ },
577
+ {
578
+ clientCallName: 'client.messaging.conversations.list',
579
+ fullyQualifiedName: 'messaging.conversations.list',
580
+ httpMethod: 'get',
581
+ httpPath: '/v1/messaging/conversations',
582
+ },
583
+ {
584
+ clientCallName: 'client.messaging.conversations.retrieve',
585
+ fullyQualifiedName: 'messaging.conversations.retrieve',
586
+ httpMethod: 'get',
587
+ httpPath: '/v1/messaging/conversations/{id}',
588
+ },
589
+ {
590
+ clientCallName: 'client.messaging.conversations.update',
591
+ fullyQualifiedName: 'messaging.conversations.update',
592
+ httpMethod: 'patch',
593
+ httpPath: '/v1/messaging/conversations/{id}',
594
+ },
595
+ {
596
+ clientCallName: 'client.messaging.conversations.actions.setLegalHold',
597
+ fullyQualifiedName: 'messaging.conversations.actions.setLegalHold',
598
+ httpMethod: 'post',
599
+ httpPath: '/v1/messaging/conversations/{id}/actions/set-legal-hold',
600
+ },
601
+ {
602
+ clientCallName: 'client.messaging.conversations.actions.redact',
603
+ fullyQualifiedName: 'messaging.conversations.actions.redact',
604
+ httpMethod: 'post',
605
+ httpPath: '/v1/messaging/conversations/{id}/actions/redact',
606
+ },
607
+ {
608
+ clientCallName: 'client.messaging.conversations.actions.read',
609
+ fullyQualifiedName: 'messaging.conversations.actions.read',
610
+ httpMethod: 'post',
611
+ httpPath: '/v1/messaging/conversations/{id}/actions/read',
612
+ },
613
+ {
614
+ clientCallName: 'client.messaging.conversations.actions.archive',
615
+ fullyQualifiedName: 'messaging.conversations.actions.archive',
616
+ httpMethod: 'post',
617
+ httpPath: '/v1/messaging/conversations/{id}/actions/archive',
618
+ },
619
+ {
620
+ clientCallName: 'client.messaging.conversations.actions.unarchive',
621
+ fullyQualifiedName: 'messaging.conversations.actions.unarchive',
622
+ httpMethod: 'post',
623
+ httpPath: '/v1/messaging/conversations/{id}/actions/unarchive',
624
+ },
625
+ {
626
+ clientCallName: 'client.messaging.conversations.actions.leave',
627
+ fullyQualifiedName: 'messaging.conversations.actions.leave',
628
+ httpMethod: 'post',
629
+ httpPath: '/v1/messaging/conversations/{id}/actions/leave',
630
+ },
631
+ {
632
+ clientCallName: 'client.messaging.conversations.actions.hide',
633
+ fullyQualifiedName: 'messaging.conversations.actions.hide',
634
+ httpMethod: 'post',
635
+ httpPath: '/v1/messaging/conversations/{id}/actions/hide',
636
+ },
637
+ {
638
+ clientCallName: 'client.messaging.conversations.actions.unhide',
639
+ fullyQualifiedName: 'messaging.conversations.actions.unhide',
640
+ httpMethod: 'post',
641
+ httpPath: '/v1/messaging/conversations/{id}/actions/unhide',
642
+ },
643
+ {
644
+ clientCallName: 'client.messaging.conversations.actions.mute',
645
+ fullyQualifiedName: 'messaging.conversations.actions.mute',
646
+ httpMethod: 'post',
647
+ httpPath: '/v1/messaging/conversations/{id}/actions/mute',
648
+ },
649
+ {
650
+ clientCallName: 'client.messaging.conversations.actions.unmute',
651
+ fullyQualifiedName: 'messaging.conversations.actions.unmute',
652
+ httpMethod: 'post',
653
+ httpPath: '/v1/messaging/conversations/{id}/actions/unmute',
654
+ },
655
+ {
656
+ clientCallName: 'client.messaging.conversations.actions.setStatus',
657
+ fullyQualifiedName: 'messaging.conversations.actions.setStatus',
658
+ httpMethod: 'post',
659
+ httpPath: '/v1/messaging/conversations/{id}/actions/set-status',
660
+ },
661
+ {
662
+ clientCallName: 'client.messaging.conversations.actions.assign',
663
+ fullyQualifiedName: 'messaging.conversations.actions.assign',
664
+ httpMethod: 'post',
665
+ httpPath: '/v1/messaging/conversations/{id}/actions/assign',
666
+ },
667
+ {
668
+ clientCallName: 'client.messaging.conversations.actions.report',
669
+ fullyQualifiedName: 'messaging.conversations.actions.report',
670
+ httpMethod: 'post',
671
+ httpPath: '/v1/messaging/conversations/{id}/actions/report',
672
+ },
673
+ {
674
+ clientCallName: 'client.messaging.conversations.links.create',
675
+ fullyQualifiedName: 'messaging.conversations.links.create',
676
+ httpMethod: 'post',
677
+ httpPath: '/v1/messaging/conversations/{id}/links',
678
+ },
679
+ {
680
+ clientCallName: 'client.messaging.conversations.links.delete',
681
+ fullyQualifiedName: 'messaging.conversations.links.delete',
682
+ httpMethod: 'delete',
683
+ httpPath: '/v1/messaging/conversations/{id}/links/{link_id}',
684
+ },
685
+ {
686
+ clientCallName: 'client.messaging.conversations.links.list',
687
+ fullyQualifiedName: 'messaging.conversations.links.list',
688
+ httpMethod: 'get',
689
+ httpPath: '/v1/messaging/conversations/{id}/links',
690
+ },
691
+ {
692
+ clientCallName: 'client.messaging.conversations.messages.create',
693
+ fullyQualifiedName: 'messaging.conversations.messages.create',
694
+ httpMethod: 'post',
695
+ httpPath: '/v1/messaging/conversations/{id}/messages',
696
+ },
697
+ {
698
+ clientCallName: 'client.messaging.conversations.messages.list',
699
+ fullyQualifiedName: 'messaging.conversations.messages.list',
700
+ httpMethod: 'get',
701
+ httpPath: '/v1/messaging/conversations/{id}/messages',
702
+ },
703
+ {
704
+ clientCallName: 'client.messaging.conversations.participants.create',
705
+ fullyQualifiedName: 'messaging.conversations.participants.create',
706
+ httpMethod: 'post',
707
+ httpPath: '/v1/messaging/conversations/{id}/participants',
708
+ },
709
+ {
710
+ clientCallName: 'client.messaging.conversations.participants.delete',
711
+ fullyQualifiedName: 'messaging.conversations.participants.delete',
712
+ httpMethod: 'delete',
713
+ httpPath: '/v1/messaging/conversations/{id}/participants/{pid}',
714
+ },
715
+ {
716
+ clientCallName: 'client.messaging.conversations.participants.actions.setRole',
717
+ fullyQualifiedName: 'messaging.conversations.participants.actions.setRole',
718
+ httpMethod: 'post',
719
+ httpPath: '/v1/messaging/conversations/{id}/participants/{pid}/actions/set-role',
720
+ },
721
+ {
722
+ clientCallName: 'client.messaging.conversations.attachments.actions.uploadURL',
723
+ fullyQualifiedName: 'messaging.conversations.attachments.actions.uploadURL',
724
+ httpMethod: 'post',
725
+ httpPath: '/v1/messaging/conversations/{id}/attachments/actions/upload-url',
726
+ },
727
+ {
728
+ clientCallName: 'client.messaging.messages.update',
729
+ fullyQualifiedName: 'messaging.messages.update',
730
+ httpMethod: 'patch',
731
+ httpPath: '/v1/messaging/messages/{id}',
732
+ },
733
+ {
734
+ clientCallName: 'client.messaging.messages.actions.approveSend',
735
+ fullyQualifiedName: 'messaging.messages.actions.approveSend',
736
+ httpMethod: 'post',
737
+ httpPath: '/v1/messaging/messages/{id}/actions/approve-send',
738
+ },
739
+ {
740
+ clientCallName: 'client.messaging.messages.actions.reject',
741
+ fullyQualifiedName: 'messaging.messages.actions.reject',
742
+ httpMethod: 'post',
743
+ httpPath: '/v1/messaging/messages/{id}/actions/reject',
744
+ },
745
+ {
746
+ clientCallName: 'client.messaging.messages.actions.cancel',
747
+ fullyQualifiedName: 'messaging.messages.actions.cancel',
748
+ httpMethod: 'post',
749
+ httpPath: '/v1/messaging/messages/{id}/actions/cancel',
750
+ },
751
+ {
752
+ clientCallName: 'client.messaging.groups.create',
753
+ fullyQualifiedName: 'messaging.groups.create',
754
+ httpMethod: 'post',
755
+ httpPath: '/v1/messaging/groups',
756
+ },
757
+ {
758
+ clientCallName: 'client.messaging.groups.list',
759
+ fullyQualifiedName: 'messaging.groups.list',
760
+ httpMethod: 'get',
761
+ httpPath: '/v1/messaging/groups',
762
+ },
763
+ {
764
+ clientCallName: 'client.messaging.groups.retrieve',
765
+ fullyQualifiedName: 'messaging.groups.retrieve',
766
+ httpMethod: 'get',
767
+ httpPath: '/v1/messaging/groups/{id}',
768
+ },
769
+ {
770
+ clientCallName: 'client.messaging.groups.update',
771
+ fullyQualifiedName: 'messaging.groups.update',
772
+ httpMethod: 'patch',
773
+ httpPath: '/v1/messaging/groups/{id}',
774
+ },
775
+ {
776
+ clientCallName: 'client.messaging.groups.delete',
777
+ fullyQualifiedName: 'messaging.groups.delete',
778
+ httpMethod: 'delete',
779
+ httpPath: '/v1/messaging/groups/{id}',
780
+ },
781
+ {
782
+ clientCallName: 'client.messaging.groups.members.create',
783
+ fullyQualifiedName: 'messaging.groups.members.create',
784
+ httpMethod: 'post',
785
+ httpPath: '/v1/messaging/groups/{id}/members',
786
+ },
787
+ {
788
+ clientCallName: 'client.messaging.groups.members.delete',
789
+ fullyQualifiedName: 'messaging.groups.members.delete',
790
+ httpMethod: 'delete',
791
+ httpPath: '/v1/messaging/groups/{id}/members/{member_id}',
792
+ },
793
+ {
794
+ clientCallName: 'client.messaging.blocks.create',
795
+ fullyQualifiedName: 'messaging.blocks.create',
796
+ httpMethod: 'post',
797
+ httpPath: '/v1/messaging/blocks',
798
+ },
799
+ {
800
+ clientCallName: 'client.messaging.blocks.delete',
801
+ fullyQualifiedName: 'messaging.blocks.delete',
802
+ httpMethod: 'delete',
803
+ httpPath: '/v1/messaging/blocks/{id}',
804
+ },
805
+ {
806
+ clientCallName: 'client.messaging.blocks.list',
807
+ fullyQualifiedName: 'messaging.blocks.list',
808
+ httpMethod: 'get',
809
+ httpPath: '/v1/messaging/blocks',
810
+ },
811
+ {
812
+ clientCallName: 'client.messaging.preferences.list',
813
+ fullyQualifiedName: 'messaging.preferences.list',
814
+ httpMethod: 'get',
815
+ httpPath: '/v1/messaging/preferences',
816
+ },
817
+ {
818
+ clientCallName: 'client.messaging.preferences.update',
819
+ fullyQualifiedName: 'messaging.preferences.update',
820
+ httpMethod: 'put',
821
+ httpPath: '/v1/messaging/preferences',
822
+ },
823
+ {
824
+ clientCallName: 'client.messaging.emailDomains.create',
825
+ fullyQualifiedName: 'messaging.emailDomains.create',
826
+ httpMethod: 'post',
827
+ httpPath: '/v1/messaging/email-domains',
828
+ },
829
+ {
830
+ clientCallName: 'client.messaging.emailDomains.list',
831
+ fullyQualifiedName: 'messaging.emailDomains.list',
832
+ httpMethod: 'get',
833
+ httpPath: '/v1/messaging/email-domains',
834
+ },
835
+ {
836
+ clientCallName: 'client.messaging.emailDomains.retrieve',
837
+ fullyQualifiedName: 'messaging.emailDomains.retrieve',
838
+ httpMethod: 'get',
839
+ httpPath: '/v1/messaging/email-domains/{id}',
840
+ },
841
+ {
842
+ clientCallName: 'client.messaging.emailDomains.actions.verify',
843
+ fullyQualifiedName: 'messaging.emailDomains.actions.verify',
844
+ httpMethod: 'post',
845
+ httpPath: '/v1/messaging/email-domains/{id}/actions/verify',
846
+ },
847
+ {
848
+ clientCallName: 'client.messaging.emailInboxes.create',
849
+ fullyQualifiedName: 'messaging.emailInboxes.create',
850
+ httpMethod: 'post',
851
+ httpPath: '/v1/messaging/email-inboxes',
852
+ },
853
+ {
854
+ clientCallName: 'client.messaging.emailInboxes.list',
855
+ fullyQualifiedName: 'messaging.emailInboxes.list',
856
+ httpMethod: 'get',
857
+ httpPath: '/v1/messaging/email-inboxes',
858
+ },
859
+ {
860
+ clientCallName: 'client.messaging.emailInboxes.retrieve',
861
+ fullyQualifiedName: 'messaging.emailInboxes.retrieve',
862
+ httpMethod: 'get',
863
+ httpPath: '/v1/messaging/email-inboxes/{id}',
864
+ },
865
+ {
866
+ clientCallName: 'client.messaging.emailInboxes.update',
867
+ fullyQualifiedName: 'messaging.emailInboxes.update',
868
+ httpMethod: 'patch',
869
+ httpPath: '/v1/messaging/email-inboxes/{id}',
870
+ },
871
+ {
872
+ clientCallName: 'client.messaging.emailInboxes.delete',
873
+ fullyQualifiedName: 'messaging.emailInboxes.delete',
874
+ httpMethod: 'delete',
875
+ httpPath: '/v1/messaging/email-inboxes/{id}',
876
+ },
877
+ {
878
+ clientCallName: 'client.sales.accountGroups.list',
879
+ fullyQualifiedName: 'sales.accountGroups.list',
880
+ httpMethod: 'get',
881
+ httpPath: '/v1/sales/account-groups',
882
+ },
883
+ {
884
+ clientCallName: 'client.sales.accountGroups.retrieve',
885
+ fullyQualifiedName: 'sales.accountGroups.retrieve',
886
+ httpMethod: 'get',
887
+ httpPath: '/v1/sales/account-groups/{id}',
888
+ },
889
+ {
890
+ clientCallName: 'client.sales.accountGroups.create',
891
+ fullyQualifiedName: 'sales.accountGroups.create',
892
+ httpMethod: 'post',
893
+ httpPath: '/v1/sales/account-groups',
894
+ },
895
+ {
896
+ clientCallName: 'client.sales.accountGroups.update',
897
+ fullyQualifiedName: 'sales.accountGroups.update',
898
+ httpMethod: 'patch',
899
+ httpPath: '/v1/sales/account-groups/{id}',
900
+ },
901
+ {
902
+ clientCallName: 'client.sales.accountGroups.delete',
903
+ fullyQualifiedName: 'sales.accountGroups.delete',
904
+ httpMethod: 'delete',
905
+ httpPath: '/v1/sales/account-groups/{id}',
906
+ },
907
+ {
908
+ clientCallName: 'client.sales.addresses.list',
909
+ fullyQualifiedName: 'sales.addresses.list',
910
+ httpMethod: 'get',
911
+ httpPath: '/v1/sales/addresses',
912
+ },
913
+ {
914
+ clientCallName: 'client.sales.addresses.retrieve',
915
+ fullyQualifiedName: 'sales.addresses.retrieve',
916
+ httpMethod: 'get',
917
+ httpPath: '/v1/sales/addresses/{id}',
918
+ },
919
+ {
920
+ clientCallName: 'client.sales.addresses.create',
921
+ fullyQualifiedName: 'sales.addresses.create',
922
+ httpMethod: 'post',
923
+ httpPath: '/v1/sales/addresses',
924
+ },
925
+ {
926
+ clientCallName: 'client.sales.addresses.update',
927
+ fullyQualifiedName: 'sales.addresses.update',
928
+ httpMethod: 'patch',
929
+ httpPath: '/v1/sales/addresses/{id}',
930
+ },
931
+ {
932
+ clientCallName: 'client.sales.addresses.delete',
933
+ fullyQualifiedName: 'sales.addresses.delete',
934
+ httpMethod: 'delete',
935
+ httpPath: '/v1/sales/addresses/{id}',
936
+ },
937
+ {
938
+ clientCallName: 'client.sales.accountStatuses.list',
939
+ fullyQualifiedName: 'sales.accountStatuses.list',
940
+ httpMethod: 'get',
941
+ httpPath: '/v1/sales/account-statuses',
942
+ },
943
+ {
944
+ clientCallName: 'client.sales.accountStatuses.retrieve',
945
+ fullyQualifiedName: 'sales.accountStatuses.retrieve',
946
+ httpMethod: 'get',
947
+ httpPath: '/v1/sales/account-statuses/{id}',
948
+ },
949
+ {
950
+ clientCallName: 'client.sales.priorities.list',
951
+ fullyQualifiedName: 'sales.priorities.list',
952
+ httpMethod: 'get',
953
+ httpPath: '/v1/sales/priorities',
954
+ },
955
+ {
956
+ clientCallName: 'client.sales.priorities.retrieve',
957
+ fullyQualifiedName: 'sales.priorities.retrieve',
958
+ httpMethod: 'get',
959
+ httpPath: '/v1/sales/priorities/{id}',
960
+ },
961
+ {
962
+ clientCallName: 'client.sales.customers.list',
963
+ fullyQualifiedName: 'sales.customers.list',
964
+ httpMethod: 'get',
965
+ httpPath: '/v1/sales/customers',
966
+ },
967
+ {
968
+ clientCallName: 'client.sales.customers.retrieve',
969
+ fullyQualifiedName: 'sales.customers.retrieve',
970
+ httpMethod: 'get',
971
+ httpPath: '/v1/sales/customers/{id}',
972
+ },
973
+ {
974
+ clientCallName: 'client.sales.customers.create',
975
+ fullyQualifiedName: 'sales.customers.create',
976
+ httpMethod: 'post',
977
+ httpPath: '/v1/sales/customers',
978
+ },
979
+ {
980
+ clientCallName: 'client.sales.customers.update',
981
+ fullyQualifiedName: 'sales.customers.update',
982
+ httpMethod: 'patch',
983
+ httpPath: '/v1/sales/customers/{id}',
984
+ },
985
+ {
986
+ clientCallName: 'client.sales.customers.delete',
987
+ fullyQualifiedName: 'sales.customers.delete',
988
+ httpMethod: 'delete',
989
+ httpPath: '/v1/sales/customers/{id}',
990
+ },
991
+ {
992
+ clientCallName: 'client.sales.customers.actions.merge',
993
+ fullyQualifiedName: 'sales.customers.actions.merge',
994
+ httpMethod: 'post',
995
+ httpPath: '/v1/sales/customers/{id}/actions/merge',
996
+ },
997
+ {
998
+ clientCallName: 'client.sales.contacts.actions.findByEmail',
999
+ fullyQualifiedName: 'sales.contacts.actions.findByEmail',
1000
+ httpMethod: 'post',
1001
+ httpPath: '/v1/sales/contacts/actions/find-by-email',
1002
+ },
1003
+ {
1004
+ clientCallName: 'client.sales.salesOrders.retrieveStatuses',
1005
+ fullyQualifiedName: 'sales.salesOrders.retrieveStatuses',
1006
+ httpMethod: 'get',
1007
+ httpPath: '/v1/sales/sales-orders/statuses',
1008
+ },
1009
+ {
1010
+ clientCallName: 'client.sales.salesOrders.list',
1011
+ fullyQualifiedName: 'sales.salesOrders.list',
1012
+ httpMethod: 'get',
1013
+ httpPath: '/v1/sales/sales-orders',
1014
+ },
1015
+ {
1016
+ clientCallName: 'client.sales.salesOrders.create',
1017
+ fullyQualifiedName: 'sales.salesOrders.create',
1018
+ httpMethod: 'post',
1019
+ httpPath: '/v1/sales/sales-orders',
1020
+ },
1021
+ {
1022
+ clientCallName: 'client.finance.retrieveTransactionTypes',
1023
+ fullyQualifiedName: 'finance.retrieveTransactionTypes',
1024
+ httpMethod: 'get',
1025
+ httpPath: '/v1/finance/transaction-types',
1026
+ },
1027
+ {
1028
+ clientCallName: 'client.finance.retrieveTransactionMethods',
1029
+ fullyQualifiedName: 'finance.retrieveTransactionMethods',
1030
+ httpMethod: 'get',
1031
+ httpPath: '/v1/finance/transaction-methods',
1032
+ },
1033
+ {
1034
+ clientCallName: 'client.finance.retrieveAdjustmentTypes',
1035
+ fullyQualifiedName: 'finance.retrieveAdjustmentTypes',
1036
+ httpMethod: 'get',
1037
+ httpPath: '/v1/finance/adjustment-types',
1038
+ },
1039
+ {
1040
+ clientCallName: 'client.finance.paymentTerms.list',
1041
+ fullyQualifiedName: 'finance.paymentTerms.list',
1042
+ httpMethod: 'get',
1043
+ httpPath: '/v1/finance/payment-terms',
1044
+ },
1045
+ {
1046
+ clientCallName: 'client.finance.paymentTerms.retrieve',
1047
+ fullyQualifiedName: 'finance.paymentTerms.retrieve',
1048
+ httpMethod: 'get',
1049
+ httpPath: '/v1/finance/payment-terms/{id}',
1050
+ },
1051
+ {
1052
+ clientCallName: 'client.finance.paymentTerms.create',
1053
+ fullyQualifiedName: 'finance.paymentTerms.create',
1054
+ httpMethod: 'post',
1055
+ httpPath: '/v1/finance/payment-terms',
1056
+ },
1057
+ {
1058
+ clientCallName: 'client.finance.paymentTerms.update',
1059
+ fullyQualifiedName: 'finance.paymentTerms.update',
1060
+ httpMethod: 'patch',
1061
+ httpPath: '/v1/finance/payment-terms/{id}',
1062
+ },
1063
+ {
1064
+ clientCallName: 'client.finance.paymentTerms.delete',
1065
+ fullyQualifiedName: 'finance.paymentTerms.delete',
1066
+ httpMethod: 'delete',
1067
+ httpPath: '/v1/finance/payment-terms/{id}',
1068
+ },
1069
+ {
1070
+ clientCallName: 'client.operations.shippingTerms.list',
1071
+ fullyQualifiedName: 'operations.shippingTerms.list',
1072
+ httpMethod: 'get',
1073
+ httpPath: '/v1/operations/shipping-terms',
1074
+ },
1075
+ {
1076
+ clientCallName: 'client.operations.shippingTerms.retrieve',
1077
+ fullyQualifiedName: 'operations.shippingTerms.retrieve',
1078
+ httpMethod: 'get',
1079
+ httpPath: '/v1/operations/shipping-terms/{id}',
1080
+ },
1081
+ {
1082
+ clientCallName: 'client.operations.shippingTerms.create',
1083
+ fullyQualifiedName: 'operations.shippingTerms.create',
1084
+ httpMethod: 'post',
1085
+ httpPath: '/v1/operations/shipping-terms',
1086
+ },
1087
+ {
1088
+ clientCallName: 'client.operations.shippingTerms.update',
1089
+ fullyQualifiedName: 'operations.shippingTerms.update',
1090
+ httpMethod: 'patch',
1091
+ httpPath: '/v1/operations/shipping-terms/{id}',
1092
+ },
1093
+ {
1094
+ clientCallName: 'client.operations.shippingTerms.delete',
1095
+ fullyQualifiedName: 'operations.shippingTerms.delete',
1096
+ httpMethod: 'delete',
1097
+ httpPath: '/v1/operations/shipping-terms/{id}',
1098
+ },
1099
+ {
1100
+ clientCallName: 'client.operations.carriers.list',
1101
+ fullyQualifiedName: 'operations.carriers.list',
1102
+ httpMethod: 'get',
1103
+ httpPath: '/v1/operations/carriers',
1104
+ },
1105
+ {
1106
+ clientCallName: 'client.operations.carriers.retrieve',
1107
+ fullyQualifiedName: 'operations.carriers.retrieve',
1108
+ httpMethod: 'get',
1109
+ httpPath: '/v1/operations/carriers/{id}',
1110
+ },
1111
+ {
1112
+ clientCallName: 'client.operations.carriers.create',
1113
+ fullyQualifiedName: 'operations.carriers.create',
1114
+ httpMethod: 'post',
1115
+ httpPath: '/v1/operations/carriers',
1116
+ },
1117
+ {
1118
+ clientCallName: 'client.operations.carriers.update',
1119
+ fullyQualifiedName: 'operations.carriers.update',
1120
+ httpMethod: 'patch',
1121
+ httpPath: '/v1/operations/carriers/{id}',
1122
+ },
1123
+ {
1124
+ clientCallName: 'client.operations.carriers.delete',
1125
+ fullyQualifiedName: 'operations.carriers.delete',
1126
+ httpMethod: 'delete',
1127
+ httpPath: '/v1/operations/carriers/{id}',
1128
+ },
1129
+ {
1130
+ clientCallName: 'client.operations.carriers.serviceLevels.list',
1131
+ fullyQualifiedName: 'operations.carriers.serviceLevels.list',
1132
+ httpMethod: 'get',
1133
+ httpPath: '/v1/operations/carriers/{carrier_id}/service-levels',
1134
+ },
1135
+ {
1136
+ clientCallName: 'client.operations.carriers.serviceLevels.retrieve',
1137
+ fullyQualifiedName: 'operations.carriers.serviceLevels.retrieve',
1138
+ httpMethod: 'get',
1139
+ httpPath: '/v1/operations/carriers/{carrier_id}/service-levels/{id}',
1140
+ },
1141
+ {
1142
+ clientCallName: 'client.operations.carriers.serviceLevels.create',
1143
+ fullyQualifiedName: 'operations.carriers.serviceLevels.create',
1144
+ httpMethod: 'post',
1145
+ httpPath: '/v1/operations/carriers/{carrier_id}/service-levels',
1146
+ },
1147
+ {
1148
+ clientCallName: 'client.operations.carriers.serviceLevels.update',
1149
+ fullyQualifiedName: 'operations.carriers.serviceLevels.update',
1150
+ httpMethod: 'patch',
1151
+ httpPath: '/v1/operations/carriers/{carrier_id}/service-levels/{id}',
1152
+ },
1153
+ {
1154
+ clientCallName: 'client.operations.carriers.serviceLevels.delete',
1155
+ fullyQualifiedName: 'operations.carriers.serviceLevels.delete',
1156
+ httpMethod: 'delete',
1157
+ httpPath: '/v1/operations/carriers/{carrier_id}/service-levels/{id}',
1158
+ },
1159
+ {
1160
+ clientCallName: 'client.operations.locations.list',
1161
+ fullyQualifiedName: 'operations.locations.list',
1162
+ httpMethod: 'get',
1163
+ httpPath: '/v1/operations/locations',
1164
+ },
1165
+ {
1166
+ clientCallName: 'client.operations.locations.retrieve',
1167
+ fullyQualifiedName: 'operations.locations.retrieve',
1168
+ httpMethod: 'get',
1169
+ httpPath: '/v1/operations/locations/{id}',
1170
+ },
1171
+ {
1172
+ clientCallName: 'client.operations.locations.create',
1173
+ fullyQualifiedName: 'operations.locations.create',
1174
+ httpMethod: 'post',
1175
+ httpPath: '/v1/operations/locations',
1176
+ },
1177
+ {
1178
+ clientCallName: 'client.operations.locations.update',
1179
+ fullyQualifiedName: 'operations.locations.update',
1180
+ httpMethod: 'patch',
1181
+ httpPath: '/v1/operations/locations/{id}',
1182
+ },
1183
+ {
1184
+ clientCallName: 'client.operations.locations.delete',
1185
+ fullyQualifiedName: 'operations.locations.delete',
1186
+ httpMethod: 'delete',
1187
+ httpPath: '/v1/operations/locations/{id}',
1188
+ },
1189
+ {
1190
+ clientCallName: 'client.operations.locationTypes.list',
1191
+ fullyQualifiedName: 'operations.locationTypes.list',
1192
+ httpMethod: 'get',
1193
+ httpPath: '/v1/operations/location-types',
1194
+ },
1195
+ {
1196
+ clientCallName: 'client.operations.locationTypes.retrieve',
1197
+ fullyQualifiedName: 'operations.locationTypes.retrieve',
1198
+ httpMethod: 'get',
1199
+ httpPath: '/v1/operations/location-types/{id}',
1200
+ },
1201
+ {
1202
+ clientCallName: 'client.operations.scanningStations.list',
1203
+ fullyQualifiedName: 'operations.scanningStations.list',
1204
+ httpMethod: 'get',
1205
+ httpPath: '/v1/operations/scanning-stations',
1206
+ },
1207
+ {
1208
+ clientCallName: 'client.operations.scanningStations.retrieve',
1209
+ fullyQualifiedName: 'operations.scanningStations.retrieve',
1210
+ httpMethod: 'get',
1211
+ httpPath: '/v1/operations/scanning-stations/{id}',
1212
+ },
1213
+ {
1214
+ clientCallName: 'client.operations.scanningStations.create',
1215
+ fullyQualifiedName: 'operations.scanningStations.create',
1216
+ httpMethod: 'post',
1217
+ httpPath: '/v1/operations/scanning-stations',
1218
+ },
1219
+ {
1220
+ clientCallName: 'client.operations.scanningStations.update',
1221
+ fullyQualifiedName: 'operations.scanningStations.update',
1222
+ httpMethod: 'patch',
1223
+ httpPath: '/v1/operations/scanning-stations/{id}',
1224
+ },
1225
+ {
1226
+ clientCallName: 'client.operations.scanningStations.delete',
1227
+ fullyQualifiedName: 'operations.scanningStations.delete',
1228
+ httpMethod: 'delete',
1229
+ httpPath: '/v1/operations/scanning-stations/{id}',
1230
+ },
1231
+ {
1232
+ clientCallName: 'client.identity.accountUsers.list',
1233
+ fullyQualifiedName: 'identity.accountUsers.list',
1234
+ httpMethod: 'get',
1235
+ httpPath: '/v1/identity/account-users',
1236
+ },
1237
+ {
1238
+ clientCallName: 'client.identity.accountUsers.retrieve',
1239
+ fullyQualifiedName: 'identity.accountUsers.retrieve',
1240
+ httpMethod: 'get',
1241
+ httpPath: '/v1/identity/account-users/{id}',
1242
+ },
1243
+ {
1244
+ clientCallName: 'client.identity.accountUsers.create',
1245
+ fullyQualifiedName: 'identity.accountUsers.create',
1246
+ httpMethod: 'post',
1247
+ httpPath: '/v1/identity/account-users',
1248
+ },
1249
+ {
1250
+ clientCallName: 'client.identity.accountUsers.update',
1251
+ fullyQualifiedName: 'identity.accountUsers.update',
1252
+ httpMethod: 'patch',
1253
+ httpPath: '/v1/identity/account-users/{id}',
1254
+ },
1255
+ {
1256
+ clientCallName: 'client.identity.accountUsers.actions.activate',
1257
+ fullyQualifiedName: 'identity.accountUsers.actions.activate',
1258
+ httpMethod: 'put',
1259
+ httpPath: '/v1/identity/account-users/{id}/actions/activate',
1260
+ },
1261
+ {
1262
+ clientCallName: 'client.identity.accountUsers.actions.disable',
1263
+ fullyQualifiedName: 'identity.accountUsers.actions.disable',
1264
+ httpMethod: 'put',
1265
+ httpPath: '/v1/identity/account-users/{id}/actions/disable',
1266
+ },
1267
+ {
1268
+ clientCallName: 'client.identity.accountUsers.actions.remove',
1269
+ fullyQualifiedName: 'identity.accountUsers.actions.remove',
1270
+ httpMethod: 'put',
1271
+ httpPath: '/v1/identity/account-users/{id}/actions/remove',
1272
+ },
1273
+ {
1274
+ clientCallName: 'client.identity.roles.list',
1275
+ fullyQualifiedName: 'identity.roles.list',
1276
+ httpMethod: 'get',
1277
+ httpPath: '/v1/identity/roles',
1278
+ },
1279
+ {
1280
+ clientCallName: 'client.identity.roles.retrieve',
1281
+ fullyQualifiedName: 'identity.roles.retrieve',
1282
+ httpMethod: 'get',
1283
+ httpPath: '/v1/identity/roles/{id}',
1284
+ },
1285
+ {
1286
+ clientCallName: 'client.identity.roles.create',
1287
+ fullyQualifiedName: 'identity.roles.create',
1288
+ httpMethod: 'post',
1289
+ httpPath: '/v1/identity/roles',
1290
+ },
1291
+ {
1292
+ clientCallName: 'client.identity.roles.update',
1293
+ fullyQualifiedName: 'identity.roles.update',
1294
+ httpMethod: 'patch',
1295
+ httpPath: '/v1/identity/roles/{id}',
1296
+ },
1297
+ {
1298
+ clientCallName: 'client.identity.roles.delete',
1299
+ fullyQualifiedName: 'identity.roles.delete',
1300
+ httpMethod: 'delete',
1301
+ httpPath: '/v1/identity/roles/{id}',
1302
+ },
1303
+ {
1304
+ clientCallName: 'client.settings.integrations.list',
1305
+ fullyQualifiedName: 'settings.integrations.list',
1306
+ httpMethod: 'get',
1307
+ httpPath: '/v1/settings/integrations',
1308
+ },
1309
+ {
1310
+ clientCallName: 'client.settings.integrations.create',
1311
+ fullyQualifiedName: 'settings.integrations.create',
1312
+ httpMethod: 'post',
1313
+ httpPath: '/v1/settings/integrations',
1314
+ },
1315
+ {
1316
+ clientCallName: 'client.settings.integrations.update',
1317
+ fullyQualifiedName: 'settings.integrations.update',
1318
+ httpMethod: 'put',
1319
+ httpPath: '/v1/settings/integrations/{id}',
1320
+ },
1321
+ {
1322
+ clientCallName: 'client.settings.integrations.delete',
1323
+ fullyQualifiedName: 'settings.integrations.delete',
1324
+ httpMethod: 'delete',
1325
+ httpPath: '/v1/settings/integrations/{id}',
1326
+ },
1327
+ ];
1328
+ function allowedMethodsForCodeTool(options) {
1329
+ if (!options) {
1330
+ return undefined;
1331
+ }
1332
+ let allowedMethods;
1333
+ if (options.codeAllowHttpGets || options.codeAllowedMethods) {
1334
+ // Start with nothing allowed and then add into it from options
1335
+ let allowedMethodsSet = new Set();
1336
+ if (options.codeAllowHttpGets) {
1337
+ // Add all methods that map to an HTTP GET
1338
+ exports.sdkMethods
1339
+ .filter((method) => method.httpMethod === 'get')
1340
+ .forEach((method) => allowedMethodsSet.add(method));
1341
+ }
1342
+ if (options.codeAllowedMethods) {
1343
+ // Add all methods that match any of the allowed regexps
1344
+ const allowedRegexps = options.codeAllowedMethods.map((pattern) => {
1345
+ try {
1346
+ return new RegExp(pattern);
1347
+ }
1348
+ catch (e) {
1349
+ throw new Error(`Invalid regex pattern for allowed method: "${pattern}": ${e instanceof Error ? e.message : e}`);
1350
+ }
1351
+ });
1352
+ exports.sdkMethods
1353
+ .filter((method) => allowedRegexps.some((regexp) => regexp.test(method.fullyQualifiedName)))
1354
+ .forEach((method) => allowedMethodsSet.add(method));
1355
+ }
1356
+ allowedMethods = Array.from(allowedMethodsSet);
1357
+ }
1358
+ else {
1359
+ // Start with everything allowed
1360
+ allowedMethods = [...exports.sdkMethods];
1361
+ }
1362
+ if (options.codeBlockedMethods) {
1363
+ // Filter down based on blocked regexps
1364
+ const blockedRegexps = options.codeBlockedMethods.map((pattern) => {
1365
+ try {
1366
+ return new RegExp(pattern);
1367
+ }
1368
+ catch (e) {
1369
+ throw new Error(`Invalid regex pattern for blocked method: "${pattern}": ${e instanceof Error ? e.message : e}`);
1370
+ }
1371
+ });
1372
+ allowedMethods = allowedMethods.filter((method) => !blockedRegexps.some((regexp) => regexp.test(method.fullyQualifiedName)));
1373
+ }
1374
+ return allowedMethods;
1375
+ }
1376
+ function blockedMethodsForCodeTool(options) {
1377
+ const allowedMethods = allowedMethodsForCodeTool(options);
1378
+ if (!allowedMethods) {
1379
+ return undefined;
1380
+ }
1381
+ const allowedSet = new Set(allowedMethods.map((method) => method.fullyQualifiedName));
1382
+ // Return any methods that are not explicitly allowed
1383
+ return exports.sdkMethods.filter((method) => !allowedSet.has(method.fullyQualifiedName));
1384
+ }
1385
+ //# sourceMappingURL=methods.js.map