@epilot/app-client 0.9.5 → 0.9.7
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/dist/openapi.d.ts +20 -4
- package/dist/openapi.json +22 -2
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -1229,11 +1229,15 @@ declare namespace Components {
|
|
|
1229
1229
|
configuration: PortalExtensionConfig;
|
|
1230
1230
|
}
|
|
1231
1231
|
export interface PortalExtensionConfig {
|
|
1232
|
+
/**
|
|
1233
|
+
* Identifier of the extension. Should not change between updates.
|
|
1234
|
+
*/
|
|
1235
|
+
id?: string; // ^[a-zA-Z0-9_-]+$
|
|
1232
1236
|
hooks?: ({
|
|
1233
1237
|
/**
|
|
1234
1238
|
* Identifier of the hook. Should not change between updates.
|
|
1235
1239
|
*/
|
|
1236
|
-
id?: string;
|
|
1240
|
+
id?: string; // ^[a-zA-Z0-9_-]+$
|
|
1237
1241
|
name?: TranslatedString;
|
|
1238
1242
|
} & (/**
|
|
1239
1243
|
* Hook that replaces the built-in registration identifiers check. This hook makes a POST call whenever a user is trying to register to find the corresponding contact. The expected response to the call is:
|
|
@@ -1279,7 +1283,7 @@ declare namespace Components {
|
|
|
1279
1283
|
/**
|
|
1280
1284
|
* Identifier of the link. Should not change between updates.
|
|
1281
1285
|
*/
|
|
1282
|
-
id: string;
|
|
1286
|
+
id: string; // ^[a-zA-Z0-9_-]+$
|
|
1283
1287
|
name: TranslatedString;
|
|
1284
1288
|
description?: TranslatedString;
|
|
1285
1289
|
type: "seamless";
|
|
@@ -1308,7 +1312,7 @@ declare namespace Components {
|
|
|
1308
1312
|
/**
|
|
1309
1313
|
* Identifier of the hook. Should not change between updates.
|
|
1310
1314
|
*/
|
|
1311
|
-
id?: string;
|
|
1315
|
+
id?: string; // ^[a-zA-Z0-9_-]+$
|
|
1312
1316
|
name?: TranslatedString;
|
|
1313
1317
|
}
|
|
1314
1318
|
/**
|
|
@@ -1391,6 +1395,12 @@ declare namespace Components {
|
|
|
1391
1395
|
headers: {
|
|
1392
1396
|
[name: string]: string;
|
|
1393
1397
|
};
|
|
1398
|
+
/**
|
|
1399
|
+
* Optional JSON body to use for the call. Defaults to object with all configured identifiers grouped by entity, e.g. `{"contract": {"contract_name": "Name"}}`. Supports variable interpolation.
|
|
1400
|
+
*/
|
|
1401
|
+
body?: {
|
|
1402
|
+
[name: string]: string;
|
|
1403
|
+
};
|
|
1394
1404
|
};
|
|
1395
1405
|
/**
|
|
1396
1406
|
* Name of the Contact attribute to update with the matched Contact ID. Must be a Contact relation attribute supporting multiple entities.
|
|
@@ -1601,6 +1611,12 @@ declare namespace Components {
|
|
|
1601
1611
|
headers: {
|
|
1602
1612
|
[name: string]: string;
|
|
1603
1613
|
};
|
|
1614
|
+
/**
|
|
1615
|
+
* Optional JSON body to use for the call. Defaults to object with all configured identifiers grouped by entity, e.g. `{"contract": {"contract_name": "Name"}}`. Supports variable interpolation.
|
|
1616
|
+
*/
|
|
1617
|
+
body?: {
|
|
1618
|
+
[name: string]: string;
|
|
1619
|
+
};
|
|
1604
1620
|
/**
|
|
1605
1621
|
* Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. Supports variable interpolation.
|
|
1606
1622
|
*/
|
|
@@ -1615,7 +1631,7 @@ declare namespace Components {
|
|
|
1615
1631
|
/**
|
|
1616
1632
|
* Identifier of the link. Should not change between updates.
|
|
1617
1633
|
*/
|
|
1618
|
-
id: string;
|
|
1634
|
+
id: string; // ^[a-zA-Z0-9_-]+$
|
|
1619
1635
|
name: TranslatedString;
|
|
1620
1636
|
description?: TranslatedString;
|
|
1621
1637
|
type: "seamless";
|
package/dist/openapi.json
CHANGED
|
@@ -2105,6 +2105,11 @@
|
|
|
2105
2105
|
"PortalExtensionConfig": {
|
|
2106
2106
|
"type": "object",
|
|
2107
2107
|
"properties": {
|
|
2108
|
+
"id": {
|
|
2109
|
+
"type": "string",
|
|
2110
|
+
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
2111
|
+
"description": "Identifier of the extension. Should not change between updates."
|
|
2112
|
+
},
|
|
2108
2113
|
"hooks": {
|
|
2109
2114
|
"type": "array",
|
|
2110
2115
|
"items": {
|
|
@@ -2155,6 +2160,7 @@
|
|
|
2155
2160
|
"properties": {
|
|
2156
2161
|
"id": {
|
|
2157
2162
|
"type": "string",
|
|
2163
|
+
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
2158
2164
|
"description": "Identifier of the hook. Should not change between updates."
|
|
2159
2165
|
},
|
|
2160
2166
|
"name": {
|
|
@@ -2198,6 +2204,13 @@
|
|
|
2198
2204
|
},
|
|
2199
2205
|
"default": {}
|
|
2200
2206
|
},
|
|
2207
|
+
"body": {
|
|
2208
|
+
"type": "object",
|
|
2209
|
+
"description": "Optional JSON body to use for the call. Defaults to object with all configured identifiers grouped by entity, e.g. `{\"contract\": {\"contract_name\": \"Name\"}}`. Supports variable interpolation.",
|
|
2210
|
+
"additionalProperties": {
|
|
2211
|
+
"type": "string"
|
|
2212
|
+
}
|
|
2213
|
+
},
|
|
2201
2214
|
"result": {
|
|
2202
2215
|
"type": "string",
|
|
2203
2216
|
"description": "Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. Supports variable interpolation."
|
|
@@ -2257,12 +2270,18 @@
|
|
|
2257
2270
|
"type": "string"
|
|
2258
2271
|
},
|
|
2259
2272
|
"default": {}
|
|
2273
|
+
},
|
|
2274
|
+
"body": {
|
|
2275
|
+
"type": "object",
|
|
2276
|
+
"description": "Optional JSON body to use for the call. Defaults to object with all configured identifiers grouped by entity, e.g. `{\"contract\": {\"contract_name\": \"Name\"}}`. Supports variable interpolation.",
|
|
2277
|
+
"additionalProperties": {
|
|
2278
|
+
"type": "string"
|
|
2279
|
+
}
|
|
2260
2280
|
}
|
|
2261
2281
|
},
|
|
2262
2282
|
"required": [
|
|
2263
2283
|
"url",
|
|
2264
|
-
"headers"
|
|
2265
|
-
"result"
|
|
2284
|
+
"headers"
|
|
2266
2285
|
],
|
|
2267
2286
|
"additionalProperties": false
|
|
2268
2287
|
},
|
|
@@ -2655,6 +2674,7 @@
|
|
|
2655
2674
|
"properties": {
|
|
2656
2675
|
"id": {
|
|
2657
2676
|
"type": "string",
|
|
2677
|
+
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
2658
2678
|
"description": "Identifier of the link. Should not change between updates."
|
|
2659
2679
|
},
|
|
2660
2680
|
"name": {
|