@epilot/sdk 2.20.69 → 2.20.71
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/identity-runtime.json +1 -1
- package/definitions/identity.json +219 -34
- package/definitions/validation-rules-runtime.json +1 -1
- package/definitions/validation-rules.json +56 -10
- package/dist/apis/access-token.cjs +6 -6
- 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/chat.cjs +6 -6
- package/dist/apis/chat.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 +6 -6
- package/dist/apis/customer-portal.js +1 -1
- 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/external-values.cjs +6 -6
- package/dist/apis/external-values.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/identity.cjs +8 -8
- package/dist/apis/identity.js +2 -2
- 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/phone-integration.cjs +6 -6
- package/dist/apis/phone-integration.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 +8 -8
- package/dist/apis/validation-rules.d.cts +2 -2
- package/dist/apis/validation-rules.d.ts +2 -2
- package/dist/apis/validation-rules.js +2 -2
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/chunk-7IKQIVUS.js +14 -0
- package/dist/{chunk-3IBAPVLY.js → chunk-DSYS22AC.js} +1 -1
- package/dist/chunk-JIUTCNTB.cjs +14 -0
- package/dist/{chunk-PAMXQWNL.cjs → chunk-M6RNRDA3.cjs} +4 -4
- package/dist/{chunk-BVDXJ4QV.js → chunk-N2IV6QYZ.js} +4 -4
- package/dist/{chunk-RPWTWCDC.cjs → chunk-TKRZK7V2.cjs} +1 -1
- package/dist/identity-F5XHYPXY.js +7 -0
- package/dist/identity-JDTGYAOV.cjs +7 -0
- package/dist/{identity-runtime-PFM5KQWA.js → identity-runtime-A4LSC77N.js} +1 -1
- package/dist/{identity-runtime-57DQPQWX.cjs → identity-runtime-GNE4EC7V.cjs} +2 -2
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/validation-rules-D4OW6VYI.js +7 -0
- package/dist/validation-rules-QYVRILMT.cjs +7 -0
- package/dist/{validation-rules-runtime-VGLVHV36.js → validation-rules-runtime-6MRCS5X2.js} +1 -1
- package/dist/{validation-rules-runtime-DENVKYLF.cjs → validation-rules-runtime-X7M3QE5I.cjs} +2 -2
- package/dist/{validation-rules.d-ChX2VKqg.d.cts → validation-rules.d-C1OtLama.d.cts} +129 -29
- package/dist/{validation-rules.d-ChX2VKqg.d.ts → validation-rules.d-C1OtLama.d.ts} +129 -29
- package/docs/identity.md +58 -64
- package/docs/validation-rules.md +336 -177
- package/package.json +1 -1
- package/dist/chunk-HRSCAD3W.cjs +0 -14
- package/dist/chunk-PPX45U34.js +0 -14
- package/dist/identity-EG35NBZW.js +0 -7
- package/dist/identity-XMX3VFXR.cjs +0 -7
- package/dist/validation-rules-2XSKTPDC.js +0 -7
- package/dist/validation-rules-PHF3RPTN.cjs +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"s":"https://id.epilot.cloud","o":[["listClients","get","/v1/identity/operator/clients",[["PartnerKeyQuery"],["ClientStatusQuery"],["SizeQuery"],["CursorQuery"]]],["createOidcClient","post","/v1/identity/operator/clients",null,1],["getOidcClient","get","/v1/identity/operator/clients/{client_id}"],["updateClient","put","/v1/identity/operator/clients/{client_id}",null,1],["retireClient","delete","/v1/identity/operator/clients/{client_id}"],["activateClient","post","/v1/identity/operator/clients/{client_id}:activate"],["suspendClient","post","/v1/identity/operator/clients/{client_id}:suspend",null,1],["rotateClientSecret","post","/v1/identity/operator/clients/{client_id}:rotateSecret",null,1],["listClientOrganizations","get","/v1/identity/operator/clients/{client_id}/organizations",[["OrgEnablementStatusQuery"]]],["enableClientOrganization","post","/v1/identity/operator/clients/{client_id}/organizations",null,1],["getClientOrganization","get","/v1/identity/operator/clients/{client_id}/organizations/{org_id}"],["updateClientOrganization","put","/v1/identity/operator/clients/{client_id}/organizations/{org_id}",null,1],["revokeClientOrganization","delete","/v1/identity/operator/clients/{client_id}/organizations/{org_id}",null,1],["suspendClientOrganization","post","/v1/identity/operator/clients/{client_id}/organizations/{org_id}:suspend",null,1],["activateClientOrganization","post","/v1/identity/operator/clients/{client_id}/organizations/{org_id}:activate"],["createIdentitySession","get","/v1/identity/session"],["deleteIdentitySession","delete","/v1/identity/session"],["launchClient","get","/v1/identity/launch/{client_id}",[["target","q"],["AnyOtherQueryParameters"]]]],"v":"3.0.3","cp":{"AnyOtherQueryParameters":["extra","q",false,"form",true],"ClientIdPath":["client_id","p",true],"OrgIdPath":["org_id","p",true],"PartnerKeyQuery":["partner_key","q"],"ClientStatusQuery":["status","q"],"OrgEnablementStatusQuery":["status","q"],"SizeQuery":["size","q"],"CursorQuery":["cursor","q"]},"pp":{"/v1/identity/operator/clients/{client_id}":[["ClientIdPath"]],"/v1/identity/operator/clients/{client_id}:activate":[["ClientIdPath"]],"/v1/identity/operator/clients/{client_id}:suspend":[["ClientIdPath"]],"/v1/identity/operator/clients/{client_id}:rotateSecret":[["ClientIdPath"]],"/v1/identity/operator/clients/{client_id}/organizations":[["ClientIdPath"]],"/v1/identity/operator/clients/{client_id}/organizations/{org_id}":[["ClientIdPath"],["OrgIdPath"]],"/v1/identity/operator/clients/{client_id}/organizations/{org_id}:suspend":[["ClientIdPath"],["OrgIdPath"]],"/v1/identity/operator/clients/{client_id}/organizations/{org_id}:activate":[["ClientIdPath"],["OrgIdPath"]],"/v1/identity/interaction/{interaction_id}":[["interaction_id","p",true]],"/v1/identity/launch/{client_id}":[["ClientIdPath"]]}}
|
|
1
|
+
{"s":"https://id.epilot.cloud","o":[["listClients","get","/v1/identity/operator/clients",[["PartnerKeyQuery"],["ClientStatusQuery"],["SizeQuery"],["CursorQuery"]]],["createOidcClient","post","/v1/identity/operator/clients",null,1],["getOidcClient","get","/v1/identity/operator/clients/{client_id}"],["updateClient","put","/v1/identity/operator/clients/{client_id}",null,1],["retireClient","delete","/v1/identity/operator/clients/{client_id}"],["activateClient","post","/v1/identity/operator/clients/{client_id}:activate"],["suspendClient","post","/v1/identity/operator/clients/{client_id}:suspend",null,1],["rotateClientSecret","post","/v1/identity/operator/clients/{client_id}:rotateSecret",null,1],["listClientOrganizations","get","/v1/identity/operator/clients/{client_id}/organizations",[["OrgEnablementStatusQuery"]]],["enableClientOrganization","post","/v1/identity/operator/clients/{client_id}/organizations",null,1],["getClientOrganization","get","/v1/identity/operator/clients/{client_id}/organizations/{org_id}"],["updateClientOrganization","put","/v1/identity/operator/clients/{client_id}/organizations/{org_id}",null,1],["revokeClientOrganization","delete","/v1/identity/operator/clients/{client_id}/organizations/{org_id}",null,1],["suspendClientOrganization","post","/v1/identity/operator/clients/{client_id}/organizations/{org_id}:suspend",null,1],["activateClientOrganization","post","/v1/identity/operator/clients/{client_id}/organizations/{org_id}:activate"],["getUserSubject","get","/v1/identity/operator/clients/{client_id}/organizations/{org_id}/users/{user_id}:subject"],["createIdentitySession","get","/v1/identity/session"],["deleteIdentitySession","delete","/v1/identity/session"],["launchClient","get","/v1/identity/launch/{client_id}",[["target","q"],["AnyOtherQueryParameters"]]]],"v":"3.0.3","cp":{"AnyOtherQueryParameters":["extra","q",false,"form",true],"ClientIdPath":["client_id","p",true],"OrgIdPath":["org_id","p",true],"UserIdPath":["user_id","p",true],"PartnerKeyQuery":["partner_key","q"],"ClientStatusQuery":["status","q"],"OrgEnablementStatusQuery":["status","q"],"SizeQuery":["size","q"],"CursorQuery":["cursor","q"]},"pp":{"/v1/identity/operator/clients/{client_id}":[["ClientIdPath"]],"/v1/identity/operator/clients/{client_id}:activate":[["ClientIdPath"]],"/v1/identity/operator/clients/{client_id}:suspend":[["ClientIdPath"]],"/v1/identity/operator/clients/{client_id}:rotateSecret":[["ClientIdPath"]],"/v1/identity/operator/clients/{client_id}/organizations":[["ClientIdPath"]],"/v1/identity/operator/clients/{client_id}/organizations/{org_id}":[["ClientIdPath"],["OrgIdPath"]],"/v1/identity/operator/clients/{client_id}/organizations/{org_id}:suspend":[["ClientIdPath"],["OrgIdPath"]],"/v1/identity/operator/clients/{client_id}/organizations/{org_id}:activate":[["ClientIdPath"],["OrgIdPath"]],"/v1/identity/operator/clients/{client_id}/organizations/{org_id}/users/{user_id}:subject":[["ClientIdPath"],["OrgIdPath"],["UserIdPath"]],"/v1/identity/interaction/{interaction_id}":[["interaction_id","p",true]],"/v1/identity/launch/{client_id}":[["ClientIdPath"]]}}
|
|
@@ -37,6 +37,11 @@
|
|
|
37
37
|
"/v1/identity/operator/clients": {
|
|
38
38
|
"get": {
|
|
39
39
|
"operationId": "listClients",
|
|
40
|
+
"x-epilot-permissions": [
|
|
41
|
+
{
|
|
42
|
+
"access": "internal"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
40
45
|
"summary": "listClients",
|
|
41
46
|
"description": "List registered partner clients. The client secret is never returned.",
|
|
42
47
|
"tags": [
|
|
@@ -77,6 +82,11 @@
|
|
|
77
82
|
},
|
|
78
83
|
"post": {
|
|
79
84
|
"operationId": "createOidcClient",
|
|
85
|
+
"x-epilot-permissions": [
|
|
86
|
+
{
|
|
87
|
+
"access": "internal"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
80
90
|
"summary": "createOidcClient",
|
|
81
91
|
"description": "Create a partner client in `draft` status. The client secret is returned exactly once in this\nresponse and can never be read again; use `rotateClientSecret` to obtain a new one.\n",
|
|
82
92
|
"tags": [
|
|
@@ -123,6 +133,11 @@
|
|
|
123
133
|
],
|
|
124
134
|
"get": {
|
|
125
135
|
"operationId": "getOidcClient",
|
|
136
|
+
"x-epilot-permissions": [
|
|
137
|
+
{
|
|
138
|
+
"access": "internal"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
126
141
|
"summary": "getOidcClient",
|
|
127
142
|
"description": "Read a partner client. The client secret is never returned.",
|
|
128
143
|
"tags": [
|
|
@@ -152,6 +167,11 @@
|
|
|
152
167
|
},
|
|
153
168
|
"put": {
|
|
154
169
|
"operationId": "updateClient",
|
|
170
|
+
"x-epilot-permissions": [
|
|
171
|
+
{
|
|
172
|
+
"access": "internal"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
155
175
|
"summary": "updateClient",
|
|
156
176
|
"description": "Replace the mutable configuration of a client. `config_version` must equal the current\nversion (compare-and-swap); a mismatch is rejected with `409`.\n",
|
|
157
177
|
"tags": [
|
|
@@ -197,6 +217,11 @@
|
|
|
197
217
|
},
|
|
198
218
|
"delete": {
|
|
199
219
|
"operationId": "retireClient",
|
|
220
|
+
"x-epilot-permissions": [
|
|
221
|
+
{
|
|
222
|
+
"access": "internal"
|
|
223
|
+
}
|
|
224
|
+
],
|
|
200
225
|
"summary": "retireClient",
|
|
201
226
|
"description": "Retire a client. The record is kept as a tombstone, the `client_id` is never reused, every\norganization enablement is revoked and all provider-side artefacts are revoked.\n",
|
|
202
227
|
"tags": [
|
|
@@ -233,6 +258,11 @@
|
|
|
233
258
|
],
|
|
234
259
|
"post": {
|
|
235
260
|
"operationId": "activateClient",
|
|
261
|
+
"x-epilot-permissions": [
|
|
262
|
+
{
|
|
263
|
+
"access": "internal"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
236
266
|
"summary": "activateClient",
|
|
237
267
|
"description": "Activate a `draft` or `suspended` client. Validates that every redirect URI is an absolute\nHTTPS URL without fragment, that `scopes_allowed` contains `openid`, and that the\nauthentication method is `client_secret_basic`.\n",
|
|
238
268
|
"tags": [
|
|
@@ -275,6 +305,11 @@
|
|
|
275
305
|
],
|
|
276
306
|
"post": {
|
|
277
307
|
"operationId": "suspendClient",
|
|
308
|
+
"x-epilot-permissions": [
|
|
309
|
+
{
|
|
310
|
+
"access": "internal"
|
|
311
|
+
}
|
|
312
|
+
],
|
|
278
313
|
"summary": "suspendClient",
|
|
279
314
|
"description": "Immediately block the client for every organization. Provider-side artefacts (codes, tokens,\ngrants) are revoked; the audit trail is kept. Reversible with `activateClient`.\n",
|
|
280
315
|
"tags": [
|
|
@@ -324,6 +359,11 @@
|
|
|
324
359
|
],
|
|
325
360
|
"post": {
|
|
326
361
|
"operationId": "rotateClientSecret",
|
|
362
|
+
"x-epilot-permissions": [
|
|
363
|
+
{
|
|
364
|
+
"access": "internal"
|
|
365
|
+
}
|
|
366
|
+
],
|
|
327
367
|
"summary": "rotateClientSecret",
|
|
328
368
|
"description": "Issue a new client secret. The new secret is returned exactly once. The previous secret\nkeeps working until `previous_secret_expires_at` unless `compromise_mode` is set, in which\ncase it stops working immediately.\n",
|
|
329
369
|
"tags": [
|
|
@@ -373,6 +413,11 @@
|
|
|
373
413
|
],
|
|
374
414
|
"get": {
|
|
375
415
|
"operationId": "listClientOrganizations",
|
|
416
|
+
"x-epilot-permissions": [
|
|
417
|
+
{
|
|
418
|
+
"access": "internal"
|
|
419
|
+
}
|
|
420
|
+
],
|
|
376
421
|
"summary": "listClientOrganizations",
|
|
377
422
|
"description": "List the organizations enabled on a client, including suspended and revoked ones.",
|
|
378
423
|
"tags": [
|
|
@@ -407,6 +452,11 @@
|
|
|
407
452
|
},
|
|
408
453
|
"post": {
|
|
409
454
|
"operationId": "enableClientOrganization",
|
|
455
|
+
"x-epilot-permissions": [
|
|
456
|
+
{
|
|
457
|
+
"access": "internal"
|
|
458
|
+
}
|
|
459
|
+
],
|
|
410
460
|
"summary": "enableClientOrganization",
|
|
411
461
|
"description": "Enable an epilot organization on a client, recording the customer's authorization policy\n(version 1). `allowed_scopes` must contain `openid` and be a subset of the client's\n`scopes_allowed`.\n",
|
|
412
462
|
"tags": [
|
|
@@ -462,6 +512,11 @@
|
|
|
462
512
|
],
|
|
463
513
|
"get": {
|
|
464
514
|
"operationId": "getClientOrganization",
|
|
515
|
+
"x-epilot-permissions": [
|
|
516
|
+
{
|
|
517
|
+
"access": "internal"
|
|
518
|
+
}
|
|
519
|
+
],
|
|
465
520
|
"summary": "getClientOrganization",
|
|
466
521
|
"description": "Read one organization enablement.",
|
|
467
522
|
"tags": [
|
|
@@ -491,6 +546,11 @@
|
|
|
491
546
|
},
|
|
492
547
|
"put": {
|
|
493
548
|
"operationId": "updateClientOrganization",
|
|
549
|
+
"x-epilot-permissions": [
|
|
550
|
+
{
|
|
551
|
+
"access": "internal"
|
|
552
|
+
}
|
|
553
|
+
],
|
|
494
554
|
"summary": "updateClientOrganization",
|
|
495
555
|
"description": "Record a new version of the customer's authorization policy. `expected_policy_version` must\nequal the current version (compare-and-swap); a mismatch is rejected with `409`.\n",
|
|
496
556
|
"tags": [
|
|
@@ -536,6 +596,11 @@
|
|
|
536
596
|
},
|
|
537
597
|
"delete": {
|
|
538
598
|
"operationId": "revokeClientOrganization",
|
|
599
|
+
"x-epilot-permissions": [
|
|
600
|
+
{
|
|
601
|
+
"access": "internal"
|
|
602
|
+
}
|
|
603
|
+
],
|
|
539
604
|
"summary": "revokeClientOrganization",
|
|
540
605
|
"description": "Revoke an organization's enablement. The record is kept as an audited tombstone; future\nauthorizations for this organization fail with `access_denied` and provider-side artefacts\nbound to it are revoked.\n",
|
|
541
606
|
"tags": [
|
|
@@ -585,6 +650,11 @@
|
|
|
585
650
|
],
|
|
586
651
|
"post": {
|
|
587
652
|
"operationId": "suspendClientOrganization",
|
|
653
|
+
"x-epilot-permissions": [
|
|
654
|
+
{
|
|
655
|
+
"access": "internal"
|
|
656
|
+
}
|
|
657
|
+
],
|
|
588
658
|
"summary": "suspendClientOrganization",
|
|
589
659
|
"description": "Temporarily block one organization on this client. Reversible with `activateClientOrganization`.",
|
|
590
660
|
"tags": [
|
|
@@ -637,6 +707,11 @@
|
|
|
637
707
|
],
|
|
638
708
|
"post": {
|
|
639
709
|
"operationId": "activateClientOrganization",
|
|
710
|
+
"x-epilot-permissions": [
|
|
711
|
+
{
|
|
712
|
+
"access": "internal"
|
|
713
|
+
}
|
|
714
|
+
],
|
|
640
715
|
"summary": "activateClientOrganization",
|
|
641
716
|
"description": "Resume a suspended organization on this client. Revoked enablements cannot be re-activated; enabling the organization again (`POST …/organizations`) replaces the revoked entry and continues its policy version.",
|
|
642
717
|
"tags": [
|
|
@@ -668,11 +743,90 @@
|
|
|
668
743
|
}
|
|
669
744
|
}
|
|
670
745
|
},
|
|
746
|
+
"/v1/identity/operator/clients/{client_id}/organizations/{org_id}/users/{user_id}:subject": {
|
|
747
|
+
"parameters": [
|
|
748
|
+
{
|
|
749
|
+
"$ref": "#/components/parameters/ClientIdPath"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"$ref": "#/components/parameters/OrgIdPath"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"$ref": "#/components/parameters/UserIdPath"
|
|
756
|
+
}
|
|
757
|
+
],
|
|
758
|
+
"get": {
|
|
759
|
+
"operationId": "getUserSubject",
|
|
760
|
+
"x-epilot-permissions": [
|
|
761
|
+
{
|
|
762
|
+
"access": "internal"
|
|
763
|
+
}
|
|
764
|
+
],
|
|
765
|
+
"summary": "getUserSubject",
|
|
766
|
+
"description": "The pairwise `sub` this client receives for one epilot user, so the partner can bind the person on its\nside **before** the first sign-in (for example a Babelforce agent provisioned through SCIM with\n`externalId = sub`).\n\nDerived exactly as the token endpoint derives it, never stored:\n`sub = key_version + \".\" + base64url(HMAC-SHA256(key[key_version], sector + \"\\n\" + user_id))`, where the\nsector is the client's `sector_identifier_uri` host or, without one, the host of its first redirect URI.\nThe same inputs always give the same value; it changes only when the client's sector or the active key\nversion changes.\n\nRequires an **active** client (a draft client's sector may still change and would invalidate every binding),\nan organization enablement that is not revoked, and the user being an active member of that organization\n(checked live against user-api). Every read is written to the audit trail: the value is a partner-facing\nidentifier.\n",
|
|
767
|
+
"tags": [
|
|
768
|
+
"Operator Organizations"
|
|
769
|
+
],
|
|
770
|
+
"responses": {
|
|
771
|
+
"200": {
|
|
772
|
+
"description": "The subject this client sees for the user",
|
|
773
|
+
"content": {
|
|
774
|
+
"application/json": {
|
|
775
|
+
"schema": {
|
|
776
|
+
"$ref": "#/components/schemas/UserSubject"
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
},
|
|
781
|
+
"400": {
|
|
782
|
+
"description": "user_id is not the canonical epilot user id (the spelling 360 tokens carry)",
|
|
783
|
+
"content": {
|
|
784
|
+
"application/json": {
|
|
785
|
+
"schema": {
|
|
786
|
+
"$ref": "#/components/schemas/Error"
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
"401": {
|
|
792
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
793
|
+
},
|
|
794
|
+
"403": {
|
|
795
|
+
"$ref": "#/components/responses/Forbidden"
|
|
796
|
+
},
|
|
797
|
+
"404": {
|
|
798
|
+
"description": "Client, enablement or active organization membership not found",
|
|
799
|
+
"content": {
|
|
800
|
+
"application/json": {
|
|
801
|
+
"schema": {
|
|
802
|
+
"$ref": "#/components/schemas/Error"
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
},
|
|
807
|
+
"409": {
|
|
808
|
+
"description": "Client not active, or the organization's enablement is revoked",
|
|
809
|
+
"content": {
|
|
810
|
+
"application/json": {
|
|
811
|
+
"schema": {
|
|
812
|
+
"$ref": "#/components/schemas/Error"
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
},
|
|
671
820
|
"/v1/identity/session": {
|
|
672
821
|
"get": {
|
|
673
822
|
"operationId": "createIdentitySession",
|
|
823
|
+
"x-epilot-permissions": [
|
|
824
|
+
{
|
|
825
|
+
"access": "self"
|
|
826
|
+
}
|
|
827
|
+
],
|
|
674
828
|
"summary": "createIdentitySession",
|
|
675
|
-
"description": "Called by the epilot portal through the portal-host proxy after every persisted 360 session.\nValidates the 360 bearer token itself and mirrors it into the `identity_session` cookie\n(`HttpOnly; Secure; Path=/v1/identity`) whose lifetime
|
|
829
|
+
"description": "Called by the epilot portal through the portal-host proxy after every persisted 360 session.\nValidates the 360 bearer token itself and mirrors it into the `identity_session` cookie\n(`HttpOnly; Secure; Path=/v1/identity`) whose lifetime is the remaining token lifetime, capped at 15 minutes\n(the portal mirrors the credential again on every token refresh and just before a partner sign-in).\nThe cookie is what proves the live 360 session during `completeInteraction`.\n",
|
|
676
830
|
"tags": [
|
|
677
831
|
"Session"
|
|
678
832
|
],
|
|
@@ -686,7 +840,7 @@
|
|
|
686
840
|
"description": "Session mirrored into the cookie",
|
|
687
841
|
"headers": {
|
|
688
842
|
"Set-Cookie": {
|
|
689
|
-
"description": "`identity_session=<360 ID token>; HttpOnly; Secure; SameSite=None; Path=/v1/identity; Max-Age=<remaining lifetime>`",
|
|
843
|
+
"description": "`identity_session=<360 ID token>; HttpOnly; Secure; SameSite=None; Path=/v1/identity; Max-Age=<remaining lifetime, at most 900>`",
|
|
690
844
|
"schema": {
|
|
691
845
|
"type": "string"
|
|
692
846
|
}
|
|
@@ -845,6 +999,14 @@
|
|
|
845
999
|
"$ref": "#/components/schemas/OrgId"
|
|
846
1000
|
}
|
|
847
1001
|
},
|
|
1002
|
+
"UserIdPath": {
|
|
1003
|
+
"name": "user_id",
|
|
1004
|
+
"in": "path",
|
|
1005
|
+
"required": true,
|
|
1006
|
+
"schema": {
|
|
1007
|
+
"$ref": "#/components/schemas/UserId"
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
848
1010
|
"PartnerKeyQuery": {
|
|
849
1011
|
"name": "partner_key",
|
|
850
1012
|
"in": "query",
|
|
@@ -985,6 +1147,14 @@
|
|
|
985
1147
|
"maxLength": 64,
|
|
986
1148
|
"pattern": "^[A-Za-z0-9_-]+$"
|
|
987
1149
|
},
|
|
1150
|
+
"UserId": {
|
|
1151
|
+
"type": "string",
|
|
1152
|
+
"description": "epilot user id (`custom:ivy_user_id` in a 360 token). A user belongs to exactly one organization.",
|
|
1153
|
+
"example": "100321",
|
|
1154
|
+
"minLength": 1,
|
|
1155
|
+
"maxLength": 64,
|
|
1156
|
+
"pattern": "^[A-Za-z0-9_-]+$"
|
|
1157
|
+
},
|
|
988
1158
|
"Environment": {
|
|
989
1159
|
"type": "string",
|
|
990
1160
|
"description": "Partner-side environment this client belongs to",
|
|
@@ -1246,10 +1416,11 @@
|
|
|
1246
1416
|
},
|
|
1247
1417
|
"created_by": {
|
|
1248
1418
|
"type": "string",
|
|
1249
|
-
"description": "
|
|
1419
|
+
"description": "Email of the admin-portal operator who created the client (their Cognito identity when the pool holds no email)"
|
|
1250
1420
|
},
|
|
1251
1421
|
"updated_by": {
|
|
1252
|
-
"type": "string"
|
|
1422
|
+
"type": "string",
|
|
1423
|
+
"description": "Email of the admin-portal operator who last changed the client"
|
|
1253
1424
|
}
|
|
1254
1425
|
}
|
|
1255
1426
|
},
|
|
@@ -1387,7 +1558,8 @@
|
|
|
1387
1558
|
}
|
|
1388
1559
|
},
|
|
1389
1560
|
"recorded_by": {
|
|
1390
|
-
"type": "string"
|
|
1561
|
+
"type": "string",
|
|
1562
|
+
"description": "Email of the admin-portal operator who recorded this policy version"
|
|
1391
1563
|
},
|
|
1392
1564
|
"recorded_at": {
|
|
1393
1565
|
"type": "string",
|
|
@@ -1397,23 +1569,6 @@
|
|
|
1397
1569
|
}
|
|
1398
1570
|
]
|
|
1399
1571
|
},
|
|
1400
|
-
"PartnerAccount": {
|
|
1401
|
-
"type": "object",
|
|
1402
|
-
"description": "Optional audit reference to the partner tenant this organization maps to. The partner enforces the mapping.",
|
|
1403
|
-
"required": [
|
|
1404
|
-
"id"
|
|
1405
|
-
],
|
|
1406
|
-
"properties": {
|
|
1407
|
-
"id": {
|
|
1408
|
-
"type": "string",
|
|
1409
|
-
"maxLength": 256
|
|
1410
|
-
},
|
|
1411
|
-
"label": {
|
|
1412
|
-
"type": "string",
|
|
1413
|
-
"maxLength": 256
|
|
1414
|
-
}
|
|
1415
|
-
}
|
|
1416
|
-
},
|
|
1417
1572
|
"OrgEnablementStatus": {
|
|
1418
1573
|
"type": "string",
|
|
1419
1574
|
"enum": [
|
|
@@ -1434,9 +1589,6 @@
|
|
|
1434
1589
|
},
|
|
1435
1590
|
"authorization_policy": {
|
|
1436
1591
|
"$ref": "#/components/schemas/AuthorizationPolicyInput"
|
|
1437
|
-
},
|
|
1438
|
-
"partner_account": {
|
|
1439
|
-
"$ref": "#/components/schemas/PartnerAccount"
|
|
1440
1592
|
}
|
|
1441
1593
|
}
|
|
1442
1594
|
},
|
|
@@ -1454,9 +1606,6 @@
|
|
|
1454
1606
|
},
|
|
1455
1607
|
"authorization_policy": {
|
|
1456
1608
|
"$ref": "#/components/schemas/AuthorizationPolicyInput"
|
|
1457
|
-
},
|
|
1458
|
-
"partner_account": {
|
|
1459
|
-
"$ref": "#/components/schemas/PartnerAccount"
|
|
1460
1609
|
}
|
|
1461
1610
|
}
|
|
1462
1611
|
},
|
|
@@ -1486,9 +1635,6 @@
|
|
|
1486
1635
|
"authorization_policy": {
|
|
1487
1636
|
"$ref": "#/components/schemas/AuthorizationPolicy"
|
|
1488
1637
|
},
|
|
1489
|
-
"partner_account": {
|
|
1490
|
-
"$ref": "#/components/schemas/PartnerAccount"
|
|
1491
|
-
},
|
|
1492
1638
|
"created_at": {
|
|
1493
1639
|
"type": "string",
|
|
1494
1640
|
"format": "date-time"
|
|
@@ -1498,10 +1644,12 @@
|
|
|
1498
1644
|
"format": "date-time"
|
|
1499
1645
|
},
|
|
1500
1646
|
"created_by": {
|
|
1501
|
-
"type": "string"
|
|
1647
|
+
"type": "string",
|
|
1648
|
+
"description": "Email of the admin-portal operator who enabled the organization"
|
|
1502
1649
|
},
|
|
1503
1650
|
"updated_by": {
|
|
1504
|
-
"type": "string"
|
|
1651
|
+
"type": "string",
|
|
1652
|
+
"description": "Email of the admin-portal operator who last changed the enablement"
|
|
1505
1653
|
}
|
|
1506
1654
|
}
|
|
1507
1655
|
},
|
|
@@ -1537,7 +1685,44 @@
|
|
|
1537
1685
|
"expires_at": {
|
|
1538
1686
|
"type": "string",
|
|
1539
1687
|
"format": "date-time",
|
|
1540
|
-
"description": "When the mirrored credential,
|
|
1688
|
+
"description": "When the cookie expires (the mirrored credential's expiry, capped at 15 minutes)"
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
"UserSubject": {
|
|
1693
|
+
"type": "object",
|
|
1694
|
+
"required": [
|
|
1695
|
+
"client_id",
|
|
1696
|
+
"org_id",
|
|
1697
|
+
"user_id",
|
|
1698
|
+
"sub",
|
|
1699
|
+
"key_version",
|
|
1700
|
+
"sector"
|
|
1701
|
+
],
|
|
1702
|
+
"properties": {
|
|
1703
|
+
"client_id": {
|
|
1704
|
+
"$ref": "#/components/schemas/PartnerClientId"
|
|
1705
|
+
},
|
|
1706
|
+
"org_id": {
|
|
1707
|
+
"$ref": "#/components/schemas/OrgId"
|
|
1708
|
+
},
|
|
1709
|
+
"user_id": {
|
|
1710
|
+
"$ref": "#/components/schemas/UserId"
|
|
1711
|
+
},
|
|
1712
|
+
"sub": {
|
|
1713
|
+
"type": "string",
|
|
1714
|
+
"description": "The pairwise subject this client receives for the user, `<key_version>.<base64url digest>`",
|
|
1715
|
+
"example": "v1.dGhpcy1pcy1hLWR1bW15LXN1YmplY3QtdmFsdWUtMDAx"
|
|
1716
|
+
},
|
|
1717
|
+
"key_version": {
|
|
1718
|
+
"type": "string",
|
|
1719
|
+
"description": "Active pairwise key version the value was derived with",
|
|
1720
|
+
"example": "v1"
|
|
1721
|
+
},
|
|
1722
|
+
"sector": {
|
|
1723
|
+
"type": "string",
|
|
1724
|
+
"description": "Pairwise sector the value was derived for (sector_identifier_uri host, else the first redirect host)",
|
|
1725
|
+
"example": "portal.epilot.cloud"
|
|
1541
1726
|
}
|
|
1542
1727
|
}
|
|
1543
1728
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"s":"","o":[["getValidationRules","get","/v1/validation-rules"],["createValidationRule","post","/v1/validation-rules",null,1],["getValidationRuleById","get","/v1/validation-rules/{ruleId}",[["ruleId","p",true]]],["updateValidationRule","patch","/v1/validation-rules/{ruleId}",[["ruleId","p",true]],1],["deleteValidationRule","delete","/v1/validation-rules/{ruleId}",[["ruleId","p",true]]],["addUsedByReference","post","/v1/validation-rules/{ruleId}/used-by",[["ruleId","p",true]],1],["removeUsedByReference","delete","/v1/validation-rules/{ruleId}/used-by",[["ruleId","p",true]],1]],"v":"3.0.3"}
|
|
1
|
+
{"s":"https://validation-rules.sls.epilot.io","o":[["getValidationRules","get","/v1/validation-rules"],["createValidationRule","post","/v1/validation-rules",null,1],["getValidationRuleById","get","/v1/validation-rules/{ruleId}",[["ruleId","p",true]]],["updateValidationRule","patch","/v1/validation-rules/{ruleId}",[["ruleId","p",true]],1],["deleteValidationRule","delete","/v1/validation-rules/{ruleId}",[["ruleId","p",true]]],["addUsedByReference","post","/v1/validation-rules/{ruleId}/used-by",[["ruleId","p",true]],1],["removeUsedByReference","delete","/v1/validation-rules/{ruleId}/used-by",[["ruleId","p",true]],1]],"v":"3.0.3"}
|
|
@@ -2115,6 +2115,9 @@
|
|
|
2115
2115
|
{
|
|
2116
2116
|
"$ref": "#/components/schemas/ExternalValue"
|
|
2117
2117
|
},
|
|
2118
|
+
{
|
|
2119
|
+
"$ref": "#/components/schemas/ParameterValue"
|
|
2120
|
+
},
|
|
2118
2121
|
{
|
|
2119
2122
|
"$ref": "#/components/schemas/RangeValue"
|
|
2120
2123
|
},
|
|
@@ -2124,7 +2127,7 @@
|
|
|
2124
2127
|
]
|
|
2125
2128
|
},
|
|
2126
2129
|
"ScalarValue": {
|
|
2127
|
-
"description": "A single comparison value - static, resolved from context, a relative date, an organisation environment variable,
|
|
2130
|
+
"description": "A single comparison value - static, resolved from context, a relative date, an organisation environment variable, an external value, or a parameter the consuming surface supplies.",
|
|
2128
2131
|
"oneOf": [
|
|
2129
2132
|
{
|
|
2130
2133
|
"$ref": "#/components/schemas/StaticValue"
|
|
@@ -2140,6 +2143,9 @@
|
|
|
2140
2143
|
},
|
|
2141
2144
|
{
|
|
2142
2145
|
"$ref": "#/components/schemas/ExternalValue"
|
|
2146
|
+
},
|
|
2147
|
+
{
|
|
2148
|
+
"$ref": "#/components/schemas/ParameterValue"
|
|
2143
2149
|
}
|
|
2144
2150
|
]
|
|
2145
2151
|
},
|
|
@@ -2154,6 +2160,9 @@
|
|
|
2154
2160
|
},
|
|
2155
2161
|
{
|
|
2156
2162
|
"$ref": "#/components/schemas/ExternalValue"
|
|
2163
|
+
},
|
|
2164
|
+
{
|
|
2165
|
+
"$ref": "#/components/schemas/ParameterValue"
|
|
2157
2166
|
}
|
|
2158
2167
|
]
|
|
2159
2168
|
},
|
|
@@ -2224,6 +2233,31 @@
|
|
|
2224
2233
|
}
|
|
2225
2234
|
}
|
|
2226
2235
|
},
|
|
2236
|
+
"ParameterValue": {
|
|
2237
|
+
"type": "object",
|
|
2238
|
+
"description": "A comparison value supplied by the surface that evaluates the rule, identified by a name\nthe rule chooses (e.g. `start_date`). The rule stores the name only. The consuming surface\nbinds the name to a source of its own - a journey binds it to the value of another block -\nand resolves it at evaluation time, so the rule never references the surface's objects\nand stays reusable across journeys and forms.\n\nThe kind a parameter is compared as follows from the field it sits in: `number`, `text`\nor `date` for comparison values, range bounds, adjustment amounts and relative date\noffsets, or a number, string or boolean as an `applies_when` value. One name is compared\nas one kind throughout a rule; a rule using a name as two kinds is rejected at write time.\nA parameter the surface leaves unbound or empty leaves the comparison unresolved.\n",
|
|
2239
|
+
"required": [
|
|
2240
|
+
"source",
|
|
2241
|
+
"name"
|
|
2242
|
+
],
|
|
2243
|
+
"additionalProperties": false,
|
|
2244
|
+
"properties": {
|
|
2245
|
+
"source": {
|
|
2246
|
+
"type": "string",
|
|
2247
|
+
"enum": [
|
|
2248
|
+
"parameter"
|
|
2249
|
+
]
|
|
2250
|
+
},
|
|
2251
|
+
"name": {
|
|
2252
|
+
"type": "string",
|
|
2253
|
+
"pattern": "^[a-z][a-z0-9_]{0,63}$",
|
|
2254
|
+
"description": "Parameter name, e.g. `start_date`."
|
|
2255
|
+
},
|
|
2256
|
+
"adjust": {
|
|
2257
|
+
"$ref": "#/components/schemas/ValueAdjustment"
|
|
2258
|
+
}
|
|
2259
|
+
}
|
|
2260
|
+
},
|
|
2227
2261
|
"StaticValue": {
|
|
2228
2262
|
"type": "object",
|
|
2229
2263
|
"description": "A fixed comparison value.",
|
|
@@ -2300,7 +2334,7 @@
|
|
|
2300
2334
|
]
|
|
2301
2335
|
},
|
|
2302
2336
|
"value": {
|
|
2303
|
-
"description": "The adjustment amount - a fixed non-negative number, or a reference resolving to a\nnumber at evaluation time. Accepted reference sources: `context` (e.g. a per-contract\npercentage limit)
|
|
2337
|
+
"description": "The adjustment amount - a fixed non-negative number, or a reference resolving to a\nnumber at evaluation time. Accepted reference sources: `context` (e.g. a per-contract\npercentage limit), `environment` (a `Number` organisation environment variable) and\n`parameter` (a number the consuming surface supplies). Any other source is rejected at\nwrite time, and the reference must not carry its own `adjust`.\n",
|
|
2304
2338
|
"oneOf": [
|
|
2305
2339
|
{
|
|
2306
2340
|
"type": "number",
|
|
@@ -2345,7 +2379,7 @@
|
|
|
2345
2379
|
]
|
|
2346
2380
|
},
|
|
2347
2381
|
"offset": {
|
|
2348
|
-
"description": "Offset from the anchor. Negative values are in the past, positive in the future, 0 is the anchor itself.\nEither a fixed whole number, or a reference resolved at evaluation time. Accepted reference
|
|
2382
|
+
"description": "Offset from the anchor. Negative values are in the past, positive in the future, 0 is the anchor itself.\nEither a fixed whole number, or a reference resolved at evaluation time. Accepted reference sources:\n`environment` (a `Number` organisation environment variable) and `parameter` (a number the consuming\nsurface supplies). Any other source is rejected at write time, and the reference must not carry an\n`adjust`. If the referenced value is missing or is not a whole number within ±36500, the comparison\nis unresolved.\n",
|
|
2349
2383
|
"oneOf": [
|
|
2350
2384
|
{
|
|
2351
2385
|
"type": "integer",
|
|
@@ -2366,11 +2400,19 @@
|
|
|
2366
2400
|
]
|
|
2367
2401
|
},
|
|
2368
2402
|
"anchor": {
|
|
2369
|
-
"
|
|
2370
|
-
"
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2403
|
+
"description": "The date the offset is applied to. `today` (the default) is the evaluation moment. A\nreference resolves to a date at evaluation time - for example a `parameter` bound to\nanother field's date, so \"at least one day after the start date\" is `offset: 1`,\n`unit: days` on that anchor. Accepted reference sources: `context`, `environment` (a\n`Text` variable holding an ISO 8601 date), `external` (a `date` result) and `parameter`.\nThe reference must not carry an `adjust`; if it does not resolve to a date, the\ncomparison is unresolved.\n",
|
|
2404
|
+
"default": "today",
|
|
2405
|
+
"oneOf": [
|
|
2406
|
+
{
|
|
2407
|
+
"type": "string",
|
|
2408
|
+
"enum": [
|
|
2409
|
+
"today"
|
|
2410
|
+
]
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
"$ref": "#/components/schemas/ValueReference"
|
|
2414
|
+
}
|
|
2415
|
+
]
|
|
2374
2416
|
}
|
|
2375
2417
|
}
|
|
2376
2418
|
},
|
|
@@ -2616,7 +2658,7 @@
|
|
|
2616
2658
|
"description": "Comparison applied to the resolved context value. `isEmpty` / `isNotEmpty`\ntake no `value`; all other operators require one.\n"
|
|
2617
2659
|
},
|
|
2618
2660
|
"value": {
|
|
2619
|
-
"description": "Comparison value for binary operators: a static number, string or boolean, or a\nreference resolved at evaluation time. Accepted reference
|
|
2661
|
+
"description": "Comparison value for binary operators: a static number, string or boolean, or a\nreference resolved at evaluation time. Accepted reference sources: `environment` (a\n`Number`, `Text` or `Boolean` organisation environment variable), so a precondition\ncan act as a per-organisation switch or threshold, and `parameter` (a value the\nconsuming surface supplies, e.g. another field's answer). Any other source is rejected\nat write time, and the reference must not carry an `adjust`.\n",
|
|
2620
2662
|
"oneOf": [
|
|
2621
2663
|
{
|
|
2622
2664
|
"type": "number"
|
|
@@ -2652,5 +2694,9 @@
|
|
|
2652
2694
|
}
|
|
2653
2695
|
}
|
|
2654
2696
|
},
|
|
2655
|
-
"servers": [
|
|
2697
|
+
"servers": [
|
|
2698
|
+
{
|
|
2699
|
+
"url": "https://validation-rules.sls.epilot.io"
|
|
2700
|
+
}
|
|
2701
|
+
]
|
|
2656
2702
|
}
|
|
@@ -6,7 +6,7 @@ var _chunkZMBA3WV4cjs = require('../chunk-ZMBA3WV4.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkM6RNRDA3cjs = require('../chunk-M6RNRDA3.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/access-token.ts
|
|
@@ -14,7 +14,7 @@ var _definition = null;
|
|
|
14
14
|
var loadDefinition = () => {
|
|
15
15
|
if (!_definition) {
|
|
16
16
|
const mod = _chunkZMBA3WV4cjs.require_access_token_runtime.call(void 0, );
|
|
17
|
-
_definition =
|
|
17
|
+
_definition = _chunkM6RNRDA3cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
18
18
|
}
|
|
19
19
|
return _definition;
|
|
20
20
|
};
|
|
@@ -22,13 +22,13 @@ var _instance = null;
|
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunkM6RNRDA3cjs.createApiClient.call(void 0, { definition: def, apiName: "accessToken" });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunkM6RNRDA3cjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunkM6RNRDA3cjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "accessToken" }),
|
|
32
32
|
apiName: "accessToken"
|
|
33
33
|
});
|
|
34
34
|
var getClient = _handle.getClient;
|
|
@@ -39,4 +39,4 @@ var accessToken = _handle;
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
exports.accessToken = accessToken; exports.authorize =
|
|
42
|
+
exports.accessToken = accessToken; exports.authorize = _chunkM6RNRDA3cjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
|