@epilot/customer-portal-client 0.39.6 → 0.39.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 +25 -0
- package/package.json +1 -1
- package/src/openapi.json +21 -0
package/dist/openapi.d.ts
CHANGED
|
@@ -2063,6 +2063,15 @@ declare namespace Components {
|
|
|
2063
2063
|
[name: string]: string;
|
|
2064
2064
|
};
|
|
2065
2065
|
};
|
|
2066
|
+
/**
|
|
2067
|
+
* Whether to (re)trigger the registration identifiers check hook, which issues a request
|
|
2068
|
+
* to the connected ERP to (re)sync the contact, in addition to waiting for the entity to
|
|
2069
|
+
* arrive. Defaults to true to preserve existing behaviour. Set to false on retry attempts
|
|
2070
|
+
* to only poll for an already-triggered sync to land, without issuing another upstream
|
|
2071
|
+
* request to the ERP.
|
|
2072
|
+
*
|
|
2073
|
+
*/
|
|
2074
|
+
trigger_identifiers_check?: boolean;
|
|
2066
2075
|
}
|
|
2067
2076
|
export interface ContentWidget {
|
|
2068
2077
|
id: string;
|
|
@@ -9444,6 +9453,14 @@ declare namespace Paths {
|
|
|
9444
9453
|
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
9445
9454
|
*/
|
|
9446
9455
|
Components.Schemas.EntityId /* uuid */;
|
|
9456
|
+
/**
|
|
9457
|
+
* Present only when exists is false. NOT_FOUND means the given identifiers did
|
|
9458
|
+
* not match any contact (definitive - the client should not retry). TIMEOUT
|
|
9459
|
+
* means the contact was not found within the processing window but may still be
|
|
9460
|
+
* ingesting; the client may retry (ideally with trigger_identifiers_check=false).
|
|
9461
|
+
*
|
|
9462
|
+
*/
|
|
9463
|
+
reason?: "TIMEOUT" | "NOT_FOUND";
|
|
9447
9464
|
}
|
|
9448
9465
|
export type $400 = Components.Responses.InvalidRequest;
|
|
9449
9466
|
export type $404 = Components.Responses.NotFound;
|
|
@@ -9491,6 +9508,14 @@ declare namespace Paths {
|
|
|
9491
9508
|
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
9492
9509
|
*/
|
|
9493
9510
|
Components.Schemas.EntityId /* uuid */;
|
|
9511
|
+
/**
|
|
9512
|
+
* Present only when exists is false. NOT_FOUND means the given identifiers did
|
|
9513
|
+
* not match any contact (definitive - the client should not retry). TIMEOUT
|
|
9514
|
+
* means the contact was not found within the processing window but may still be
|
|
9515
|
+
* ingesting; the client may retry (ideally with trigger_identifiers_check=false).
|
|
9516
|
+
*
|
|
9517
|
+
*/
|
|
9518
|
+
reason?: "TIMEOUT" | "NOT_FOUND";
|
|
9494
9519
|
}
|
|
9495
9520
|
export type $400 = Components.Responses.InvalidRequest;
|
|
9496
9521
|
export type $404 = Components.Responses.NotFound;
|
package/package.json
CHANGED
package/src/openapi.json
CHANGED
|
@@ -3665,6 +3665,14 @@
|
|
|
3665
3665
|
"contactId": {
|
|
3666
3666
|
"$ref": "#/components/schemas/EntityId",
|
|
3667
3667
|
"description": "ID of the contact if exists"
|
|
3668
|
+
},
|
|
3669
|
+
"reason": {
|
|
3670
|
+
"type": "string",
|
|
3671
|
+
"enum": [
|
|
3672
|
+
"TIMEOUT",
|
|
3673
|
+
"NOT_FOUND"
|
|
3674
|
+
],
|
|
3675
|
+
"description": "Present only when exists is false. NOT_FOUND means the given identifiers did\nnot match any contact (definitive - the client should not retry). TIMEOUT\nmeans the contact was not found within the processing window but may still be\ningesting; the client may retry (ideally with trigger_identifiers_check=false).\n"
|
|
3668
3676
|
}
|
|
3669
3677
|
}
|
|
3670
3678
|
}
|
|
@@ -3743,6 +3751,14 @@
|
|
|
3743
3751
|
"accountId": {
|
|
3744
3752
|
"$ref": "#/components/schemas/EntityId",
|
|
3745
3753
|
"description": "ID of the resolved account when the portal is configured for account-based registration"
|
|
3754
|
+
},
|
|
3755
|
+
"reason": {
|
|
3756
|
+
"type": "string",
|
|
3757
|
+
"enum": [
|
|
3758
|
+
"TIMEOUT",
|
|
3759
|
+
"NOT_FOUND"
|
|
3760
|
+
],
|
|
3761
|
+
"description": "Present only when exists is false. NOT_FOUND means the given identifiers did\nnot match any contact (definitive - the client should not retry). TIMEOUT\nmeans the contact was not found within the processing window but may still be\ningesting; the client may retry (ideally with trigger_identifiers_check=false).\n"
|
|
3746
3762
|
}
|
|
3747
3763
|
}
|
|
3748
3764
|
}
|
|
@@ -12562,6 +12578,11 @@
|
|
|
12562
12578
|
"contract_number": "123456"
|
|
12563
12579
|
}
|
|
12564
12580
|
}
|
|
12581
|
+
},
|
|
12582
|
+
"trigger_identifiers_check": {
|
|
12583
|
+
"type": "boolean",
|
|
12584
|
+
"default": true,
|
|
12585
|
+
"description": "Whether to (re)trigger the registration identifiers check hook, which issues a request\nto the connected ERP to (re)sync the contact, in addition to waiting for the entity to\narrive. Defaults to true to preserve existing behaviour. Set to false on retry attempts\nto only poll for an already-triggered sync to land, without issuing another upstream\nrequest to the ERP.\n"
|
|
12565
12586
|
}
|
|
12566
12587
|
}
|
|
12567
12588
|
},
|