@epilot/sdk 2.14.1 → 2.14.2
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.
- package/definitions/access-token.json +18 -0
- package/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +119 -0
- package/definitions/workflow-definition-runtime.json +1 -1
- package/definitions/workflow-definition.json +6 -2
- package/dist/access-token-7Y2MDFZH.cjs +7 -0
- package/dist/access-token-NWN7UBUP.js +7 -0
- package/dist/{access-token.d-CegaQmrK.d.cts → access-token.d-BhRUc8I-.d.cts} +38 -1
- package/dist/{access-token.d-CegaQmrK.d.ts → access-token.d-BhRUc8I-.d.ts} +38 -1
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.d.cts +2 -2
- package/dist/apis/access-token.d.ts +2 -2
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +8 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +2 -2
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +8 -8
- package/dist/apis/workflow-definition.js +2 -2
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/{chunk-SNERI3PK.cjs → chunk-A3ILIWGC.cjs} +5 -5
- package/dist/chunk-ADX7IYB3.cjs +14 -0
- package/dist/{chunk-BFMY2X2J.cjs → chunk-DGLXRPNZ.cjs} +1 -1
- package/dist/{chunk-OJLX6U66.js → chunk-PK76O2WO.js} +5 -5
- package/dist/chunk-TTU24M3D.js +14 -0
- package/dist/{chunk-6HJ2Y7DZ.js → chunk-Y5YIU6PG.js} +1 -1
- package/dist/{customer-portal-PTVGKDUH.js → customer-portal-6WYH4LMT.js} +1 -1
- package/dist/{customer-portal-6I3G44I4.cjs → customer-portal-JZMXGNRO.cjs} +1 -1
- package/dist/{customer-portal-runtime-4ACQGDNY.cjs → customer-portal-runtime-H7XSAQ6G.cjs} +2 -2
- package/dist/{customer-portal-runtime-E4RI7NYM.js → customer-portal-runtime-JDDF3NWW.js} +1 -1
- package/dist/{customer-portal.d-Bpc-wk9K.d.cts → customer-portal.d-SlKyKhCa.d.cts} +197 -0
- package/dist/{customer-portal.d-Bpc-wk9K.d.ts → customer-portal.d-SlKyKhCa.d.ts} +197 -0
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/workflow-definition-MSO4JDA3.js +7 -0
- package/dist/workflow-definition-XTWO4RMY.cjs +7 -0
- package/dist/{workflow-definition-runtime-2HQS3RPK.cjs → workflow-definition-runtime-DYKGFYQE.cjs} +2 -2
- package/dist/{workflow-definition-runtime-JUPATIKU.js → workflow-definition-runtime-GYDTSAJL.js} +1 -1
- package/docs/access-token.md +21 -1
- package/docs/customer-portal.md +139 -0
- package/docs/workflow-definition.md +1 -0
- package/package.json +1 -1
- package/dist/access-token-GD6REL4U.js +0 -7
- package/dist/access-token-NQ5BLMOW.cjs +0 -7
- package/dist/chunk-OSPTVXY4.js +0 -14
- package/dist/chunk-QNSMYDKG.cjs +0 -14
- package/dist/workflow-definition-5P3PDJKU.cjs +0 -7
- package/dist/workflow-definition-XSSOSEGF.js +0 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkDGLXRPNZcjs = require('./chunk-DGLXRPNZ.cjs');
|
|
4
4
|
require('./chunk-NJK5F5TF.cjs');
|
|
5
|
-
exports. default =
|
|
5
|
+
exports. default = _chunkDGLXRPNZcjs.require_customer_portal_runtime.call(void 0, );
|
|
@@ -11133,6 +11133,183 @@ declare namespace Paths {
|
|
|
11133
11133
|
export type $500 = Components.Responses.InternalServerError;
|
|
11134
11134
|
}
|
|
11135
11135
|
}
|
|
11136
|
+
namespace GetContractWithTemplates {
|
|
11137
|
+
namespace Parameters {
|
|
11138
|
+
export type Id = /**
|
|
11139
|
+
* Entity ID
|
|
11140
|
+
* example:
|
|
11141
|
+
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
11142
|
+
*/
|
|
11143
|
+
Components.Schemas.EntityId /* uuid */;
|
|
11144
|
+
}
|
|
11145
|
+
export interface PathParameters {
|
|
11146
|
+
id: Parameters.Id;
|
|
11147
|
+
}
|
|
11148
|
+
export interface RequestBody {
|
|
11149
|
+
/**
|
|
11150
|
+
* Map of content field name to Handlebars template string. Each template is resolved per related meter and returned as templates_output on the meter.
|
|
11151
|
+
*/
|
|
11152
|
+
templates?: {
|
|
11153
|
+
[name: string]: string;
|
|
11154
|
+
};
|
|
11155
|
+
}
|
|
11156
|
+
namespace Responses {
|
|
11157
|
+
export interface $200 {
|
|
11158
|
+
entity?: /* The contract entity */ Components.Schemas.Contract;
|
|
11159
|
+
/**
|
|
11160
|
+
* The related orders of the requested contract
|
|
11161
|
+
*/
|
|
11162
|
+
orders?: /* The order entity */ Components.Schemas.Order[];
|
|
11163
|
+
/**
|
|
11164
|
+
* The related meters of the requested contract
|
|
11165
|
+
*/
|
|
11166
|
+
meters?: {
|
|
11167
|
+
[name: string]: any;
|
|
11168
|
+
_id: /**
|
|
11169
|
+
* Entity ID
|
|
11170
|
+
* example:
|
|
11171
|
+
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
11172
|
+
*/
|
|
11173
|
+
Components.Schemas.EntityId /* uuid */;
|
|
11174
|
+
/**
|
|
11175
|
+
* Title of the entity
|
|
11176
|
+
* example:
|
|
11177
|
+
* Example Entity
|
|
11178
|
+
*/
|
|
11179
|
+
_title: string;
|
|
11180
|
+
/**
|
|
11181
|
+
* Organization ID the entity belongs to
|
|
11182
|
+
* example:
|
|
11183
|
+
* 123
|
|
11184
|
+
*/
|
|
11185
|
+
_org: string;
|
|
11186
|
+
/**
|
|
11187
|
+
* Array of entity tags
|
|
11188
|
+
* example:
|
|
11189
|
+
* [
|
|
11190
|
+
* "example",
|
|
11191
|
+
* "mock"
|
|
11192
|
+
* ]
|
|
11193
|
+
*/
|
|
11194
|
+
_tags?: string[];
|
|
11195
|
+
/**
|
|
11196
|
+
* Creation timestamp of the entity
|
|
11197
|
+
* example:
|
|
11198
|
+
* 2021-02-09T12:41:43.662Z
|
|
11199
|
+
*/
|
|
11200
|
+
_created_at: string; // date-time
|
|
11201
|
+
/**
|
|
11202
|
+
* Last update timestamp of the entity
|
|
11203
|
+
* example:
|
|
11204
|
+
* 2021-02-09T12:41:43.662Z
|
|
11205
|
+
*/
|
|
11206
|
+
_updated_at: string; // date-time
|
|
11207
|
+
/**
|
|
11208
|
+
* Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
|
|
11209
|
+
*/
|
|
11210
|
+
templates_output_highlighted?: {
|
|
11211
|
+
[name: string]: string | {
|
|
11212
|
+
[name: string]: string;
|
|
11213
|
+
};
|
|
11214
|
+
};
|
|
11215
|
+
/**
|
|
11216
|
+
* Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
|
|
11217
|
+
*/
|
|
11218
|
+
search_snippets?: {
|
|
11219
|
+
/**
|
|
11220
|
+
* Human-readable field label
|
|
11221
|
+
*/
|
|
11222
|
+
field?: string;
|
|
11223
|
+
/**
|
|
11224
|
+
* Highlighted text fragment with <em> tags
|
|
11225
|
+
*/
|
|
11226
|
+
fragment?: string;
|
|
11227
|
+
}[];
|
|
11228
|
+
_schema: "meter";
|
|
11229
|
+
/**
|
|
11230
|
+
* Resolved template strings corresponding to the templates parameter. Supports both string values and nested objects of strings.
|
|
11231
|
+
* example:
|
|
11232
|
+
* {
|
|
11233
|
+
* "content_top_name": "Customer #123456",
|
|
11234
|
+
* "main_content_name": "Orange Flexible A2 (654321)",
|
|
11235
|
+
* "content_bottom_name": "Porscheplatz 1, 70435 Stuttgart, Germany",
|
|
11236
|
+
* "nested_content": {
|
|
11237
|
+
* "title": "Orange Flexible A2",
|
|
11238
|
+
* "subtitle": "654321"
|
|
11239
|
+
* }
|
|
11240
|
+
* }
|
|
11241
|
+
*/
|
|
11242
|
+
templates_output?: {
|
|
11243
|
+
[name: string]: string | {
|
|
11244
|
+
[name: string]: string;
|
|
11245
|
+
};
|
|
11246
|
+
};
|
|
11247
|
+
}[];
|
|
11248
|
+
/**
|
|
11249
|
+
* The related files of the requested contract
|
|
11250
|
+
*/
|
|
11251
|
+
files?: /* The file entity */ Components.Schemas.File[];
|
|
11252
|
+
/**
|
|
11253
|
+
* The related entities of the requested contract
|
|
11254
|
+
*/
|
|
11255
|
+
relations?: Components.Schemas.EntityItem[];
|
|
11256
|
+
workflow?: /**
|
|
11257
|
+
* example:
|
|
11258
|
+
* {
|
|
11259
|
+
* "id": "8gja72h6kas6h",
|
|
11260
|
+
* "name": "Lead Qualification",
|
|
11261
|
+
* "trigger": "MANUAL",
|
|
11262
|
+
* "status": "STARTED",
|
|
11263
|
+
* "creationTime": "2021-04-27T12:01:13.000Z",
|
|
11264
|
+
* "lastUpdateTime": "2021-04-27T12:01:13.000Z",
|
|
11265
|
+
* "dueDate": "2021-04-27T12:01:13.000Z",
|
|
11266
|
+
* "assignedTo": [
|
|
11267
|
+
* "252",
|
|
11268
|
+
* "29052"
|
|
11269
|
+
* ],
|
|
11270
|
+
* "flow": [
|
|
11271
|
+
* {
|
|
11272
|
+
* "id": "sectionId1",
|
|
11273
|
+
* "name": "Initial Information Gathering",
|
|
11274
|
+
* "steps": [
|
|
11275
|
+
* {
|
|
11276
|
+
* "id": "sada5641f3a21",
|
|
11277
|
+
* "name": "Call client and confirm address and product",
|
|
11278
|
+
* "status": "ASSIGNED",
|
|
11279
|
+
* "assignedTo": [
|
|
11280
|
+
* "11"
|
|
11281
|
+
* ]
|
|
11282
|
+
* },
|
|
11283
|
+
* {
|
|
11284
|
+
* "id": "sada5641f3a22",
|
|
11285
|
+
* "name": "Check product availability",
|
|
11286
|
+
* "status": "UNASSIGNED"
|
|
11287
|
+
* },
|
|
11288
|
+
* {
|
|
11289
|
+
* "id": "sada5641f3a23",
|
|
11290
|
+
* "name": "Send email confirming contact with the client",
|
|
11291
|
+
* "status": "SKIPPED"
|
|
11292
|
+
* }
|
|
11293
|
+
* ]
|
|
11294
|
+
* },
|
|
11295
|
+
* {
|
|
11296
|
+
* "id": "firstLevelStepId1",
|
|
11297
|
+
* "name": "Print and send catalog",
|
|
11298
|
+
* "status": "SKIPPED",
|
|
11299
|
+
* "dueDate": "2023-01-15T20:00:00"
|
|
11300
|
+
* }
|
|
11301
|
+
* ]
|
|
11302
|
+
* }
|
|
11303
|
+
*/
|
|
11304
|
+
Components.Schemas.WorkflowExecution[];
|
|
11305
|
+
journey_actions?: Components.Schemas.JourneyActions[];
|
|
11306
|
+
}
|
|
11307
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
11308
|
+
export type $403 = Components.Responses.Forbidden;
|
|
11309
|
+
export type $404 = Components.Responses.NotFound;
|
|
11310
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
11311
|
+
}
|
|
11312
|
+
}
|
|
11136
11313
|
namespace GetCosts {
|
|
11137
11314
|
namespace Parameters {
|
|
11138
11315
|
export type AppId = string;
|
|
@@ -16781,6 +16958,16 @@ interface OperationMethods {
|
|
|
16781
16958
|
data?: any,
|
|
16782
16959
|
config?: AxiosRequestConfig
|
|
16783
16960
|
): OperationResponse<Paths.GetContract.Responses.$200>
|
|
16961
|
+
/**
|
|
16962
|
+
* getContractWithTemplates - getContractWithTemplates
|
|
16963
|
+
*
|
|
16964
|
+
* Get a contract by id, resolving the provided Handlebars templates against each related meter into templates_output. POST variant of getContract that accepts a request body; the GET remains as a fallback.
|
|
16965
|
+
*/
|
|
16966
|
+
'getContractWithTemplates'(
|
|
16967
|
+
parameters?: Parameters<Paths.GetContractWithTemplates.PathParameters> | null,
|
|
16968
|
+
data?: Paths.GetContractWithTemplates.RequestBody,
|
|
16969
|
+
config?: AxiosRequestConfig
|
|
16970
|
+
): OperationResponse<Paths.GetContractWithTemplates.Responses.$200>
|
|
16784
16971
|
/**
|
|
16785
16972
|
* updateContract - updateContract
|
|
16786
16973
|
*
|
|
@@ -18616,6 +18803,16 @@ interface PathsDictionary {
|
|
|
18616
18803
|
data?: any,
|
|
18617
18804
|
config?: AxiosRequestConfig
|
|
18618
18805
|
): OperationResponse<Paths.GetContract.Responses.$200>
|
|
18806
|
+
/**
|
|
18807
|
+
* getContractWithTemplates - getContractWithTemplates
|
|
18808
|
+
*
|
|
18809
|
+
* Get a contract by id, resolving the provided Handlebars templates against each related meter into templates_output. POST variant of getContract that accepts a request body; the GET remains as a fallback.
|
|
18810
|
+
*/
|
|
18811
|
+
'post'(
|
|
18812
|
+
parameters?: Parameters<Paths.GetContractWithTemplates.PathParameters> | null,
|
|
18813
|
+
data?: Paths.GetContractWithTemplates.RequestBody,
|
|
18814
|
+
config?: AxiosRequestConfig
|
|
18815
|
+
): OperationResponse<Paths.GetContractWithTemplates.Responses.$200>
|
|
18619
18816
|
/**
|
|
18620
18817
|
* updateContract - updateContract
|
|
18621
18818
|
*
|
|
@@ -11133,6 +11133,183 @@ declare namespace Paths {
|
|
|
11133
11133
|
export type $500 = Components.Responses.InternalServerError;
|
|
11134
11134
|
}
|
|
11135
11135
|
}
|
|
11136
|
+
namespace GetContractWithTemplates {
|
|
11137
|
+
namespace Parameters {
|
|
11138
|
+
export type Id = /**
|
|
11139
|
+
* Entity ID
|
|
11140
|
+
* example:
|
|
11141
|
+
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
11142
|
+
*/
|
|
11143
|
+
Components.Schemas.EntityId /* uuid */;
|
|
11144
|
+
}
|
|
11145
|
+
export interface PathParameters {
|
|
11146
|
+
id: Parameters.Id;
|
|
11147
|
+
}
|
|
11148
|
+
export interface RequestBody {
|
|
11149
|
+
/**
|
|
11150
|
+
* Map of content field name to Handlebars template string. Each template is resolved per related meter and returned as templates_output on the meter.
|
|
11151
|
+
*/
|
|
11152
|
+
templates?: {
|
|
11153
|
+
[name: string]: string;
|
|
11154
|
+
};
|
|
11155
|
+
}
|
|
11156
|
+
namespace Responses {
|
|
11157
|
+
export interface $200 {
|
|
11158
|
+
entity?: /* The contract entity */ Components.Schemas.Contract;
|
|
11159
|
+
/**
|
|
11160
|
+
* The related orders of the requested contract
|
|
11161
|
+
*/
|
|
11162
|
+
orders?: /* The order entity */ Components.Schemas.Order[];
|
|
11163
|
+
/**
|
|
11164
|
+
* The related meters of the requested contract
|
|
11165
|
+
*/
|
|
11166
|
+
meters?: {
|
|
11167
|
+
[name: string]: any;
|
|
11168
|
+
_id: /**
|
|
11169
|
+
* Entity ID
|
|
11170
|
+
* example:
|
|
11171
|
+
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
11172
|
+
*/
|
|
11173
|
+
Components.Schemas.EntityId /* uuid */;
|
|
11174
|
+
/**
|
|
11175
|
+
* Title of the entity
|
|
11176
|
+
* example:
|
|
11177
|
+
* Example Entity
|
|
11178
|
+
*/
|
|
11179
|
+
_title: string;
|
|
11180
|
+
/**
|
|
11181
|
+
* Organization ID the entity belongs to
|
|
11182
|
+
* example:
|
|
11183
|
+
* 123
|
|
11184
|
+
*/
|
|
11185
|
+
_org: string;
|
|
11186
|
+
/**
|
|
11187
|
+
* Array of entity tags
|
|
11188
|
+
* example:
|
|
11189
|
+
* [
|
|
11190
|
+
* "example",
|
|
11191
|
+
* "mock"
|
|
11192
|
+
* ]
|
|
11193
|
+
*/
|
|
11194
|
+
_tags?: string[];
|
|
11195
|
+
/**
|
|
11196
|
+
* Creation timestamp of the entity
|
|
11197
|
+
* example:
|
|
11198
|
+
* 2021-02-09T12:41:43.662Z
|
|
11199
|
+
*/
|
|
11200
|
+
_created_at: string; // date-time
|
|
11201
|
+
/**
|
|
11202
|
+
* Last update timestamp of the entity
|
|
11203
|
+
* example:
|
|
11204
|
+
* 2021-02-09T12:41:43.662Z
|
|
11205
|
+
*/
|
|
11206
|
+
_updated_at: string; // date-time
|
|
11207
|
+
/**
|
|
11208
|
+
* Template outputs with search highlight <em> tags merged in. Only present when highlight is requested and matches exist.
|
|
11209
|
+
*/
|
|
11210
|
+
templates_output_highlighted?: {
|
|
11211
|
+
[name: string]: string | {
|
|
11212
|
+
[name: string]: string;
|
|
11213
|
+
};
|
|
11214
|
+
};
|
|
11215
|
+
/**
|
|
11216
|
+
* Highlighted fragments for search matches on fields not shown in template content. Max 1 entry.
|
|
11217
|
+
*/
|
|
11218
|
+
search_snippets?: {
|
|
11219
|
+
/**
|
|
11220
|
+
* Human-readable field label
|
|
11221
|
+
*/
|
|
11222
|
+
field?: string;
|
|
11223
|
+
/**
|
|
11224
|
+
* Highlighted text fragment with <em> tags
|
|
11225
|
+
*/
|
|
11226
|
+
fragment?: string;
|
|
11227
|
+
}[];
|
|
11228
|
+
_schema: "meter";
|
|
11229
|
+
/**
|
|
11230
|
+
* Resolved template strings corresponding to the templates parameter. Supports both string values and nested objects of strings.
|
|
11231
|
+
* example:
|
|
11232
|
+
* {
|
|
11233
|
+
* "content_top_name": "Customer #123456",
|
|
11234
|
+
* "main_content_name": "Orange Flexible A2 (654321)",
|
|
11235
|
+
* "content_bottom_name": "Porscheplatz 1, 70435 Stuttgart, Germany",
|
|
11236
|
+
* "nested_content": {
|
|
11237
|
+
* "title": "Orange Flexible A2",
|
|
11238
|
+
* "subtitle": "654321"
|
|
11239
|
+
* }
|
|
11240
|
+
* }
|
|
11241
|
+
*/
|
|
11242
|
+
templates_output?: {
|
|
11243
|
+
[name: string]: string | {
|
|
11244
|
+
[name: string]: string;
|
|
11245
|
+
};
|
|
11246
|
+
};
|
|
11247
|
+
}[];
|
|
11248
|
+
/**
|
|
11249
|
+
* The related files of the requested contract
|
|
11250
|
+
*/
|
|
11251
|
+
files?: /* The file entity */ Components.Schemas.File[];
|
|
11252
|
+
/**
|
|
11253
|
+
* The related entities of the requested contract
|
|
11254
|
+
*/
|
|
11255
|
+
relations?: Components.Schemas.EntityItem[];
|
|
11256
|
+
workflow?: /**
|
|
11257
|
+
* example:
|
|
11258
|
+
* {
|
|
11259
|
+
* "id": "8gja72h6kas6h",
|
|
11260
|
+
* "name": "Lead Qualification",
|
|
11261
|
+
* "trigger": "MANUAL",
|
|
11262
|
+
* "status": "STARTED",
|
|
11263
|
+
* "creationTime": "2021-04-27T12:01:13.000Z",
|
|
11264
|
+
* "lastUpdateTime": "2021-04-27T12:01:13.000Z",
|
|
11265
|
+
* "dueDate": "2021-04-27T12:01:13.000Z",
|
|
11266
|
+
* "assignedTo": [
|
|
11267
|
+
* "252",
|
|
11268
|
+
* "29052"
|
|
11269
|
+
* ],
|
|
11270
|
+
* "flow": [
|
|
11271
|
+
* {
|
|
11272
|
+
* "id": "sectionId1",
|
|
11273
|
+
* "name": "Initial Information Gathering",
|
|
11274
|
+
* "steps": [
|
|
11275
|
+
* {
|
|
11276
|
+
* "id": "sada5641f3a21",
|
|
11277
|
+
* "name": "Call client and confirm address and product",
|
|
11278
|
+
* "status": "ASSIGNED",
|
|
11279
|
+
* "assignedTo": [
|
|
11280
|
+
* "11"
|
|
11281
|
+
* ]
|
|
11282
|
+
* },
|
|
11283
|
+
* {
|
|
11284
|
+
* "id": "sada5641f3a22",
|
|
11285
|
+
* "name": "Check product availability",
|
|
11286
|
+
* "status": "UNASSIGNED"
|
|
11287
|
+
* },
|
|
11288
|
+
* {
|
|
11289
|
+
* "id": "sada5641f3a23",
|
|
11290
|
+
* "name": "Send email confirming contact with the client",
|
|
11291
|
+
* "status": "SKIPPED"
|
|
11292
|
+
* }
|
|
11293
|
+
* ]
|
|
11294
|
+
* },
|
|
11295
|
+
* {
|
|
11296
|
+
* "id": "firstLevelStepId1",
|
|
11297
|
+
* "name": "Print and send catalog",
|
|
11298
|
+
* "status": "SKIPPED",
|
|
11299
|
+
* "dueDate": "2023-01-15T20:00:00"
|
|
11300
|
+
* }
|
|
11301
|
+
* ]
|
|
11302
|
+
* }
|
|
11303
|
+
*/
|
|
11304
|
+
Components.Schemas.WorkflowExecution[];
|
|
11305
|
+
journey_actions?: Components.Schemas.JourneyActions[];
|
|
11306
|
+
}
|
|
11307
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
11308
|
+
export type $403 = Components.Responses.Forbidden;
|
|
11309
|
+
export type $404 = Components.Responses.NotFound;
|
|
11310
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
11311
|
+
}
|
|
11312
|
+
}
|
|
11136
11313
|
namespace GetCosts {
|
|
11137
11314
|
namespace Parameters {
|
|
11138
11315
|
export type AppId = string;
|
|
@@ -16781,6 +16958,16 @@ interface OperationMethods {
|
|
|
16781
16958
|
data?: any,
|
|
16782
16959
|
config?: AxiosRequestConfig
|
|
16783
16960
|
): OperationResponse<Paths.GetContract.Responses.$200>
|
|
16961
|
+
/**
|
|
16962
|
+
* getContractWithTemplates - getContractWithTemplates
|
|
16963
|
+
*
|
|
16964
|
+
* Get a contract by id, resolving the provided Handlebars templates against each related meter into templates_output. POST variant of getContract that accepts a request body; the GET remains as a fallback.
|
|
16965
|
+
*/
|
|
16966
|
+
'getContractWithTemplates'(
|
|
16967
|
+
parameters?: Parameters<Paths.GetContractWithTemplates.PathParameters> | null,
|
|
16968
|
+
data?: Paths.GetContractWithTemplates.RequestBody,
|
|
16969
|
+
config?: AxiosRequestConfig
|
|
16970
|
+
): OperationResponse<Paths.GetContractWithTemplates.Responses.$200>
|
|
16784
16971
|
/**
|
|
16785
16972
|
* updateContract - updateContract
|
|
16786
16973
|
*
|
|
@@ -18616,6 +18803,16 @@ interface PathsDictionary {
|
|
|
18616
18803
|
data?: any,
|
|
18617
18804
|
config?: AxiosRequestConfig
|
|
18618
18805
|
): OperationResponse<Paths.GetContract.Responses.$200>
|
|
18806
|
+
/**
|
|
18807
|
+
* getContractWithTemplates - getContractWithTemplates
|
|
18808
|
+
*
|
|
18809
|
+
* Get a contract by id, resolving the provided Handlebars templates against each related meter into templates_output. POST variant of getContract that accepts a request body; the GET remains as a fallback.
|
|
18810
|
+
*/
|
|
18811
|
+
'post'(
|
|
18812
|
+
parameters?: Parameters<Paths.GetContractWithTemplates.PathParameters> | null,
|
|
18813
|
+
data?: Paths.GetContractWithTemplates.RequestBody,
|
|
18814
|
+
config?: AxiosRequestConfig
|
|
18815
|
+
): OperationResponse<Paths.GetContractWithTemplates.Responses.$200>
|
|
18619
18816
|
/**
|
|
18620
18817
|
* updateContract - updateContract
|
|
18621
18818
|
*
|
package/dist/index.cjs
CHANGED
|
@@ -9,7 +9,7 @@ var _chunkJIUTCNTBcjs = require('./chunk-JIUTCNTB.cjs');
|
|
|
9
9
|
var _chunkNGGI52NVcjs = require('./chunk-NGGI52NV.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkADX7IYB3cjs = require('./chunk-ADX7IYB3.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunkPM25LLETcjs = require('./chunk-PM25LLET.cjs');
|
|
@@ -123,7 +123,7 @@ var _chunkMOLFG5L4cjs = require('./chunk-MOLFG5L4.cjs');
|
|
|
123
123
|
var _chunkBM6NCHPLcjs = require('./chunk-BM6NCHPL.cjs');
|
|
124
124
|
|
|
125
125
|
|
|
126
|
-
var
|
|
126
|
+
var _chunkDGLXRPNZcjs = require('./chunk-DGLXRPNZ.cjs');
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
var _chunkM2UDF7PYcjs = require('./chunk-M2UDF7PY.cjs');
|
|
@@ -158,7 +158,7 @@ var _chunkDVM27A7Ecjs = require('./chunk-DVM27A7E.cjs');
|
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
var
|
|
161
|
+
var _chunkA3ILIWGCcjs = require('./chunk-A3ILIWGC.cjs');
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
@@ -225,7 +225,7 @@ var resolveClient = (params) => {
|
|
|
225
225
|
}
|
|
226
226
|
if (!entry.instance) {
|
|
227
227
|
const definition = entry.loader();
|
|
228
|
-
entry.instance =
|
|
228
|
+
entry.instance = _chunkA3ILIWGCcjs.createApiClient.call(void 0, {
|
|
229
229
|
definition,
|
|
230
230
|
token: state.token,
|
|
231
231
|
headers: state.globalHeaders,
|
|
@@ -258,7 +258,7 @@ var resetAllClients = (registry) => {
|
|
|
258
258
|
};
|
|
259
259
|
|
|
260
260
|
// src/apis/_registry.ts
|
|
261
|
-
var expandDef = (mod) =>
|
|
261
|
+
var expandDef = (mod) => _chunkA3ILIWGCcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
262
262
|
var registerBuiltinApis = (registry) => {
|
|
263
263
|
registerApi({
|
|
264
264
|
registry,
|
|
@@ -323,7 +323,7 @@ var registerBuiltinApis = (registry) => {
|
|
|
323
323
|
registerApi({
|
|
324
324
|
registry,
|
|
325
325
|
name: "customerPortal",
|
|
326
|
-
loader: () => expandDef(
|
|
326
|
+
loader: () => expandDef(_chunkDGLXRPNZcjs.require_customer_portal_runtime.call(void 0, ))
|
|
327
327
|
});
|
|
328
328
|
registerApi({
|
|
329
329
|
registry,
|
|
@@ -513,7 +513,7 @@ var registerBuiltinApis = (registry) => {
|
|
|
513
513
|
registerApi({
|
|
514
514
|
registry,
|
|
515
515
|
name: "workflowDefinition",
|
|
516
|
-
loader: () => expandDef(
|
|
516
|
+
loader: () => expandDef(_chunkADX7IYB3cjs.require_workflow_definition_runtime.call(void 0, ))
|
|
517
517
|
});
|
|
518
518
|
};
|
|
519
519
|
var registerBuiltinExtensions = (extensions) => {
|
|
@@ -601,9 +601,9 @@ var createSDK = () => {
|
|
|
601
601
|
const available = [...registry.keys()].join(", ");
|
|
602
602
|
throw new Error(`Unknown API: "${name}". Available: ${available}`);
|
|
603
603
|
}
|
|
604
|
-
return
|
|
604
|
+
return _chunkA3ILIWGCcjs.createApiHandle.call(void 0, {
|
|
605
605
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
606
|
-
createClient: () =>
|
|
606
|
+
createClient: () => _chunkA3ILIWGCcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
|
|
607
607
|
apiName: name
|
|
608
608
|
});
|
|
609
609
|
};
|
|
@@ -651,9 +651,9 @@ var createSDK = () => {
|
|
|
651
651
|
return interceptorUse;
|
|
652
652
|
}
|
|
653
653
|
case "help":
|
|
654
|
-
return (apiName) =>
|
|
654
|
+
return (apiName) => _chunkA3ILIWGCcjs.help.call(void 0, apiName);
|
|
655
655
|
case "openapi":
|
|
656
|
-
return (apiName) =>
|
|
656
|
+
return (apiName) => _chunkA3ILIWGCcjs.openapi.call(void 0, apiName);
|
|
657
657
|
case "then":
|
|
658
658
|
case "catch":
|
|
659
659
|
case "finally":
|
|
@@ -683,4 +683,4 @@ var epilot = createSDK();
|
|
|
683
683
|
|
|
684
684
|
|
|
685
685
|
|
|
686
|
-
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize =
|
|
686
|
+
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkA3ILIWGCcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkA3ILIWGCcjs.help; exports.openapi = _chunkA3ILIWGCcjs.openapi;
|
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import { Document } from 'openapi-client-axios';
|
|
|
3
3
|
import { AxiosInstance, InternalAxiosRequestConfig, AxiosResponse } from 'axios';
|
|
4
4
|
import { T as TokenArg, H as HeadersConfig, A as ApiHandle } from './types-ChU9Acbv.cjs';
|
|
5
5
|
export { I as Interceptor, O as OverridesConfig, a as authorize } from './types-ChU9Acbv.cjs';
|
|
6
|
-
import { C as Client } from './access-token.d-
|
|
6
|
+
import { C as Client } from './access-token.d-BhRUc8I-.cjs';
|
|
7
7
|
import { C as Client$1 } from './address.d-CwAPOVxa.cjs';
|
|
8
8
|
import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.cjs';
|
|
9
9
|
import { C as Client$3 } from './ai-agents.d-D-7bTH-9.cjs';
|
|
@@ -15,7 +15,7 @@ import { C as Client$8 } from './blueprint-manifest.d-2-TORV8o.cjs';
|
|
|
15
15
|
import { C as Client$9 } from './calendar.d-BEjLDagH.cjs';
|
|
16
16
|
import { C as Client$a } from './configuration-hub.d-CbSJDa7k.cjs';
|
|
17
17
|
import { C as Client$b } from './consent.d-C2PROHhX.cjs';
|
|
18
|
-
import { C as Client$c } from './customer-portal.d-
|
|
18
|
+
import { C as Client$c } from './customer-portal.d-SlKyKhCa.cjs';
|
|
19
19
|
import { C as Client$d } from './dashboard.d-CsGcA74I.cjs';
|
|
20
20
|
import { C as Client$e } from './data-governance.d-BbZ466j5.cjs';
|
|
21
21
|
import { C as Client$f } from './deduplication.d-D5GYddVu.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Document } from 'openapi-client-axios';
|
|
|
3
3
|
import { AxiosInstance, InternalAxiosRequestConfig, AxiosResponse } from 'axios';
|
|
4
4
|
import { T as TokenArg, H as HeadersConfig, A as ApiHandle } from './types-ChU9Acbv.js';
|
|
5
5
|
export { I as Interceptor, O as OverridesConfig, a as authorize } from './types-ChU9Acbv.js';
|
|
6
|
-
import { C as Client } from './access-token.d-
|
|
6
|
+
import { C as Client } from './access-token.d-BhRUc8I-.js';
|
|
7
7
|
import { C as Client$1 } from './address.d-CwAPOVxa.js';
|
|
8
8
|
import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.js';
|
|
9
9
|
import { C as Client$3 } from './ai-agents.d-D-7bTH-9.js';
|
|
@@ -15,7 +15,7 @@ import { C as Client$8 } from './blueprint-manifest.d-2-TORV8o.js';
|
|
|
15
15
|
import { C as Client$9 } from './calendar.d-BEjLDagH.js';
|
|
16
16
|
import { C as Client$a } from './configuration-hub.d-CbSJDa7k.js';
|
|
17
17
|
import { C as Client$b } from './consent.d-C2PROHhX.js';
|
|
18
|
-
import { C as Client$c } from './customer-portal.d-
|
|
18
|
+
import { C as Client$c } from './customer-portal.d-SlKyKhCa.js';
|
|
19
19
|
import { C as Client$d } from './dashboard.d-CsGcA74I.js';
|
|
20
20
|
import { C as Client$e } from './data-governance.d-BbZ466j5.js';
|
|
21
21
|
import { C as Client$f } from './deduplication.d-D5GYddVu.js';
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-OV4MYZR5.js";
|
|
10
10
|
import {
|
|
11
11
|
require_workflow_definition_runtime
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TTU24M3D.js";
|
|
13
13
|
import {
|
|
14
14
|
require_workflow_runtime
|
|
15
15
|
} from "./chunk-522LYPPW.js";
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
} from "./chunk-2BPBDRRO.js";
|
|
124
124
|
import {
|
|
125
125
|
require_customer_portal_runtime
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-Y5YIU6PG.js";
|
|
127
127
|
import {
|
|
128
128
|
require_dashboard_runtime
|
|
129
129
|
} from "./chunk-SZMCMLOQ.js";
|
|
@@ -158,7 +158,7 @@ import {
|
|
|
158
158
|
expand,
|
|
159
159
|
help,
|
|
160
160
|
openapi
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-PK76O2WO.js";
|
|
162
162
|
import {
|
|
163
163
|
__require
|
|
164
164
|
} from "./chunk-YPSWSI3M.js";
|