@epilot/customer-portal-client 0.39.8 → 0.39.10
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;
|
|
@@ -9491,6 +9500,14 @@ declare namespace Paths {
|
|
|
9491
9500
|
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
9492
9501
|
*/
|
|
9493
9502
|
Components.Schemas.EntityId /* uuid */;
|
|
9503
|
+
/**
|
|
9504
|
+
* Present only when exists is false. NOT_FOUND means the given identifiers did
|
|
9505
|
+
* not match any contact (definitive - the client should not retry). TIMEOUT
|
|
9506
|
+
* means the contact was not found within the processing window but may still be
|
|
9507
|
+
* ingesting; the client may retry (ideally with trigger_identifiers_check=false).
|
|
9508
|
+
*
|
|
9509
|
+
*/
|
|
9510
|
+
reason?: "TIMEOUT" | "NOT_FOUND";
|
|
9494
9511
|
}
|
|
9495
9512
|
export type $400 = Components.Responses.InvalidRequest;
|
|
9496
9513
|
export type $404 = Components.Responses.NotFound;
|
|
@@ -9538,6 +9555,14 @@ declare namespace Paths {
|
|
|
9538
9555
|
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
9539
9556
|
*/
|
|
9540
9557
|
Components.Schemas.EntityId /* uuid */;
|
|
9558
|
+
/**
|
|
9559
|
+
* Present only when exists is false. NOT_FOUND means the given identifiers did
|
|
9560
|
+
* not match any contact (definitive - the client should not retry). TIMEOUT
|
|
9561
|
+
* means the contact was not found within the processing window but may still be
|
|
9562
|
+
* ingesting; the client may retry (ideally with trigger_identifiers_check=false).
|
|
9563
|
+
*
|
|
9564
|
+
*/
|
|
9565
|
+
reason?: "TIMEOUT" | "NOT_FOUND";
|
|
9541
9566
|
}
|
|
9542
9567
|
export type $400 = Components.Responses.InvalidRequest;
|
|
9543
9568
|
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
|
}
|
|
@@ -12641,6 +12657,11 @@
|
|
|
12641
12657
|
"contract_number": "123456"
|
|
12642
12658
|
}
|
|
12643
12659
|
}
|
|
12660
|
+
},
|
|
12661
|
+
"trigger_identifiers_check": {
|
|
12662
|
+
"type": "boolean",
|
|
12663
|
+
"default": true,
|
|
12664
|
+
"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"
|
|
12644
12665
|
}
|
|
12645
12666
|
}
|
|
12646
12667
|
},
|