@epilot/sdk 2.0.0-beta.3 → 2.0.0-beta.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 (189) hide show
  1. package/definitions/access-token-runtime.json +1 -0
  2. package/definitions/access-token.json +663 -0
  3. package/definitions/address-runtime.json +1 -0
  4. package/definitions/address-suggestions-runtime.json +1 -0
  5. package/definitions/address-suggestions.json +582 -0
  6. package/definitions/address.json +578 -0
  7. package/definitions/ai-agents-runtime.json +1 -0
  8. package/definitions/ai-agents.json +1711 -0
  9. package/definitions/app-runtime.json +1 -0
  10. package/definitions/app.json +4443 -0
  11. package/definitions/audit-logs-runtime.json +1 -0
  12. package/definitions/audit-logs.json +305 -0
  13. package/definitions/automation-runtime.json +1 -0
  14. package/definitions/automation.json +4850 -0
  15. package/definitions/billing-runtime.json +1 -0
  16. package/definitions/billing.json +837 -0
  17. package/definitions/blueprint-manifest-runtime.json +1 -0
  18. package/definitions/blueprint-manifest.json +3376 -0
  19. package/definitions/consent-runtime.json +1 -0
  20. package/definitions/consent.json +344 -0
  21. package/definitions/customer-portal-runtime.json +1 -0
  22. package/definitions/customer-portal.json +15000 -0
  23. package/definitions/dashboard-runtime.json +1 -0
  24. package/definitions/dashboard.json +484 -0
  25. package/definitions/data-management-runtime.json +1 -0
  26. package/definitions/data-management.json +962 -0
  27. package/definitions/deduplication-runtime.json +1 -0
  28. package/definitions/deduplication.json +183 -0
  29. package/definitions/design-runtime.json +1 -0
  30. package/definitions/design.json +1423 -0
  31. package/definitions/document-runtime.json +1 -0
  32. package/definitions/document.json +758 -0
  33. package/definitions/email-settings-runtime.json +1 -0
  34. package/definitions/email-settings.json +2627 -0
  35. package/definitions/email-template-runtime.json +1 -0
  36. package/definitions/email-template.json +1419 -0
  37. package/definitions/entity-mapping-runtime.json +1 -0
  38. package/definitions/entity-mapping.json +1642 -0
  39. package/definitions/entity-runtime.json +1 -0
  40. package/definitions/entity.json +10074 -0
  41. package/definitions/environments-runtime.json +1 -0
  42. package/definitions/environments.json +363 -0
  43. package/definitions/erp-integration-runtime.json +1 -0
  44. package/definitions/erp-integration.json +5845 -0
  45. package/definitions/event-catalog-runtime.json +1 -0
  46. package/definitions/event-catalog.json +1051 -0
  47. package/definitions/file-runtime.json +1 -0
  48. package/definitions/file.json +2842 -0
  49. package/definitions/iban-runtime.json +1 -0
  50. package/definitions/iban.json +132 -0
  51. package/definitions/journey-runtime.json +1 -0
  52. package/definitions/journey.json +2341 -0
  53. package/definitions/kanban-runtime.json +1 -0
  54. package/definitions/kanban.json +929 -0
  55. package/definitions/message-runtime.json +1 -0
  56. package/definitions/message.json +2660 -0
  57. package/definitions/metering-runtime.json +1 -0
  58. package/definitions/metering.json +2321 -0
  59. package/definitions/notes-runtime.json +1 -0
  60. package/definitions/notes.json +1531 -0
  61. package/definitions/notification-runtime.json +1 -0
  62. package/definitions/notification.json +1425 -0
  63. package/definitions/organization-runtime.json +1 -0
  64. package/definitions/organization.json +629 -0
  65. package/definitions/partner-directory-runtime.json +1 -0
  66. package/definitions/partner-directory.json +1718 -0
  67. package/definitions/permissions-runtime.json +1 -0
  68. package/definitions/permissions.json +1480 -0
  69. package/definitions/pricing-runtime.json +1 -0
  70. package/definitions/pricing-tier-runtime.json +1 -0
  71. package/definitions/pricing-tier.json +105 -0
  72. package/definitions/pricing.json +9884 -0
  73. package/definitions/purpose-runtime.json +1 -0
  74. package/definitions/purpose.json +524 -0
  75. package/definitions/sandbox-runtime.json +1 -0
  76. package/definitions/sandbox.json +453 -0
  77. package/definitions/submission-runtime.json +1 -0
  78. package/definitions/submission.json +313 -0
  79. package/definitions/targeting-runtime.json +1 -0
  80. package/definitions/targeting.json +1474 -0
  81. package/definitions/template-variables-runtime.json +1 -0
  82. package/definitions/template-variables.json +1408 -0
  83. package/definitions/user-runtime.json +1 -0
  84. package/definitions/user.json +2408 -0
  85. package/definitions/validation-rules-runtime.json +1 -0
  86. package/definitions/validation-rules.json +1491 -0
  87. package/definitions/webhooks-runtime.json +1 -0
  88. package/definitions/webhooks.json +1525 -0
  89. package/definitions/workflow-definition-runtime.json +1 -0
  90. package/definitions/workflow-definition.json +3417 -0
  91. package/definitions/workflow-runtime.json +1 -0
  92. package/definitions/workflow.json +4106 -0
  93. package/dist/apis/access-token.cjs +13 -84
  94. package/dist/apis/access-token.js +11 -82
  95. package/dist/apis/address-suggestions.cjs +13 -127
  96. package/dist/apis/address-suggestions.js +11 -125
  97. package/dist/apis/address.cjs +13 -79
  98. package/dist/apis/address.js +11 -77
  99. package/dist/apis/ai-agents.cjs +13 -210
  100. package/dist/apis/ai-agents.js +11 -208
  101. package/dist/apis/app.cjs +13 -568
  102. package/dist/apis/app.js +11 -566
  103. package/dist/apis/audit-logs.cjs +13 -50
  104. package/dist/apis/audit-logs.js +11 -48
  105. package/dist/apis/automation.cjs +13 -277
  106. package/dist/apis/automation.js +11 -275
  107. package/dist/apis/billing.cjs +13 -170
  108. package/dist/apis/billing.js +11 -168
  109. package/dist/apis/blueprint-manifest.cjs +13 -499
  110. package/dist/apis/blueprint-manifest.js +11 -497
  111. package/dist/apis/consent.cjs +13 -79
  112. package/dist/apis/consent.js +11 -77
  113. package/dist/apis/customer-portal.cjs +13 -2247
  114. package/dist/apis/customer-portal.js +11 -2245
  115. package/dist/apis/dashboard.cjs +13 -79
  116. package/dist/apis/dashboard.js +11 -77
  117. package/dist/apis/data-management.cjs +13 -235
  118. package/dist/apis/data-management.js +11 -233
  119. package/dist/apis/deduplication.cjs +13 -37
  120. package/dist/apis/deduplication.js +11 -35
  121. package/dist/apis/design.cjs +13 -214
  122. package/dist/apis/design.js +11 -212
  123. package/dist/apis/document.cjs +13 -73
  124. package/dist/apis/document.js +11 -71
  125. package/dist/apis/email-settings.cjs +13 -528
  126. package/dist/apis/email-settings.js +11 -526
  127. package/dist/apis/email-template.cjs +13 -117
  128. package/dist/apis/email-template.js +11 -115
  129. package/dist/apis/entity-mapping.cjs +13 -210
  130. package/dist/apis/entity-mapping.js +11 -208
  131. package/dist/apis/entity.cjs +13 -1595
  132. package/dist/apis/entity.js +11 -1593
  133. package/dist/apis/environments.cjs +13 -66
  134. package/dist/apis/environments.js +11 -64
  135. package/dist/apis/erp-integration.cjs +13 -581
  136. package/dist/apis/erp-integration.js +11 -579
  137. package/dist/apis/event-catalog.cjs +13 -125
  138. package/dist/apis/event-catalog.js +11 -123
  139. package/dist/apis/file.cjs +13 -568
  140. package/dist/apis/file.js +11 -566
  141. package/dist/apis/iban.cjs +13 -38
  142. package/dist/apis/iban.js +11 -36
  143. package/dist/apis/journey.cjs +13 -265
  144. package/dist/apis/journey.js +11 -263
  145. package/dist/apis/kanban.cjs +13 -159
  146. package/dist/apis/kanban.js +11 -157
  147. package/dist/apis/message.cjs +13 -668
  148. package/dist/apis/message.js +11 -666
  149. package/dist/apis/metering.cjs +13 -394
  150. package/dist/apis/metering.js +11 -392
  151. package/dist/apis/notes.cjs +13 -214
  152. package/dist/apis/notes.js +11 -212
  153. package/dist/apis/notification.cjs +13 -232
  154. package/dist/apis/notification.js +11 -230
  155. package/dist/apis/organization.cjs +13 -113
  156. package/dist/apis/organization.js +11 -111
  157. package/dist/apis/partner-directory.cjs +13 -277
  158. package/dist/apis/partner-directory.js +11 -275
  159. package/dist/apis/permissions.cjs +13 -173
  160. package/dist/apis/permissions.js +11 -171
  161. package/dist/apis/pricing-tier.cjs +14 -32
  162. package/dist/apis/pricing-tier.js +11 -29
  163. package/dist/apis/pricing.cjs +13 -434
  164. package/dist/apis/pricing.js +11 -432
  165. package/dist/apis/purpose.cjs +13 -175
  166. package/dist/apis/purpose.js +11 -173
  167. package/dist/apis/sandbox.cjs +13 -95
  168. package/dist/apis/sandbox.js +11 -93
  169. package/dist/apis/submission.cjs +13 -50
  170. package/dist/apis/submission.js +11 -48
  171. package/dist/apis/targeting.cjs +13 -270
  172. package/dist/apis/targeting.js +11 -268
  173. package/dist/apis/template-variables.cjs +13 -154
  174. package/dist/apis/template-variables.js +11 -152
  175. package/dist/apis/user.cjs +13 -483
  176. package/dist/apis/user.js +11 -481
  177. package/dist/apis/validation-rules.cjs +13 -115
  178. package/dist/apis/validation-rules.js +11 -113
  179. package/dist/apis/webhooks.cjs +13 -247
  180. package/dist/apis/webhooks.js +11 -245
  181. package/dist/apis/workflow-definition.cjs +13 -337
  182. package/dist/apis/workflow-definition.js +11 -335
  183. package/dist/apis/workflow.cjs +13 -397
  184. package/dist/apis/workflow.js +11 -395
  185. package/dist/{chunk-D7ICL3AM.cjs → chunk-5LXNSDG2.cjs} +51 -2
  186. package/dist/{chunk-DGCGLG7G.js → chunk-QMQNMCOC.js} +49 -0
  187. package/dist/index.cjs +56 -54
  188. package/dist/index.js +53 -51
  189. package/package.json +50 -3
@@ -3,136 +3,32 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkD7ICL3AMcjs = require('../chunk-D7ICL3AM.cjs');
7
6
 
8
- // src/definitions/email-template.json
9
- var require_email_template = _chunkD7ICL3AMcjs.__commonJS.call(void 0, {
10
- "src/definitions/email-template.json"(exports, module) {
11
- module.exports = {
12
- openapi: "3.0.2",
13
- info: {
14
- title: "",
15
- version: ""
16
- },
17
- paths: {
18
- "/v1/email-template/templates": {
19
- post: {
20
- operationId: "saveTemplate",
21
- requestBody: {
22
- content: {
23
- "application/json": {}
24
- }
25
- },
26
- responses: {}
27
- }
28
- },
29
- "/v1/email-template/templates/{id}": {
30
- get: {
31
- operationId: "getTemplateDetail",
32
- parameters: [
33
- {
34
- name: "id",
35
- in: "path",
36
- required: true
37
- }
38
- ],
39
- responses: {}
40
- },
41
- put: {
42
- operationId: "updateTemplateDetail",
43
- parameters: [
44
- {
45
- name: "id",
46
- in: "path",
47
- required: true
48
- }
49
- ],
50
- requestBody: {
51
- content: {
52
- "application/json": {}
53
- }
54
- },
55
- responses: {}
56
- }
57
- },
58
- "/v1/email-template/templates:replace": {
59
- post: {
60
- operationId: "replaceVariables",
61
- deprecated: true,
62
- requestBody: {
63
- content: {
64
- "application/json": {}
65
- }
66
- },
67
- responses: {}
68
- }
69
- },
70
- "/v1/email-template/templates:replaceAsync": {
71
- post: {
72
- operationId: "replaceVariablesAsync",
73
- parameters: [
74
- {
75
- in: "query",
76
- name: "job_id"
77
- }
78
- ],
79
- requestBody: {
80
- content: {
81
- "application/json": {}
82
- }
83
- },
84
- responses: {}
85
- }
86
- },
87
- "/v1/email-template/templates:bulkSendMessage": {
88
- post: {
89
- operationId: "bulkSendMessage",
90
- requestBody: {
91
- content: {
92
- "application/json": {}
93
- }
94
- },
95
- responses: {}
96
- }
97
- },
98
- "/v1/email-template/templates:revert": {
99
- post: {
100
- operationId: "revertToOriginalTemplate",
101
- requestBody: {
102
- content: {
103
- "application/json": {}
104
- }
105
- },
106
- responses: {}
107
- }
108
- }
109
- },
110
- components: {},
111
- servers: [
112
- {
113
- url: "https://email-template.sls.epilot.io"
114
- }
115
- ]
116
- };
7
+ var _chunk5LXNSDG2cjs = require('../chunk-5LXNSDG2.cjs');
8
+
9
+ // src/definitions/email-template-runtime.json
10
+ var require_email_template_runtime = _chunk5LXNSDG2cjs.__commonJS.call(void 0, {
11
+ "src/definitions/email-template-runtime.json"(exports, module) {
12
+ module.exports = { s: "https://email-template.sls.epilot.io", o: [["saveTemplate", "post", "/v1/email-template/templates", null, 1], ["getTemplateDetail", "get", "/v1/email-template/templates/{id}", [["id", "p", true]]], ["updateTemplateDetail", "put", "/v1/email-template/templates/{id}", [["id", "p", true]], 1], ["replaceVariables", "post", "/v1/email-template/templates:replace", null, 1], ["replaceVariablesAsync", "post", "/v1/email-template/templates:replaceAsync", [["job_id", "q"]], 1], ["bulkSendMessage", "post", "/v1/email-template/templates:bulkSendMessage", null, 1], ["revertToOriginalTemplate", "post", "/v1/email-template/templates:revert", null, 1]] };
117
13
  }
118
14
  });
119
15
 
120
16
  // src/apis/email-template.ts
121
17
  var loadDefinition = () => {
122
- const mod = require_email_template();
123
- return _nullishCoalesce(mod.default, () => ( mod));
18
+ const mod = require_email_template_runtime();
19
+ return _chunk5LXNSDG2cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
124
20
  };
125
21
  var _instance = null;
126
22
  var resolve = () => {
127
23
  if (!_instance) {
128
- const definition = loadDefinition();
129
- _instance = _chunkD7ICL3AMcjs.createApiClient.call(void 0, { definition });
24
+ const def = loadDefinition();
25
+ _instance = _chunk5LXNSDG2cjs.createApiClient.call(void 0, { definition: def });
130
26
  }
131
27
  return _instance;
132
28
  };
133
- var _handle = _chunkD7ICL3AMcjs.createApiHandle.call(void 0, {
29
+ var _handle = _chunk5LXNSDG2cjs.createApiHandle.call(void 0, {
134
30
  resolveClient: resolve,
135
- createClient: () => _chunkD7ICL3AMcjs.createApiClient.call(void 0, { definition: loadDefinition() })
31
+ createClient: () => _chunk5LXNSDG2cjs.createApiClient.call(void 0, { definition: loadDefinition() })
136
32
  });
137
33
  var getClient = _handle.getClient;
138
34
  var createClient = _handle.createClient;
@@ -142,4 +38,4 @@ var emailTemplate = _handle;
142
38
 
143
39
 
144
40
 
145
- exports.authorize = _chunkD7ICL3AMcjs.authorize; exports.createClient = createClient; exports.emailTemplate = emailTemplate; exports.getClient = getClient;
41
+ exports.authorize = _chunk5LXNSDG2cjs.authorize; exports.createClient = createClient; exports.emailTemplate = emailTemplate; exports.getClient = getClient;
@@ -2,131 +2,27 @@ import {
2
2
  __commonJS,
3
3
  authorize,
4
4
  createApiClient,
5
- createApiHandle
6
- } from "../chunk-DGCGLG7G.js";
5
+ createApiHandle,
6
+ expand
7
+ } from "../chunk-QMQNMCOC.js";
7
8
 
8
- // src/definitions/email-template.json
9
- var require_email_template = __commonJS({
10
- "src/definitions/email-template.json"(exports, module) {
11
- module.exports = {
12
- openapi: "3.0.2",
13
- info: {
14
- title: "",
15
- version: ""
16
- },
17
- paths: {
18
- "/v1/email-template/templates": {
19
- post: {
20
- operationId: "saveTemplate",
21
- requestBody: {
22
- content: {
23
- "application/json": {}
24
- }
25
- },
26
- responses: {}
27
- }
28
- },
29
- "/v1/email-template/templates/{id}": {
30
- get: {
31
- operationId: "getTemplateDetail",
32
- parameters: [
33
- {
34
- name: "id",
35
- in: "path",
36
- required: true
37
- }
38
- ],
39
- responses: {}
40
- },
41
- put: {
42
- operationId: "updateTemplateDetail",
43
- parameters: [
44
- {
45
- name: "id",
46
- in: "path",
47
- required: true
48
- }
49
- ],
50
- requestBody: {
51
- content: {
52
- "application/json": {}
53
- }
54
- },
55
- responses: {}
56
- }
57
- },
58
- "/v1/email-template/templates:replace": {
59
- post: {
60
- operationId: "replaceVariables",
61
- deprecated: true,
62
- requestBody: {
63
- content: {
64
- "application/json": {}
65
- }
66
- },
67
- responses: {}
68
- }
69
- },
70
- "/v1/email-template/templates:replaceAsync": {
71
- post: {
72
- operationId: "replaceVariablesAsync",
73
- parameters: [
74
- {
75
- in: "query",
76
- name: "job_id"
77
- }
78
- ],
79
- requestBody: {
80
- content: {
81
- "application/json": {}
82
- }
83
- },
84
- responses: {}
85
- }
86
- },
87
- "/v1/email-template/templates:bulkSendMessage": {
88
- post: {
89
- operationId: "bulkSendMessage",
90
- requestBody: {
91
- content: {
92
- "application/json": {}
93
- }
94
- },
95
- responses: {}
96
- }
97
- },
98
- "/v1/email-template/templates:revert": {
99
- post: {
100
- operationId: "revertToOriginalTemplate",
101
- requestBody: {
102
- content: {
103
- "application/json": {}
104
- }
105
- },
106
- responses: {}
107
- }
108
- }
109
- },
110
- components: {},
111
- servers: [
112
- {
113
- url: "https://email-template.sls.epilot.io"
114
- }
115
- ]
116
- };
9
+ // src/definitions/email-template-runtime.json
10
+ var require_email_template_runtime = __commonJS({
11
+ "src/definitions/email-template-runtime.json"(exports, module) {
12
+ module.exports = { s: "https://email-template.sls.epilot.io", o: [["saveTemplate", "post", "/v1/email-template/templates", null, 1], ["getTemplateDetail", "get", "/v1/email-template/templates/{id}", [["id", "p", true]]], ["updateTemplateDetail", "put", "/v1/email-template/templates/{id}", [["id", "p", true]], 1], ["replaceVariables", "post", "/v1/email-template/templates:replace", null, 1], ["replaceVariablesAsync", "post", "/v1/email-template/templates:replaceAsync", [["job_id", "q"]], 1], ["bulkSendMessage", "post", "/v1/email-template/templates:bulkSendMessage", null, 1], ["revertToOriginalTemplate", "post", "/v1/email-template/templates:revert", null, 1]] };
117
13
  }
118
14
  });
119
15
 
120
16
  // src/apis/email-template.ts
121
17
  var loadDefinition = () => {
122
- const mod = require_email_template();
123
- return mod.default ?? mod;
18
+ const mod = require_email_template_runtime();
19
+ return expand(mod.default ?? mod);
124
20
  };
125
21
  var _instance = null;
126
22
  var resolve = () => {
127
23
  if (!_instance) {
128
- const definition = loadDefinition();
129
- _instance = createApiClient({ definition });
24
+ const def = loadDefinition();
25
+ _instance = createApiClient({ definition: def });
130
26
  }
131
27
  return _instance;
132
28
  };
@@ -3,229 +3,32 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkD7ICL3AMcjs = require('../chunk-D7ICL3AM.cjs');
7
6
 
8
- // src/definitions/entity-mapping.json
9
- var require_entity_mapping = _chunkD7ICL3AMcjs.__commonJS.call(void 0, {
10
- "src/definitions/entity-mapping.json"(exports, module) {
11
- module.exports = {
12
- openapi: "3.0.3",
13
- info: {
14
- title: "",
15
- version: ""
16
- },
17
- paths: {
18
- "/v1/mappings": {
19
- post: {
20
- operationId: "storeConfig",
21
- parameters: [
22
- {
23
- name: "with_id",
24
- in: "query",
25
- required: false
26
- }
27
- ],
28
- requestBody: {
29
- content: {
30
- "application/json": {}
31
- }
32
- },
33
- responses: {}
34
- }
35
- },
36
- "/v1/mappings/{id}": {
37
- get: {
38
- operationId: "getConfig",
39
- parameters: [
40
- {
41
- name: "id",
42
- in: "path",
43
- required: true
44
- }
45
- ],
46
- responses: {}
47
- },
48
- delete: {
49
- operationId: "deleteConfig",
50
- parameters: [
51
- {
52
- name: "id",
53
- in: "path",
54
- required: true
55
- }
56
- ],
57
- responses: {}
58
- }
59
- },
60
- "/v1/mappings/{id}/versions": {
61
- get: {
62
- operationId: "getAllVersions",
63
- parameters: [
64
- {
65
- name: "id",
66
- in: "path",
67
- required: true
68
- }
69
- ],
70
- responses: {}
71
- },
72
- post: {
73
- operationId: "storeNewVersion",
74
- parameters: [
75
- {
76
- name: "id",
77
- in: "path",
78
- required: true
79
- }
80
- ],
81
- requestBody: {
82
- content: {
83
- "application/json": {}
84
- }
85
- },
86
- responses: {}
87
- }
88
- },
89
- "/v1/mappings/{id}/versions/{version}": {
90
- get: {
91
- operationId: "getConfigVersion",
92
- parameters: [
93
- {
94
- name: "id",
95
- in: "path",
96
- required: true
97
- },
98
- {
99
- name: "version",
100
- in: "path",
101
- required: true
102
- }
103
- ],
104
- responses: {}
105
- }
106
- },
107
- "/v1/mappings:execute": {
108
- post: {
109
- operationId: "executeMapping",
110
- parameters: [
111
- {
112
- name: "preview_mode",
113
- in: "query",
114
- required: false
115
- }
116
- ],
117
- requestBody: {
118
- content: {
119
- "application/json": {}
120
- }
121
- },
122
- responses: {}
123
- }
124
- },
125
- "/v1/mappings:search": {
126
- post: {
127
- operationId: "searchConfigs",
128
- requestBody: {
129
- content: {
130
- "application/json": {}
131
- }
132
- },
133
- responses: {}
134
- }
135
- },
136
- "/v1/mappings/history": {
137
- get: {
138
- operationId: "queryMappingHistory",
139
- parameters: [
140
- {
141
- in: "query",
142
- name: "from",
143
- required: false
144
- },
145
- {
146
- in: "query",
147
- name: "to",
148
- required: false
149
- },
150
- {
151
- in: "query",
152
- name: "targetEntityId"
153
- },
154
- {
155
- in: "query",
156
- name: "sourceEntityId"
157
- }
158
- ],
159
- responses: {}
160
- }
161
- },
162
- "/v1/relations:execute": {
163
- post: {
164
- operationId: "executeRelations",
165
- requestBody: {
166
- content: {
167
- "application/json": {}
168
- }
169
- },
170
- responses: {}
171
- }
172
- },
173
- "/v2/mappings/{id}": {
174
- get: {
175
- operationId: "getMappingConfig",
176
- parameters: [
177
- {
178
- name: "id",
179
- in: "path",
180
- required: true
181
- }
182
- ],
183
- responses: {}
184
- },
185
- put: {
186
- operationId: "putMappingConfig",
187
- parameters: [
188
- {
189
- name: "id",
190
- in: "path",
191
- required: true
192
- }
193
- ],
194
- requestBody: {
195
- content: {
196
- "application/json": {}
197
- }
198
- },
199
- responses: {}
200
- }
201
- }
202
- },
203
- components: {},
204
- servers: [
205
- {
206
- url: "https://entity-mapping.sls.epilot.io"
207
- }
208
- ]
209
- };
7
+ var _chunk5LXNSDG2cjs = require('../chunk-5LXNSDG2.cjs');
8
+
9
+ // src/definitions/entity-mapping-runtime.json
10
+ var require_entity_mapping_runtime = _chunk5LXNSDG2cjs.__commonJS.call(void 0, {
11
+ "src/definitions/entity-mapping-runtime.json"(exports, module) {
12
+ module.exports = { s: "https://entity-mapping.sls.epilot.io", o: [["storeConfig", "post", "/v1/mappings", [["with_id", "q"]], 1], ["getConfig", "get", "/v1/mappings/{id}", [["id", "p", true]]], ["deleteConfig", "delete", "/v1/mappings/{id}", [["id", "p", true]]], ["getAllVersions", "get", "/v1/mappings/{id}/versions", [["id", "p", true]]], ["storeNewVersion", "post", "/v1/mappings/{id}/versions", [["id", "p", true]], 1], ["getConfigVersion", "get", "/v1/mappings/{id}/versions/{version}", [["id", "p", true], ["version", "p", true]]], ["executeMapping", "post", "/v1/mappings:execute", [["preview_mode", "q"]], 1], ["searchConfigs", "post", "/v1/mappings:search", null, 1], ["queryMappingHistory", "get", "/v1/mappings/history", [["from", "q"], ["to", "q"], ["targetEntityId", "q"], ["sourceEntityId", "q"]]], ["executeRelations", "post", "/v1/relations:execute", null, 1], ["getMappingConfig", "get", "/v2/mappings/{id}", [["id", "p", true]]], ["putMappingConfig", "put", "/v2/mappings/{id}", [["id", "p", true]], 1]], v: "3.0.3" };
210
13
  }
211
14
  });
212
15
 
213
16
  // src/apis/entity-mapping.ts
214
17
  var loadDefinition = () => {
215
- const mod = require_entity_mapping();
216
- return _nullishCoalesce(mod.default, () => ( mod));
18
+ const mod = require_entity_mapping_runtime();
19
+ return _chunk5LXNSDG2cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
217
20
  };
218
21
  var _instance = null;
219
22
  var resolve = () => {
220
23
  if (!_instance) {
221
- const definition = loadDefinition();
222
- _instance = _chunkD7ICL3AMcjs.createApiClient.call(void 0, { definition });
24
+ const def = loadDefinition();
25
+ _instance = _chunk5LXNSDG2cjs.createApiClient.call(void 0, { definition: def });
223
26
  }
224
27
  return _instance;
225
28
  };
226
- var _handle = _chunkD7ICL3AMcjs.createApiHandle.call(void 0, {
29
+ var _handle = _chunk5LXNSDG2cjs.createApiHandle.call(void 0, {
227
30
  resolveClient: resolve,
228
- createClient: () => _chunkD7ICL3AMcjs.createApiClient.call(void 0, { definition: loadDefinition() })
31
+ createClient: () => _chunk5LXNSDG2cjs.createApiClient.call(void 0, { definition: loadDefinition() })
229
32
  });
230
33
  var getClient = _handle.getClient;
231
34
  var createClient = _handle.createClient;
@@ -235,4 +38,4 @@ var entityMapping = _handle;
235
38
 
236
39
 
237
40
 
238
- exports.authorize = _chunkD7ICL3AMcjs.authorize; exports.createClient = createClient; exports.entityMapping = entityMapping; exports.getClient = getClient;
41
+ exports.authorize = _chunk5LXNSDG2cjs.authorize; exports.createClient = createClient; exports.entityMapping = entityMapping; exports.getClient = getClient;