@epilot/app-client 0.9.9 → 0.10.1
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 +28 -14
- package/dist/openapi.json +13 -3
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -1246,12 +1246,17 @@ declare namespace Components {
|
|
|
1246
1246
|
*
|
|
1247
1247
|
*/
|
|
1248
1248
|
PortalExtensionHookRegistrationIdentifiersCheck | /**
|
|
1249
|
-
* Hook that replaces the built-in
|
|
1250
|
-
*
|
|
1251
|
-
*
|
|
1252
|
-
*
|
|
1253
|
-
*
|
|
1254
|
-
*
|
|
1249
|
+
* Hook that replaces the built-in Contract identification for self-assignment. This hook involves an HTTP request whenever a user is trying to self-assign Contract(s).
|
|
1250
|
+
* The expected response http status code to the call is:
|
|
1251
|
+
* - 200 if found
|
|
1252
|
+
* - 404 if not found
|
|
1253
|
+
*
|
|
1254
|
+
* The following assignment modes are supported:
|
|
1255
|
+
* - `contracts`: We expect the response to contain Contract ids (customizable using `result` property).
|
|
1256
|
+
* - `contact_to_contracts`: We expect the response to contain a Contact id (customizable using `result` property) and we will assign the Contact as a Customer to the Contracts and (optionally) update the Contact attribute specified by `contact_relation_attribute` to add the matched Contact.
|
|
1257
|
+
* - `contact_to_portal_user`: We expect the response to contain a Contact id (customizable using `result` property) and we will assign the Contact to the Portal User. Portal User will be able to see all data including Contracts transitively.
|
|
1258
|
+
*
|
|
1259
|
+
* Defaults to `contact_to_contracts` for backwards compatibility. We recommend using `contact_to_portal_user` as it does not influence the data model of business entities.
|
|
1255
1260
|
*
|
|
1256
1261
|
*/
|
|
1257
1262
|
PortalExtensionHookContractIdentification | /**
|
|
@@ -1367,12 +1372,17 @@ declare namespace Components {
|
|
|
1367
1372
|
use_static_ips?: boolean;
|
|
1368
1373
|
}
|
|
1369
1374
|
/**
|
|
1370
|
-
* Hook that replaces the built-in
|
|
1371
|
-
*
|
|
1372
|
-
*
|
|
1373
|
-
*
|
|
1374
|
-
*
|
|
1375
|
-
*
|
|
1375
|
+
* Hook that replaces the built-in Contract identification for self-assignment. This hook involves an HTTP request whenever a user is trying to self-assign Contract(s).
|
|
1376
|
+
* The expected response http status code to the call is:
|
|
1377
|
+
* - 200 if found
|
|
1378
|
+
* - 404 if not found
|
|
1379
|
+
*
|
|
1380
|
+
* The following assignment modes are supported:
|
|
1381
|
+
* - `contracts`: We expect the response to contain Contract ids (customizable using `result` property).
|
|
1382
|
+
* - `contact_to_contracts`: We expect the response to contain a Contact id (customizable using `result` property) and we will assign the Contact as a Customer to the Contracts and (optionally) update the Contact attribute specified by `contact_relation_attribute` to add the matched Contact.
|
|
1383
|
+
* - `contact_to_portal_user`: We expect the response to contain a Contact id (customizable using `result` property) and we will assign the Contact to the Portal User. Portal User will be able to see all data including Contracts transitively.
|
|
1384
|
+
*
|
|
1385
|
+
* Defaults to `contact_to_contracts` for backwards compatibility. We recommend using `contact_to_portal_user` as it does not influence the data model of business entities.
|
|
1376
1386
|
*
|
|
1377
1387
|
*/
|
|
1378
1388
|
export interface PortalExtensionHookContractIdentification {
|
|
@@ -1407,7 +1417,11 @@ declare namespace Components {
|
|
|
1407
1417
|
};
|
|
1408
1418
|
};
|
|
1409
1419
|
/**
|
|
1410
|
-
*
|
|
1420
|
+
* Mode of contract assignment. See hook description for mode details.
|
|
1421
|
+
*/
|
|
1422
|
+
assignment_mode?: "contracts" | "contact_to_contracts" | "contact_to_portal_user";
|
|
1423
|
+
/**
|
|
1424
|
+
* Name of the Contact attribute to update with the matched Contact ID when using `contact_to_contracts` mode. Must be a Contact relation attribute supporting multiple entities.
|
|
1411
1425
|
* example:
|
|
1412
1426
|
* represents_contact
|
|
1413
1427
|
*/
|
|
@@ -1420,7 +1434,7 @@ declare namespace Components {
|
|
|
1420
1434
|
/**
|
|
1421
1435
|
* Explanation of the functionality shown to the end user.
|
|
1422
1436
|
* example:
|
|
1423
|
-
* This process will give you access to
|
|
1437
|
+
* This process will give you access to the matching Contracts.
|
|
1424
1438
|
*/
|
|
1425
1439
|
en: string;
|
|
1426
1440
|
};
|
package/dist/openapi.json
CHANGED
|
@@ -2238,7 +2238,7 @@
|
|
|
2238
2238
|
"additionalProperties": false
|
|
2239
2239
|
},
|
|
2240
2240
|
"PortalExtensionHookContractIdentification": {
|
|
2241
|
-
"description": "Hook that replaces the built-in
|
|
2241
|
+
"description": "Hook that replaces the built-in Contract identification for self-assignment. This hook involves an HTTP request whenever a user is trying to self-assign Contract(s).\nThe expected response http status code to the call is:\n - 200 if found\n - 404 if not found\n\nThe following assignment modes are supported:\n - `contracts`: We expect the response to contain Contract ids (customizable using `result` property).\n - `contact_to_contracts`: We expect the response to contain a Contact id (customizable using `result` property) and we will assign the Contact as a Customer to the Contracts and (optionally) update the Contact attribute specified by `contact_relation_attribute` to add the matched Contact.\n - `contact_to_portal_user`: We expect the response to contain a Contact id (customizable using `result` property) and we will assign the Contact to the Portal User. Portal User will be able to see all data including Contracts transitively.\n\nDefaults to `contact_to_contracts` for backwards compatibility. We recommend using `contact_to_portal_user` as it does not influence the data model of business entities.\n",
|
|
2242
2242
|
"type": "object",
|
|
2243
2243
|
"properties": {
|
|
2244
2244
|
"type": {
|
|
@@ -2289,9 +2289,19 @@
|
|
|
2289
2289
|
],
|
|
2290
2290
|
"additionalProperties": false
|
|
2291
2291
|
},
|
|
2292
|
+
"assignment_mode": {
|
|
2293
|
+
"type": "string",
|
|
2294
|
+
"enum": [
|
|
2295
|
+
"contracts",
|
|
2296
|
+
"contact_to_contracts",
|
|
2297
|
+
"contact_to_portal_user"
|
|
2298
|
+
],
|
|
2299
|
+
"description": "Mode of contract assignment. See hook description for mode details.",
|
|
2300
|
+
"default": "contact_to_contracts"
|
|
2301
|
+
},
|
|
2292
2302
|
"contact_relation_attribute": {
|
|
2293
2303
|
"type": "string",
|
|
2294
|
-
"description": "Name of the Contact attribute to update with the matched Contact ID. Must be a Contact relation attribute supporting multiple entities.",
|
|
2304
|
+
"description": "Name of the Contact attribute to update with the matched Contact ID when using `contact_to_contracts` mode. Must be a Contact relation attribute supporting multiple entities.",
|
|
2295
2305
|
"example": "represents_contact"
|
|
2296
2306
|
},
|
|
2297
2307
|
"explanation": {
|
|
@@ -2300,7 +2310,7 @@
|
|
|
2300
2310
|
"en": {
|
|
2301
2311
|
"type": "string",
|
|
2302
2312
|
"description": "Explanation of the functionality shown to the end user.",
|
|
2303
|
-
"example": "This process will give you access to
|
|
2313
|
+
"example": "This process will give you access to the matching Contracts."
|
|
2304
2314
|
}
|
|
2305
2315
|
},
|
|
2306
2316
|
"additionalProperties": {
|