@epilot/sdk 2.12.1 → 2.13.0
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/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +164 -16
- package/definitions/focus-pocus-runtime.json +1 -0
- package/definitions/focus-pocus.json +757 -0
- package/definitions/user-runtime.json +1 -1
- package/definitions/user.json +146 -0
- package/definitions/workflow-definition-runtime.json +1 -1
- package/definitions/workflow-definition.json +281 -47
- package/definitions/workflow.json +12 -0
- 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/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 +8 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +2 -2
- 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/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/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/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 +8 -8
- package/dist/apis/user.d.cts +2 -2
- package/dist/apis/user.d.ts +2 -2
- package/dist/apis/user.js +2 -2
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +8 -8
- package/dist/apis/workflow-definition.d.cts +2 -2
- package/dist/apis/workflow-definition.d.ts +2 -2
- package/dist/apis/workflow-definition.js +2 -2
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.d.cts +2 -2
- package/dist/apis/workflow.d.ts +2 -2
- package/dist/apis/workflow.js +1 -1
- package/dist/chunk-6HJ2Y7DZ.js +14 -0
- package/dist/chunk-BFMY2X2J.cjs +14 -0
- package/dist/{chunk-AJDY36Y6.cjs → chunk-C35OPQHY.cjs} +7 -7
- package/dist/{chunk-NFIYEMMM.js → chunk-N254AABZ.js} +1 -1
- package/dist/chunk-OSPTVXY4.js +14 -0
- package/dist/chunk-QNSMYDKG.cjs +14 -0
- package/dist/{chunk-L3UZLJPQ.js → chunk-SQQJND25.js} +7 -7
- package/dist/{chunk-OWXEZ56F.cjs → chunk-X2LMHC5R.cjs} +1 -1
- package/dist/customer-portal-6I3G44I4.cjs +7 -0
- package/dist/customer-portal-PTVGKDUH.js +7 -0
- package/dist/{customer-portal-runtime-VRGCSOVU.cjs → customer-portal-runtime-4ACQGDNY.cjs} +2 -2
- package/dist/{customer-portal-runtime-NRIQG6IO.js → customer-portal-runtime-E4RI7NYM.js} +1 -1
- package/dist/{customer-portal.d-fWVl8_mE.d.cts → customer-portal.d-Bpc-wk9K.d.cts} +140 -12
- package/dist/{customer-portal.d-fWVl8_mE.d.ts → customer-portal.d-Bpc-wk9K.d.ts} +140 -12
- package/dist/index.cjs +14 -14
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/js-yaml-DLCVPJ7G.js +0 -0
- package/dist/user-5KLWGPQ2.js +7 -0
- package/dist/user-GZLPNGIW.cjs +7 -0
- package/dist/user-runtime-6TSL4RZN.cjs +5 -0
- package/dist/{user-runtime-6ICV2Y73.js → user-runtime-UPFER72E.js} +1 -1
- package/dist/{user.d-L-C7_K84.d.cts → user.d-6bp0zEwE.d.cts} +131 -0
- package/dist/{user.d-L-C7_K84.d.ts → user.d-6bp0zEwE.d.ts} +131 -0
- package/dist/workflow-JQT3F5NJ.cjs +7 -0
- package/dist/workflow-Q6FAE5OL.js +7 -0
- package/dist/workflow-definition-5P3PDJKU.cjs +7 -0
- package/dist/workflow-definition-XSSOSEGF.js +7 -0
- package/dist/{workflow-definition-runtime-GACBV4WM.cjs → workflow-definition-runtime-2HQS3RPK.cjs} +2 -2
- package/dist/{workflow-definition-runtime-OVXRSE34.js → workflow-definition-runtime-JUPATIKU.js} +1 -1
- package/dist/{workflow-definition.d-DOeb0KVV.d.cts → workflow-definition.d-CweGhhBU.d.cts} +416 -82
- package/dist/{workflow-definition.d-DOeb0KVV.d.ts → workflow-definition.d-CweGhhBU.d.ts} +416 -82
- package/dist/{workflow.d-eFv0ecBi.d.cts → workflow.d-5cyNJgVQ.d.cts} +28 -0
- package/dist/{workflow.d-eFv0ecBi.d.ts → workflow.d-5cyNJgVQ.d.ts} +28 -0
- package/docs/customer-portal.md +86 -21
- package/docs/user.md +174 -11
- package/docs/workflow-definition.md +179 -43
- package/docs/workflow.md +16 -7
- package/package.json +12 -11
- package/dist/chunk-43GJY2EB.js +0 -14
- package/dist/chunk-4H2KIKGL.cjs +0 -14
- package/dist/chunk-COASF7ZR.js +0 -14
- package/dist/chunk-CYS6QBW6.cjs +0 -14
- package/dist/customer-portal-F45XWLIO.cjs +0 -7
- package/dist/customer-portal-MYNJZ4OW.js +0 -7
- package/dist/user-3SLAEEVD.cjs +0 -7
- package/dist/user-PRUYBXQV.js +0 -7
- package/dist/user-runtime-Y3227ETX.cjs +0 -5
- package/dist/workflow-7OU2YEEI.cjs +0 -7
- package/dist/workflow-IVKCWS44.js +0 -7
- package/dist/workflow-definition-2VF7S23G.js +0 -7
- package/dist/workflow-definition-U6YXD42W.cjs +0 -7
|
@@ -140,6 +140,14 @@ declare namespace Components {
|
|
|
140
140
|
* Server-set expiry for the pending email change verification link (ISO 8601). Read-only.
|
|
141
141
|
*/
|
|
142
142
|
draft_email_expires_at?: string | null; // date-time
|
|
143
|
+
/**
|
|
144
|
+
* Internal: sha256 hash of the active password-reset token. Server-set, never returned in responses.
|
|
145
|
+
*/
|
|
146
|
+
password_reset_token_hash?: string | null;
|
|
147
|
+
/**
|
|
148
|
+
* Internal: expiry for the active password-reset token (ISO 8601). Server-set, never returned in responses.
|
|
149
|
+
*/
|
|
150
|
+
password_reset_token_expires_at?: string | null; // date-time
|
|
143
151
|
/**
|
|
144
152
|
* User's department
|
|
145
153
|
* example:
|
|
@@ -265,6 +273,19 @@ declare namespace Components {
|
|
|
265
273
|
email_notification_setting?: {
|
|
266
274
|
[name: string]: any;
|
|
267
275
|
};
|
|
276
|
+
/**
|
|
277
|
+
* Per-notification-type in-app delivery preferences (notification type key -> enabled). Written by the my-account notification settings UI and honored by svc-notification-api at delivery time. Absent or partial keys fall back to each notification type's configured default. Mirrors email_notification_setting for the in-app channel.
|
|
278
|
+
* example:
|
|
279
|
+
* {
|
|
280
|
+
* "integration_critical_error": true,
|
|
281
|
+
* "integration_error_threshold": true,
|
|
282
|
+
* "assigned_opportunity": true,
|
|
283
|
+
* "assigned_task": true
|
|
284
|
+
* }
|
|
285
|
+
*/
|
|
286
|
+
in_app_notification_setting?: {
|
|
287
|
+
[name: string]: any;
|
|
288
|
+
};
|
|
268
289
|
properties?: {
|
|
269
290
|
/**
|
|
270
291
|
* example:
|
|
@@ -277,6 +298,14 @@ declare namespace Components {
|
|
|
277
298
|
*/
|
|
278
299
|
value: string;
|
|
279
300
|
}[];
|
|
301
|
+
/**
|
|
302
|
+
* User tags/labels assigned for classification (e.g. label slugs)
|
|
303
|
+
* example:
|
|
304
|
+
* [
|
|
305
|
+
* "non-billable"
|
|
306
|
+
* ]
|
|
307
|
+
*/
|
|
308
|
+
tags?: string[] | null;
|
|
280
309
|
/**
|
|
281
310
|
* The index of the current assignee in the group's user list.
|
|
282
311
|
* example:
|
|
@@ -970,6 +999,14 @@ declare namespace Components {
|
|
|
970
999
|
* Server-set expiry for the pending email change verification link (ISO 8601). Read-only.
|
|
971
1000
|
*/
|
|
972
1001
|
draft_email_expires_at?: string | null; // date-time
|
|
1002
|
+
/**
|
|
1003
|
+
* Internal: sha256 hash of the active password-reset token. Server-set, never returned in responses.
|
|
1004
|
+
*/
|
|
1005
|
+
password_reset_token_hash?: string | null;
|
|
1006
|
+
/**
|
|
1007
|
+
* Internal: expiry for the active password-reset token (ISO 8601). Server-set, never returned in responses.
|
|
1008
|
+
*/
|
|
1009
|
+
password_reset_token_expires_at?: string | null; // date-time
|
|
973
1010
|
/**
|
|
974
1011
|
* User's department
|
|
975
1012
|
* example:
|
|
@@ -1095,6 +1132,19 @@ declare namespace Components {
|
|
|
1095
1132
|
email_notification_setting?: {
|
|
1096
1133
|
[name: string]: any;
|
|
1097
1134
|
};
|
|
1135
|
+
/**
|
|
1136
|
+
* Per-notification-type in-app delivery preferences (notification type key -> enabled). Written by the my-account notification settings UI and honored by svc-notification-api at delivery time. Absent or partial keys fall back to each notification type's configured default. Mirrors email_notification_setting for the in-app channel.
|
|
1137
|
+
* example:
|
|
1138
|
+
* {
|
|
1139
|
+
* "integration_critical_error": true,
|
|
1140
|
+
* "integration_error_threshold": true,
|
|
1141
|
+
* "assigned_opportunity": true,
|
|
1142
|
+
* "assigned_task": true
|
|
1143
|
+
* }
|
|
1144
|
+
*/
|
|
1145
|
+
in_app_notification_setting?: {
|
|
1146
|
+
[name: string]: any;
|
|
1147
|
+
};
|
|
1098
1148
|
properties?: {
|
|
1099
1149
|
/**
|
|
1100
1150
|
* example:
|
|
@@ -1107,6 +1157,14 @@ declare namespace Components {
|
|
|
1107
1157
|
*/
|
|
1108
1158
|
value: string;
|
|
1109
1159
|
}[];
|
|
1160
|
+
/**
|
|
1161
|
+
* User tags/labels assigned for classification (e.g. label slugs)
|
|
1162
|
+
* example:
|
|
1163
|
+
* [
|
|
1164
|
+
* "non-billable"
|
|
1165
|
+
* ]
|
|
1166
|
+
*/
|
|
1167
|
+
tags?: string[] | null;
|
|
1110
1168
|
}
|
|
1111
1169
|
export interface UserVerificationPayload {
|
|
1112
1170
|
/**
|
|
@@ -1603,6 +1661,53 @@ declare namespace Paths {
|
|
|
1603
1661
|
}
|
|
1604
1662
|
}
|
|
1605
1663
|
}
|
|
1664
|
+
namespace ResetPassword {
|
|
1665
|
+
export interface RequestBody {
|
|
1666
|
+
/**
|
|
1667
|
+
* Email address of the account
|
|
1668
|
+
* example:
|
|
1669
|
+
* test@example.com
|
|
1670
|
+
*/
|
|
1671
|
+
email: string;
|
|
1672
|
+
/**
|
|
1673
|
+
* Reset token from the password reset email
|
|
1674
|
+
*/
|
|
1675
|
+
token: string;
|
|
1676
|
+
/**
|
|
1677
|
+
* The new password
|
|
1678
|
+
*/
|
|
1679
|
+
password: string;
|
|
1680
|
+
}
|
|
1681
|
+
namespace Responses {
|
|
1682
|
+
export interface $200 {
|
|
1683
|
+
/**
|
|
1684
|
+
* example:
|
|
1685
|
+
* true
|
|
1686
|
+
*/
|
|
1687
|
+
success: boolean;
|
|
1688
|
+
}
|
|
1689
|
+
export interface $400 {
|
|
1690
|
+
/**
|
|
1691
|
+
* Discriminator distinguishing token errors from policy errors
|
|
1692
|
+
*/
|
|
1693
|
+
error: "INVALID_RESET_LINK" | "PASSWORD_POLICY";
|
|
1694
|
+
/**
|
|
1695
|
+
* example:
|
|
1696
|
+
* Password does not meet the requirements
|
|
1697
|
+
*/
|
|
1698
|
+
message: string;
|
|
1699
|
+
/**
|
|
1700
|
+
* Itemized password-policy violation codes (only present when error is PASSWORD_POLICY)
|
|
1701
|
+
* example:
|
|
1702
|
+
* [
|
|
1703
|
+
* "too_short",
|
|
1704
|
+
* "missing_uppercase"
|
|
1705
|
+
* ]
|
|
1706
|
+
*/
|
|
1707
|
+
violations?: ("too_short" | "missing_lowercase" | "missing_uppercase" | "missing_number" | "missing_symbol")[];
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1606
1711
|
namespace ResolveDiscoverableCredential {
|
|
1607
1712
|
export interface RequestBody {
|
|
1608
1713
|
/**
|
|
@@ -1983,6 +2088,18 @@ interface OperationMethods {
|
|
|
1983
2088
|
data?: Paths.RequestPasswordReset.RequestBody,
|
|
1984
2089
|
config?: AxiosRequestConfig
|
|
1985
2090
|
): OperationResponse<Paths.RequestPasswordReset.Responses.$200>
|
|
2091
|
+
/**
|
|
2092
|
+
* resetPassword - resetPassword
|
|
2093
|
+
*
|
|
2094
|
+
* Set a new password using a reset token from the password reset email.
|
|
2095
|
+
* The token is single-use and time-limited.
|
|
2096
|
+
*
|
|
2097
|
+
*/
|
|
2098
|
+
'resetPassword'(
|
|
2099
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2100
|
+
data?: Paths.ResetPassword.RequestBody,
|
|
2101
|
+
config?: AxiosRequestConfig
|
|
2102
|
+
): OperationResponse<Paths.ResetPassword.Responses.$200>
|
|
1986
2103
|
/**
|
|
1987
2104
|
* checkInviteToken - checkInviteToken
|
|
1988
2105
|
*
|
|
@@ -2441,6 +2558,20 @@ interface PathsDictionary {
|
|
|
2441
2558
|
config?: AxiosRequestConfig
|
|
2442
2559
|
): OperationResponse<Paths.RequestPasswordReset.Responses.$200>
|
|
2443
2560
|
}
|
|
2561
|
+
['/v2/users/public/resetPassword']: {
|
|
2562
|
+
/**
|
|
2563
|
+
* resetPassword - resetPassword
|
|
2564
|
+
*
|
|
2565
|
+
* Set a new password using a reset token from the password reset email.
|
|
2566
|
+
* The token is single-use and time-limited.
|
|
2567
|
+
*
|
|
2568
|
+
*/
|
|
2569
|
+
'post'(
|
|
2570
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2571
|
+
data?: Paths.ResetPassword.RequestBody,
|
|
2572
|
+
config?: AxiosRequestConfig
|
|
2573
|
+
): OperationResponse<Paths.ResetPassword.Responses.$200>
|
|
2574
|
+
}
|
|
2444
2575
|
['/v2/users/public/checkToken']: {
|
|
2445
2576
|
/**
|
|
2446
2577
|
* checkInviteToken - checkInviteToken
|
|
@@ -140,6 +140,14 @@ declare namespace Components {
|
|
|
140
140
|
* Server-set expiry for the pending email change verification link (ISO 8601). Read-only.
|
|
141
141
|
*/
|
|
142
142
|
draft_email_expires_at?: string | null; // date-time
|
|
143
|
+
/**
|
|
144
|
+
* Internal: sha256 hash of the active password-reset token. Server-set, never returned in responses.
|
|
145
|
+
*/
|
|
146
|
+
password_reset_token_hash?: string | null;
|
|
147
|
+
/**
|
|
148
|
+
* Internal: expiry for the active password-reset token (ISO 8601). Server-set, never returned in responses.
|
|
149
|
+
*/
|
|
150
|
+
password_reset_token_expires_at?: string | null; // date-time
|
|
143
151
|
/**
|
|
144
152
|
* User's department
|
|
145
153
|
* example:
|
|
@@ -265,6 +273,19 @@ declare namespace Components {
|
|
|
265
273
|
email_notification_setting?: {
|
|
266
274
|
[name: string]: any;
|
|
267
275
|
};
|
|
276
|
+
/**
|
|
277
|
+
* Per-notification-type in-app delivery preferences (notification type key -> enabled). Written by the my-account notification settings UI and honored by svc-notification-api at delivery time. Absent or partial keys fall back to each notification type's configured default. Mirrors email_notification_setting for the in-app channel.
|
|
278
|
+
* example:
|
|
279
|
+
* {
|
|
280
|
+
* "integration_critical_error": true,
|
|
281
|
+
* "integration_error_threshold": true,
|
|
282
|
+
* "assigned_opportunity": true,
|
|
283
|
+
* "assigned_task": true
|
|
284
|
+
* }
|
|
285
|
+
*/
|
|
286
|
+
in_app_notification_setting?: {
|
|
287
|
+
[name: string]: any;
|
|
288
|
+
};
|
|
268
289
|
properties?: {
|
|
269
290
|
/**
|
|
270
291
|
* example:
|
|
@@ -277,6 +298,14 @@ declare namespace Components {
|
|
|
277
298
|
*/
|
|
278
299
|
value: string;
|
|
279
300
|
}[];
|
|
301
|
+
/**
|
|
302
|
+
* User tags/labels assigned for classification (e.g. label slugs)
|
|
303
|
+
* example:
|
|
304
|
+
* [
|
|
305
|
+
* "non-billable"
|
|
306
|
+
* ]
|
|
307
|
+
*/
|
|
308
|
+
tags?: string[] | null;
|
|
280
309
|
/**
|
|
281
310
|
* The index of the current assignee in the group's user list.
|
|
282
311
|
* example:
|
|
@@ -970,6 +999,14 @@ declare namespace Components {
|
|
|
970
999
|
* Server-set expiry for the pending email change verification link (ISO 8601). Read-only.
|
|
971
1000
|
*/
|
|
972
1001
|
draft_email_expires_at?: string | null; // date-time
|
|
1002
|
+
/**
|
|
1003
|
+
* Internal: sha256 hash of the active password-reset token. Server-set, never returned in responses.
|
|
1004
|
+
*/
|
|
1005
|
+
password_reset_token_hash?: string | null;
|
|
1006
|
+
/**
|
|
1007
|
+
* Internal: expiry for the active password-reset token (ISO 8601). Server-set, never returned in responses.
|
|
1008
|
+
*/
|
|
1009
|
+
password_reset_token_expires_at?: string | null; // date-time
|
|
973
1010
|
/**
|
|
974
1011
|
* User's department
|
|
975
1012
|
* example:
|
|
@@ -1095,6 +1132,19 @@ declare namespace Components {
|
|
|
1095
1132
|
email_notification_setting?: {
|
|
1096
1133
|
[name: string]: any;
|
|
1097
1134
|
};
|
|
1135
|
+
/**
|
|
1136
|
+
* Per-notification-type in-app delivery preferences (notification type key -> enabled). Written by the my-account notification settings UI and honored by svc-notification-api at delivery time. Absent or partial keys fall back to each notification type's configured default. Mirrors email_notification_setting for the in-app channel.
|
|
1137
|
+
* example:
|
|
1138
|
+
* {
|
|
1139
|
+
* "integration_critical_error": true,
|
|
1140
|
+
* "integration_error_threshold": true,
|
|
1141
|
+
* "assigned_opportunity": true,
|
|
1142
|
+
* "assigned_task": true
|
|
1143
|
+
* }
|
|
1144
|
+
*/
|
|
1145
|
+
in_app_notification_setting?: {
|
|
1146
|
+
[name: string]: any;
|
|
1147
|
+
};
|
|
1098
1148
|
properties?: {
|
|
1099
1149
|
/**
|
|
1100
1150
|
* example:
|
|
@@ -1107,6 +1157,14 @@ declare namespace Components {
|
|
|
1107
1157
|
*/
|
|
1108
1158
|
value: string;
|
|
1109
1159
|
}[];
|
|
1160
|
+
/**
|
|
1161
|
+
* User tags/labels assigned for classification (e.g. label slugs)
|
|
1162
|
+
* example:
|
|
1163
|
+
* [
|
|
1164
|
+
* "non-billable"
|
|
1165
|
+
* ]
|
|
1166
|
+
*/
|
|
1167
|
+
tags?: string[] | null;
|
|
1110
1168
|
}
|
|
1111
1169
|
export interface UserVerificationPayload {
|
|
1112
1170
|
/**
|
|
@@ -1603,6 +1661,53 @@ declare namespace Paths {
|
|
|
1603
1661
|
}
|
|
1604
1662
|
}
|
|
1605
1663
|
}
|
|
1664
|
+
namespace ResetPassword {
|
|
1665
|
+
export interface RequestBody {
|
|
1666
|
+
/**
|
|
1667
|
+
* Email address of the account
|
|
1668
|
+
* example:
|
|
1669
|
+
* test@example.com
|
|
1670
|
+
*/
|
|
1671
|
+
email: string;
|
|
1672
|
+
/**
|
|
1673
|
+
* Reset token from the password reset email
|
|
1674
|
+
*/
|
|
1675
|
+
token: string;
|
|
1676
|
+
/**
|
|
1677
|
+
* The new password
|
|
1678
|
+
*/
|
|
1679
|
+
password: string;
|
|
1680
|
+
}
|
|
1681
|
+
namespace Responses {
|
|
1682
|
+
export interface $200 {
|
|
1683
|
+
/**
|
|
1684
|
+
* example:
|
|
1685
|
+
* true
|
|
1686
|
+
*/
|
|
1687
|
+
success: boolean;
|
|
1688
|
+
}
|
|
1689
|
+
export interface $400 {
|
|
1690
|
+
/**
|
|
1691
|
+
* Discriminator distinguishing token errors from policy errors
|
|
1692
|
+
*/
|
|
1693
|
+
error: "INVALID_RESET_LINK" | "PASSWORD_POLICY";
|
|
1694
|
+
/**
|
|
1695
|
+
* example:
|
|
1696
|
+
* Password does not meet the requirements
|
|
1697
|
+
*/
|
|
1698
|
+
message: string;
|
|
1699
|
+
/**
|
|
1700
|
+
* Itemized password-policy violation codes (only present when error is PASSWORD_POLICY)
|
|
1701
|
+
* example:
|
|
1702
|
+
* [
|
|
1703
|
+
* "too_short",
|
|
1704
|
+
* "missing_uppercase"
|
|
1705
|
+
* ]
|
|
1706
|
+
*/
|
|
1707
|
+
violations?: ("too_short" | "missing_lowercase" | "missing_uppercase" | "missing_number" | "missing_symbol")[];
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1606
1711
|
namespace ResolveDiscoverableCredential {
|
|
1607
1712
|
export interface RequestBody {
|
|
1608
1713
|
/**
|
|
@@ -1983,6 +2088,18 @@ interface OperationMethods {
|
|
|
1983
2088
|
data?: Paths.RequestPasswordReset.RequestBody,
|
|
1984
2089
|
config?: AxiosRequestConfig
|
|
1985
2090
|
): OperationResponse<Paths.RequestPasswordReset.Responses.$200>
|
|
2091
|
+
/**
|
|
2092
|
+
* resetPassword - resetPassword
|
|
2093
|
+
*
|
|
2094
|
+
* Set a new password using a reset token from the password reset email.
|
|
2095
|
+
* The token is single-use and time-limited.
|
|
2096
|
+
*
|
|
2097
|
+
*/
|
|
2098
|
+
'resetPassword'(
|
|
2099
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2100
|
+
data?: Paths.ResetPassword.RequestBody,
|
|
2101
|
+
config?: AxiosRequestConfig
|
|
2102
|
+
): OperationResponse<Paths.ResetPassword.Responses.$200>
|
|
1986
2103
|
/**
|
|
1987
2104
|
* checkInviteToken - checkInviteToken
|
|
1988
2105
|
*
|
|
@@ -2441,6 +2558,20 @@ interface PathsDictionary {
|
|
|
2441
2558
|
config?: AxiosRequestConfig
|
|
2442
2559
|
): OperationResponse<Paths.RequestPasswordReset.Responses.$200>
|
|
2443
2560
|
}
|
|
2561
|
+
['/v2/users/public/resetPassword']: {
|
|
2562
|
+
/**
|
|
2563
|
+
* resetPassword - resetPassword
|
|
2564
|
+
*
|
|
2565
|
+
* Set a new password using a reset token from the password reset email.
|
|
2566
|
+
* The token is single-use and time-limited.
|
|
2567
|
+
*
|
|
2568
|
+
*/
|
|
2569
|
+
'post'(
|
|
2570
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2571
|
+
data?: Paths.ResetPassword.RequestBody,
|
|
2572
|
+
config?: AxiosRequestConfig
|
|
2573
|
+
): OperationResponse<Paths.ResetPassword.Responses.$200>
|
|
2574
|
+
}
|
|
2444
2575
|
['/v2/users/public/checkToken']: {
|
|
2445
2576
|
/**
|
|
2446
2577
|
* checkInviteToken - checkInviteToken
|