anchorbrowser 0.13.1 → 0.13.2
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/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/resources/applications/applications.d.mts +2 -2
- package/resources/applications/applications.d.mts.map +1 -1
- package/resources/applications/applications.d.ts +2 -2
- package/resources/applications/applications.d.ts.map +1 -1
- package/resources/applications/applications.js.map +1 -1
- package/resources/applications/applications.mjs.map +1 -1
- package/resources/applications/auth-flows.d.mts +1 -96
- package/resources/applications/auth-flows.d.mts.map +1 -1
- package/resources/applications/auth-flows.d.ts +1 -96
- package/resources/applications/auth-flows.d.ts.map +1 -1
- package/resources/applications/auth-flows.js +0 -25
- package/resources/applications/auth-flows.js.map +1 -1
- package/resources/applications/auth-flows.mjs +0 -25
- package/resources/applications/auth-flows.mjs.map +1 -1
- package/resources/applications/index.d.mts +1 -1
- package/resources/applications/index.d.mts.map +1 -1
- package/resources/applications/index.d.ts +1 -1
- package/resources/applications/index.d.ts.map +1 -1
- package/resources/applications/index.js.map +1 -1
- package/resources/applications/index.mjs.map +1 -1
- package/src/resources/applications/applications.ts +0 -4
- package/src/resources/applications/auth-flows.ts +0 -124
- package/src/resources/applications/index.ts +0 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.13.2 (2026-01-15)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.13.1...v0.13.2](https://github.com/anchorbrowser/AnchorBrowser-SDK-Typescript/compare/v0.13.1...v0.13.2)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([c06b1e5](https://github.com/anchorbrowser/AnchorBrowser-SDK-Typescript/commit/c06b1e5c5cc15156accc6c0e9526d1ec7a8445d6))
|
|
10
|
+
|
|
3
11
|
## 0.13.1 (2026-01-15)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.13.0...v0.13.1](https://github.com/anchorbrowser/AnchorBrowser-SDK-Typescript/compare/v0.13.0...v0.13.1)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as AuthFlowsAPI from "./auth-flows.mjs";
|
|
3
|
-
import { AuthFlowCreateParams, AuthFlowCreateResponse, AuthFlowDeleteParams, AuthFlowDeleteResponse, AuthFlowListResponse,
|
|
3
|
+
import { AuthFlowCreateParams, AuthFlowCreateResponse, AuthFlowDeleteParams, AuthFlowDeleteResponse, AuthFlowListResponse, AuthFlows } from "./auth-flows.mjs";
|
|
4
4
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
5
5
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
6
6
|
export declare class Applications extends APIResource {
|
|
@@ -287,6 +287,6 @@ export interface ApplicationListIdentitiesParams {
|
|
|
287
287
|
}
|
|
288
288
|
export declare namespace Applications {
|
|
289
289
|
export { type ApplicationCreateResponse as ApplicationCreateResponse, type ApplicationRetrieveResponse as ApplicationRetrieveResponse, type ApplicationListResponse as ApplicationListResponse, type ApplicationDeleteResponse as ApplicationDeleteResponse, type ApplicationCreateIdentityTokenResponse as ApplicationCreateIdentityTokenResponse, type ApplicationListIdentitiesResponse as ApplicationListIdentitiesResponse, type ApplicationCreateParams as ApplicationCreateParams, type ApplicationListParams as ApplicationListParams, type ApplicationCreateIdentityTokenParams as ApplicationCreateIdentityTokenParams, type ApplicationListIdentitiesParams as ApplicationListIdentitiesParams, };
|
|
290
|
-
export { AuthFlows as AuthFlows, type AuthFlowCreateResponse as AuthFlowCreateResponse, type
|
|
290
|
+
export { AuthFlows as AuthFlows, type AuthFlowCreateResponse as AuthFlowCreateResponse, type AuthFlowListResponse as AuthFlowListResponse, type AuthFlowDeleteResponse as AuthFlowDeleteResponse, type AuthFlowCreateParams as AuthFlowCreateParams, type AuthFlowDeleteParams as AuthFlowDeleteParams, };
|
|
291
291
|
}
|
|
292
292
|
//# sourceMappingURL=applications.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applications.d.mts","sourceRoot":"","sources":["../../src/resources/applications/applications.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,
|
|
1
|
+
{"version":3,"file":"applications.d.mts","sourceRoot":"","sources":["../../src/resources/applications/applications.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,SAAS,EACV;OACM,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAE7E;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAItG;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAIlG;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAItC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC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,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import * as AuthFlowsAPI from "./auth-flows.js";
|
|
3
|
-
import { AuthFlowCreateParams, AuthFlowCreateResponse, AuthFlowDeleteParams, AuthFlowDeleteResponse, AuthFlowListResponse,
|
|
3
|
+
import { AuthFlowCreateParams, AuthFlowCreateResponse, AuthFlowDeleteParams, AuthFlowDeleteResponse, AuthFlowListResponse, AuthFlows } from "./auth-flows.js";
|
|
4
4
|
import { APIPromise } from "../../core/api-promise.js";
|
|
5
5
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
6
6
|
export declare class Applications extends APIResource {
|
|
@@ -287,6 +287,6 @@ export interface ApplicationListIdentitiesParams {
|
|
|
287
287
|
}
|
|
288
288
|
export declare namespace Applications {
|
|
289
289
|
export { type ApplicationCreateResponse as ApplicationCreateResponse, type ApplicationRetrieveResponse as ApplicationRetrieveResponse, type ApplicationListResponse as ApplicationListResponse, type ApplicationDeleteResponse as ApplicationDeleteResponse, type ApplicationCreateIdentityTokenResponse as ApplicationCreateIdentityTokenResponse, type ApplicationListIdentitiesResponse as ApplicationListIdentitiesResponse, type ApplicationCreateParams as ApplicationCreateParams, type ApplicationListParams as ApplicationListParams, type ApplicationCreateIdentityTokenParams as ApplicationCreateIdentityTokenParams, type ApplicationListIdentitiesParams as ApplicationListIdentitiesParams, };
|
|
290
|
-
export { AuthFlows as AuthFlows, type AuthFlowCreateResponse as AuthFlowCreateResponse, type
|
|
290
|
+
export { AuthFlows as AuthFlows, type AuthFlowCreateResponse as AuthFlowCreateResponse, type AuthFlowListResponse as AuthFlowListResponse, type AuthFlowDeleteResponse as AuthFlowDeleteResponse, type AuthFlowCreateParams as AuthFlowCreateParams, type AuthFlowDeleteParams as AuthFlowDeleteParams, };
|
|
291
291
|
}
|
|
292
292
|
//# sourceMappingURL=applications.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applications.d.ts","sourceRoot":"","sources":["../../src/resources/applications/applications.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,
|
|
1
|
+
{"version":3,"file":"applications.d.ts","sourceRoot":"","sources":["../../src/resources/applications/applications.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,SAAS,EACV;OACM,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAE7E;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAItG;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAIlG;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAItC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAI9F;;;;;;;;;;;;;;;OAeG;IACH,mBAAmB,CACjB,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,oCAAoC,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sCAAsC,CA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AQ,CAAC;QAE5C;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB;CACF;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,oCAAoC;IACnD;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAID,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applications.js","sourceRoot":"","sources":["../../src/resources/applications/applications.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,sEAA6C;AAC7C,
|
|
1
|
+
{"version":3,"file":"applications.js","sourceRoot":"","sources":["../../src/resources/applications/applications.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,sEAA6C;AAC7C,gDAOsB;AAGtB,uDAAiD;AAEjD,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqH/E,CAAC;IAnHC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,aAAqB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,oBAAoB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,mBAAmB,CACjB,aAAqB,EACrB,IAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,oBAAoB,aAAa,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjG,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,cAAc,CACZ,aAAqB,EACrB,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,aAAa,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;CACF;AAtHD,oCAsHC;AA4OD,YAAY,CAAC,SAAS,GAAG,sBAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applications.mjs","sourceRoot":"","sources":["../../src/resources/applications/applications.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,
|
|
1
|
+
{"version":3,"file":"applications.mjs","sourceRoot":"","sources":["../../src/resources/applications/applications.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAML,SAAS,GACV;OAGM,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqH/E,CAAC;IAnHC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,aAAqB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,oBAAoB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,mBAAmB,CACjB,aAAqB,EACrB,IAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,oBAAoB,aAAa,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjG,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,cAAc,CACZ,aAAqB,EACrB,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,aAAa,aAAa,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;CACF;AA4OD,YAAY,CAAC,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -23,25 +23,6 @@ export declare class AuthFlows extends APIResource {
|
|
|
23
23
|
* ```
|
|
24
24
|
*/
|
|
25
25
|
create(applicationID: string, body: AuthFlowCreateParams, options?: RequestOptions): APIPromise<AuthFlowCreateResponse>;
|
|
26
|
-
/**
|
|
27
|
-
* Updates an existing authentication flow.
|
|
28
|
-
*
|
|
29
|
-
* **Beta** Capability. [Contact support](mailto:support@anchorbrowser.io) to
|
|
30
|
-
* enable.
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* ```ts
|
|
34
|
-
* const authFlow = await client.applications.authFlows.update(
|
|
35
|
-
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
36
|
-
* {
|
|
37
|
-
* application_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
38
|
-
* methods: ['username_password', 'authenticator'],
|
|
39
|
-
* name: 'Updated Login Flow',
|
|
40
|
-
* },
|
|
41
|
-
* );
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
update(authFlowID: string, params: AuthFlowUpdateParams, options?: RequestOptions): APIPromise<AuthFlowUpdateResponse>;
|
|
45
26
|
/**
|
|
46
27
|
* Retrieves all authentication flows for a specific application.
|
|
47
28
|
*
|
|
@@ -116,48 +97,6 @@ export declare namespace AuthFlowCreateResponse {
|
|
|
116
97
|
name: string;
|
|
117
98
|
}
|
|
118
99
|
}
|
|
119
|
-
export interface AuthFlowUpdateResponse {
|
|
120
|
-
/**
|
|
121
|
-
* Unique identifier for the authentication flow
|
|
122
|
-
*/
|
|
123
|
-
id?: string;
|
|
124
|
-
/**
|
|
125
|
-
* Timestamp when the authentication flow was created
|
|
126
|
-
*/
|
|
127
|
-
created_at?: string;
|
|
128
|
-
/**
|
|
129
|
-
* Custom fields for this authentication flow
|
|
130
|
-
*/
|
|
131
|
-
custom_fields?: Array<AuthFlowUpdateResponse.CustomField>;
|
|
132
|
-
/**
|
|
133
|
-
* Description of the authentication flow
|
|
134
|
-
*/
|
|
135
|
-
description?: string | null;
|
|
136
|
-
/**
|
|
137
|
-
* Whether this is the recommended authentication flow
|
|
138
|
-
*/
|
|
139
|
-
is_recommended?: boolean;
|
|
140
|
-
/**
|
|
141
|
-
* Authentication methods in this flow
|
|
142
|
-
*/
|
|
143
|
-
methods?: Array<string>;
|
|
144
|
-
/**
|
|
145
|
-
* Name of the authentication flow
|
|
146
|
-
*/
|
|
147
|
-
name?: string;
|
|
148
|
-
/**
|
|
149
|
-
* Timestamp when the authentication flow was last updated
|
|
150
|
-
*/
|
|
151
|
-
updated_at?: string;
|
|
152
|
-
}
|
|
153
|
-
export declare namespace AuthFlowUpdateResponse {
|
|
154
|
-
interface CustomField {
|
|
155
|
-
/**
|
|
156
|
-
* Name of the custom field
|
|
157
|
-
*/
|
|
158
|
-
name: string;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
100
|
export interface AuthFlowListResponse {
|
|
162
101
|
auth_flows?: Array<AuthFlowListResponse.AuthFlow>;
|
|
163
102
|
}
|
|
@@ -241,40 +180,6 @@ export declare namespace AuthFlowCreateParams {
|
|
|
241
180
|
name: string;
|
|
242
181
|
}
|
|
243
182
|
}
|
|
244
|
-
export interface AuthFlowUpdateParams {
|
|
245
|
-
/**
|
|
246
|
-
* Path param: The ID of the application
|
|
247
|
-
*/
|
|
248
|
-
application_id: string;
|
|
249
|
-
/**
|
|
250
|
-
* Body param: Custom fields for this authentication flow
|
|
251
|
-
*/
|
|
252
|
-
custom_fields?: Array<AuthFlowUpdateParams.CustomField>;
|
|
253
|
-
/**
|
|
254
|
-
* Body param: Description of the authentication flow
|
|
255
|
-
*/
|
|
256
|
-
description?: string;
|
|
257
|
-
/**
|
|
258
|
-
* Body param: Whether this is the recommended authentication flow
|
|
259
|
-
*/
|
|
260
|
-
is_recommended?: boolean;
|
|
261
|
-
/**
|
|
262
|
-
* Body param: Authentication methods in this flow
|
|
263
|
-
*/
|
|
264
|
-
methods?: Array<'username_password' | 'authenticator' | 'custom'>;
|
|
265
|
-
/**
|
|
266
|
-
* Body param: Name of the authentication flow
|
|
267
|
-
*/
|
|
268
|
-
name?: string;
|
|
269
|
-
}
|
|
270
|
-
export declare namespace AuthFlowUpdateParams {
|
|
271
|
-
interface CustomField {
|
|
272
|
-
/**
|
|
273
|
-
* Name of the custom field
|
|
274
|
-
*/
|
|
275
|
-
name: string;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
183
|
export interface AuthFlowDeleteParams {
|
|
279
184
|
/**
|
|
280
185
|
* The ID of the application
|
|
@@ -282,6 +187,6 @@ export interface AuthFlowDeleteParams {
|
|
|
282
187
|
application_id: string;
|
|
283
188
|
}
|
|
284
189
|
export declare namespace AuthFlows {
|
|
285
|
-
export { type AuthFlowCreateResponse as AuthFlowCreateResponse, type
|
|
190
|
+
export { type AuthFlowCreateResponse as AuthFlowCreateResponse, type AuthFlowListResponse as AuthFlowListResponse, type AuthFlowDeleteResponse as AuthFlowDeleteResponse, type AuthFlowCreateParams as AuthFlowCreateParams, type AuthFlowDeleteParams as AuthFlowDeleteParams, };
|
|
286
191
|
}
|
|
287
192
|
//# sourceMappingURL=auth-flows.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-flows.d.mts","sourceRoot":"","sources":["../../src/resources/applications/auth-flows.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAIrC
|
|
1
|
+
{"version":3,"file":"auth-flows.d.mts","sourceRoot":"","sources":["../../src/resources/applications/auth-flows.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAIrC;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAo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AK,CAAC,MAAM,CAAC,CAAC;QAExB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd;;WAEG;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB;IAED,UAAiB,QAAQ,CAAC;QACxB,UAAiB,WAAW;YAC1B;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;SACd;KACF;CACF;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,mBAAmB,GAAG,eAAe,GAAG,QAAQ,CAAC,CAAC;IAEjE;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,WAAW,CAAC,CAAC;IAExD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,yBAAiB,oBAAoB,CAAC;IACpC,UAAiB,WAAW;QAC1B;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -23,25 +23,6 @@ export declare class AuthFlows extends APIResource {
|
|
|
23
23
|
* ```
|
|
24
24
|
*/
|
|
25
25
|
create(applicationID: string, body: AuthFlowCreateParams, options?: RequestOptions): APIPromise<AuthFlowCreateResponse>;
|
|
26
|
-
/**
|
|
27
|
-
* Updates an existing authentication flow.
|
|
28
|
-
*
|
|
29
|
-
* **Beta** Capability. [Contact support](mailto:support@anchorbrowser.io) to
|
|
30
|
-
* enable.
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* ```ts
|
|
34
|
-
* const authFlow = await client.applications.authFlows.update(
|
|
35
|
-
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
36
|
-
* {
|
|
37
|
-
* application_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
38
|
-
* methods: ['username_password', 'authenticator'],
|
|
39
|
-
* name: 'Updated Login Flow',
|
|
40
|
-
* },
|
|
41
|
-
* );
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
update(authFlowID: string, params: AuthFlowUpdateParams, options?: RequestOptions): APIPromise<AuthFlowUpdateResponse>;
|
|
45
26
|
/**
|
|
46
27
|
* Retrieves all authentication flows for a specific application.
|
|
47
28
|
*
|
|
@@ -116,48 +97,6 @@ export declare namespace AuthFlowCreateResponse {
|
|
|
116
97
|
name: string;
|
|
117
98
|
}
|
|
118
99
|
}
|
|
119
|
-
export interface AuthFlowUpdateResponse {
|
|
120
|
-
/**
|
|
121
|
-
* Unique identifier for the authentication flow
|
|
122
|
-
*/
|
|
123
|
-
id?: string;
|
|
124
|
-
/**
|
|
125
|
-
* Timestamp when the authentication flow was created
|
|
126
|
-
*/
|
|
127
|
-
created_at?: string;
|
|
128
|
-
/**
|
|
129
|
-
* Custom fields for this authentication flow
|
|
130
|
-
*/
|
|
131
|
-
custom_fields?: Array<AuthFlowUpdateResponse.CustomField>;
|
|
132
|
-
/**
|
|
133
|
-
* Description of the authentication flow
|
|
134
|
-
*/
|
|
135
|
-
description?: string | null;
|
|
136
|
-
/**
|
|
137
|
-
* Whether this is the recommended authentication flow
|
|
138
|
-
*/
|
|
139
|
-
is_recommended?: boolean;
|
|
140
|
-
/**
|
|
141
|
-
* Authentication methods in this flow
|
|
142
|
-
*/
|
|
143
|
-
methods?: Array<string>;
|
|
144
|
-
/**
|
|
145
|
-
* Name of the authentication flow
|
|
146
|
-
*/
|
|
147
|
-
name?: string;
|
|
148
|
-
/**
|
|
149
|
-
* Timestamp when the authentication flow was last updated
|
|
150
|
-
*/
|
|
151
|
-
updated_at?: string;
|
|
152
|
-
}
|
|
153
|
-
export declare namespace AuthFlowUpdateResponse {
|
|
154
|
-
interface CustomField {
|
|
155
|
-
/**
|
|
156
|
-
* Name of the custom field
|
|
157
|
-
*/
|
|
158
|
-
name: string;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
100
|
export interface AuthFlowListResponse {
|
|
162
101
|
auth_flows?: Array<AuthFlowListResponse.AuthFlow>;
|
|
163
102
|
}
|
|
@@ -241,40 +180,6 @@ export declare namespace AuthFlowCreateParams {
|
|
|
241
180
|
name: string;
|
|
242
181
|
}
|
|
243
182
|
}
|
|
244
|
-
export interface AuthFlowUpdateParams {
|
|
245
|
-
/**
|
|
246
|
-
* Path param: The ID of the application
|
|
247
|
-
*/
|
|
248
|
-
application_id: string;
|
|
249
|
-
/**
|
|
250
|
-
* Body param: Custom fields for this authentication flow
|
|
251
|
-
*/
|
|
252
|
-
custom_fields?: Array<AuthFlowUpdateParams.CustomField>;
|
|
253
|
-
/**
|
|
254
|
-
* Body param: Description of the authentication flow
|
|
255
|
-
*/
|
|
256
|
-
description?: string;
|
|
257
|
-
/**
|
|
258
|
-
* Body param: Whether this is the recommended authentication flow
|
|
259
|
-
*/
|
|
260
|
-
is_recommended?: boolean;
|
|
261
|
-
/**
|
|
262
|
-
* Body param: Authentication methods in this flow
|
|
263
|
-
*/
|
|
264
|
-
methods?: Array<'username_password' | 'authenticator' | 'custom'>;
|
|
265
|
-
/**
|
|
266
|
-
* Body param: Name of the authentication flow
|
|
267
|
-
*/
|
|
268
|
-
name?: string;
|
|
269
|
-
}
|
|
270
|
-
export declare namespace AuthFlowUpdateParams {
|
|
271
|
-
interface CustomField {
|
|
272
|
-
/**
|
|
273
|
-
* Name of the custom field
|
|
274
|
-
*/
|
|
275
|
-
name: string;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
183
|
export interface AuthFlowDeleteParams {
|
|
279
184
|
/**
|
|
280
185
|
* The ID of the application
|
|
@@ -282,6 +187,6 @@ export interface AuthFlowDeleteParams {
|
|
|
282
187
|
application_id: string;
|
|
283
188
|
}
|
|
284
189
|
export declare namespace AuthFlows {
|
|
285
|
-
export { type AuthFlowCreateResponse as AuthFlowCreateResponse, type
|
|
190
|
+
export { type AuthFlowCreateResponse as AuthFlowCreateResponse, type AuthFlowListResponse as AuthFlowListResponse, type AuthFlowDeleteResponse as AuthFlowDeleteResponse, type AuthFlowCreateParams as AuthFlowCreateParams, type AuthFlowDeleteParams as AuthFlowDeleteParams, };
|
|
286
191
|
}
|
|
287
192
|
//# sourceMappingURL=auth-flows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-flows.d.ts","sourceRoot":"","sources":["../../src/resources/applications/auth-flows.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAIrC
|
|
1
|
+
{"version":3,"file":"auth-flows.d.ts","sourceRoot":"","sources":["../../src/resources/applications/auth-flows.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,oBAAoB,EA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D,CAAC;CACH"}
|
|
@@ -28,31 +28,6 @@ class AuthFlows extends resource_1.APIResource {
|
|
|
28
28
|
create(applicationID, body, options) {
|
|
29
29
|
return this._client.post((0, path_1.path) `/v1/applications/${applicationID}/auth-flows`, { body, ...options });
|
|
30
30
|
}
|
|
31
|
-
/**
|
|
32
|
-
* Updates an existing authentication flow.
|
|
33
|
-
*
|
|
34
|
-
* **Beta** Capability. [Contact support](mailto:support@anchorbrowser.io) to
|
|
35
|
-
* enable.
|
|
36
|
-
*
|
|
37
|
-
* @example
|
|
38
|
-
* ```ts
|
|
39
|
-
* const authFlow = await client.applications.authFlows.update(
|
|
40
|
-
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
41
|
-
* {
|
|
42
|
-
* application_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
43
|
-
* methods: ['username_password', 'authenticator'],
|
|
44
|
-
* name: 'Updated Login Flow',
|
|
45
|
-
* },
|
|
46
|
-
* );
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
update(authFlowID, params, options) {
|
|
50
|
-
const { application_id, ...body } = params;
|
|
51
|
-
return this._client.patch((0, path_1.path) `/v1/applications/${application_id}/auth-flows/${authFlowID}`, {
|
|
52
|
-
body,
|
|
53
|
-
...options,
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
31
|
/**
|
|
57
32
|
* Retrieves all authentication flows for a specific application.
|
|
58
33
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-flows.js","sourceRoot":"","sources":["../../src/resources/applications/auth-flows.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,oBAAoB,aAAa,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"auth-flows.js","sourceRoot":"","sources":["../../src/resources/applications/auth-flows.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,oBAAoB,aAAa,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,aAAqB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,aAAa,aAAa,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,UAAkB,EAClB,MAA4B,EAC5B,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,GAAG,MAAM,CAAC;QAClC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,oBAAoB,cAAc,eAAe,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IACzG,CAAC;CACF;AAtED,8BAsEC"}
|
|
@@ -25,31 +25,6 @@ export class AuthFlows extends APIResource {
|
|
|
25
25
|
create(applicationID, body, options) {
|
|
26
26
|
return this._client.post(path `/v1/applications/${applicationID}/auth-flows`, { body, ...options });
|
|
27
27
|
}
|
|
28
|
-
/**
|
|
29
|
-
* Updates an existing authentication flow.
|
|
30
|
-
*
|
|
31
|
-
* **Beta** Capability. [Contact support](mailto:support@anchorbrowser.io) to
|
|
32
|
-
* enable.
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* ```ts
|
|
36
|
-
* const authFlow = await client.applications.authFlows.update(
|
|
37
|
-
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
38
|
-
* {
|
|
39
|
-
* application_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
40
|
-
* methods: ['username_password', 'authenticator'],
|
|
41
|
-
* name: 'Updated Login Flow',
|
|
42
|
-
* },
|
|
43
|
-
* );
|
|
44
|
-
* ```
|
|
45
|
-
*/
|
|
46
|
-
update(authFlowID, params, options) {
|
|
47
|
-
const { application_id, ...body } = params;
|
|
48
|
-
return this._client.patch(path `/v1/applications/${application_id}/auth-flows/${authFlowID}`, {
|
|
49
|
-
body,
|
|
50
|
-
...options,
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
28
|
/**
|
|
54
29
|
* Retrieves all authentication flows for a specific application.
|
|
55
30
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-flows.mjs","sourceRoot":"","sources":["../../src/resources/applications/auth-flows.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,oBAAoB,aAAa,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"auth-flows.mjs","sourceRoot":"","sources":["../../src/resources/applications/auth-flows.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,aAAqB,EACrB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,oBAAoB,aAAa,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,aAAqB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,aAAa,aAAa,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,UAAkB,EAClB,MAA4B,EAC5B,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,GAAG,MAAM,CAAC;QAClC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,oBAAoB,cAAc,eAAe,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IACzG,CAAC;CACF"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Applications, type ApplicationCreateResponse, type ApplicationRetrieveResponse, type ApplicationListResponse, type ApplicationDeleteResponse, type ApplicationCreateIdentityTokenResponse, type ApplicationListIdentitiesResponse, type ApplicationCreateParams, type ApplicationListParams, type ApplicationCreateIdentityTokenParams, type ApplicationListIdentitiesParams, } from "./applications.mjs";
|
|
2
|
-
export { AuthFlows, type AuthFlowCreateResponse, type
|
|
2
|
+
export { AuthFlows, type AuthFlowCreateResponse, type AuthFlowListResponse, type AuthFlowDeleteResponse, type AuthFlowCreateParams, type AuthFlowDeleteParams, } from "./auth-flows.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/applications/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,sCAAsC,EAC3C,KAAK,iCAAiC,EACtC,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oCAAoC,EACzC,KAAK,+BAA+B,GACrC;OACM,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/applications/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,sCAAsC,EAC3C,KAAK,iCAAiC,EACtC,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oCAAoC,EACzC,KAAK,+BAA+B,GACrC;OACM,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,GAC1B"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Applications, type ApplicationCreateResponse, type ApplicationRetrieveResponse, type ApplicationListResponse, type ApplicationDeleteResponse, type ApplicationCreateIdentityTokenResponse, type ApplicationListIdentitiesResponse, type ApplicationCreateParams, type ApplicationListParams, type ApplicationCreateIdentityTokenParams, type ApplicationListIdentitiesParams, } from "./applications.js";
|
|
2
|
-
export { AuthFlows, type AuthFlowCreateResponse, type
|
|
2
|
+
export { AuthFlows, type AuthFlowCreateResponse, type AuthFlowListResponse, type AuthFlowDeleteResponse, type AuthFlowCreateParams, type AuthFlowDeleteParams, } from "./auth-flows.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/applications/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,sCAAsC,EAC3C,KAAK,iCAAiC,EACtC,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oCAAoC,EACzC,KAAK,+BAA+B,GACrC;OACM,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/applications/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,sCAAsC,EAC3C,KAAK,iCAAiC,EACtC,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oCAAoC,EACzC,KAAK,+BAA+B,GACrC;OACM,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,GAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/applications/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAYwB;AAXtB,4GAAA,YAAY,OAAA;AAYd,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/applications/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAYwB;AAXtB,4GAAA,YAAY,OAAA;AAYd,8CAOsB;AANpB,uGAAA,SAAS,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/applications/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,YAAY,GAWb;OACM,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/applications/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,YAAY,GAWb;OACM,EACL,SAAS,GAMV"}
|
|
@@ -8,8 +8,6 @@ import {
|
|
|
8
8
|
AuthFlowDeleteParams,
|
|
9
9
|
AuthFlowDeleteResponse,
|
|
10
10
|
AuthFlowListResponse,
|
|
11
|
-
AuthFlowUpdateParams,
|
|
12
|
-
AuthFlowUpdateResponse,
|
|
13
11
|
AuthFlows,
|
|
14
12
|
} from './auth-flows';
|
|
15
13
|
import { APIPromise } from '../../core/api-promise';
|
|
@@ -389,11 +387,9 @@ export declare namespace Applications {
|
|
|
389
387
|
export {
|
|
390
388
|
AuthFlows as AuthFlows,
|
|
391
389
|
type AuthFlowCreateResponse as AuthFlowCreateResponse,
|
|
392
|
-
type AuthFlowUpdateResponse as AuthFlowUpdateResponse,
|
|
393
390
|
type AuthFlowListResponse as AuthFlowListResponse,
|
|
394
391
|
type AuthFlowDeleteResponse as AuthFlowDeleteResponse,
|
|
395
392
|
type AuthFlowCreateParams as AuthFlowCreateParams,
|
|
396
|
-
type AuthFlowUpdateParams as AuthFlowUpdateParams,
|
|
397
393
|
type AuthFlowDeleteParams as AuthFlowDeleteParams,
|
|
398
394
|
};
|
|
399
395
|
}
|
|
@@ -34,36 +34,6 @@ export class AuthFlows extends APIResource {
|
|
|
34
34
|
return this._client.post(path`/v1/applications/${applicationID}/auth-flows`, { body, ...options });
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
/**
|
|
38
|
-
* Updates an existing authentication flow.
|
|
39
|
-
*
|
|
40
|
-
* **Beta** Capability. [Contact support](mailto:support@anchorbrowser.io) to
|
|
41
|
-
* enable.
|
|
42
|
-
*
|
|
43
|
-
* @example
|
|
44
|
-
* ```ts
|
|
45
|
-
* const authFlow = await client.applications.authFlows.update(
|
|
46
|
-
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
47
|
-
* {
|
|
48
|
-
* application_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
49
|
-
* methods: ['username_password', 'authenticator'],
|
|
50
|
-
* name: 'Updated Login Flow',
|
|
51
|
-
* },
|
|
52
|
-
* );
|
|
53
|
-
* ```
|
|
54
|
-
*/
|
|
55
|
-
update(
|
|
56
|
-
authFlowID: string,
|
|
57
|
-
params: AuthFlowUpdateParams,
|
|
58
|
-
options?: RequestOptions,
|
|
59
|
-
): APIPromise<AuthFlowUpdateResponse> {
|
|
60
|
-
const { application_id, ...body } = params;
|
|
61
|
-
return this._client.patch(path`/v1/applications/${application_id}/auth-flows/${authFlowID}`, {
|
|
62
|
-
body,
|
|
63
|
-
...options,
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
|
|
67
37
|
/**
|
|
68
38
|
* Retrieves all authentication flows for a specific application.
|
|
69
39
|
*
|
|
@@ -158,57 +128,6 @@ export namespace AuthFlowCreateResponse {
|
|
|
158
128
|
}
|
|
159
129
|
}
|
|
160
130
|
|
|
161
|
-
export interface AuthFlowUpdateResponse {
|
|
162
|
-
/**
|
|
163
|
-
* Unique identifier for the authentication flow
|
|
164
|
-
*/
|
|
165
|
-
id?: string;
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* Timestamp when the authentication flow was created
|
|
169
|
-
*/
|
|
170
|
-
created_at?: string;
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* Custom fields for this authentication flow
|
|
174
|
-
*/
|
|
175
|
-
custom_fields?: Array<AuthFlowUpdateResponse.CustomField>;
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Description of the authentication flow
|
|
179
|
-
*/
|
|
180
|
-
description?: string | null;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* Whether this is the recommended authentication flow
|
|
184
|
-
*/
|
|
185
|
-
is_recommended?: boolean;
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* Authentication methods in this flow
|
|
189
|
-
*/
|
|
190
|
-
methods?: Array<string>;
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Name of the authentication flow
|
|
194
|
-
*/
|
|
195
|
-
name?: string;
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* Timestamp when the authentication flow was last updated
|
|
199
|
-
*/
|
|
200
|
-
updated_at?: string;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
export namespace AuthFlowUpdateResponse {
|
|
204
|
-
export interface CustomField {
|
|
205
|
-
/**
|
|
206
|
-
* Name of the custom field
|
|
207
|
-
*/
|
|
208
|
-
name: string;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
131
|
export interface AuthFlowListResponse {
|
|
213
132
|
auth_flows?: Array<AuthFlowListResponse.AuthFlow>;
|
|
214
133
|
}
|
|
@@ -309,47 +228,6 @@ export namespace AuthFlowCreateParams {
|
|
|
309
228
|
}
|
|
310
229
|
}
|
|
311
230
|
|
|
312
|
-
export interface AuthFlowUpdateParams {
|
|
313
|
-
/**
|
|
314
|
-
* Path param: The ID of the application
|
|
315
|
-
*/
|
|
316
|
-
application_id: string;
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* Body param: Custom fields for this authentication flow
|
|
320
|
-
*/
|
|
321
|
-
custom_fields?: Array<AuthFlowUpdateParams.CustomField>;
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* Body param: Description of the authentication flow
|
|
325
|
-
*/
|
|
326
|
-
description?: string;
|
|
327
|
-
|
|
328
|
-
/**
|
|
329
|
-
* Body param: Whether this is the recommended authentication flow
|
|
330
|
-
*/
|
|
331
|
-
is_recommended?: boolean;
|
|
332
|
-
|
|
333
|
-
/**
|
|
334
|
-
* Body param: Authentication methods in this flow
|
|
335
|
-
*/
|
|
336
|
-
methods?: Array<'username_password' | 'authenticator' | 'custom'>;
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* Body param: Name of the authentication flow
|
|
340
|
-
*/
|
|
341
|
-
name?: string;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
export namespace AuthFlowUpdateParams {
|
|
345
|
-
export interface CustomField {
|
|
346
|
-
/**
|
|
347
|
-
* Name of the custom field
|
|
348
|
-
*/
|
|
349
|
-
name: string;
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
|
|
353
231
|
export interface AuthFlowDeleteParams {
|
|
354
232
|
/**
|
|
355
233
|
* The ID of the application
|
|
@@ -360,11 +238,9 @@ export interface AuthFlowDeleteParams {
|
|
|
360
238
|
export declare namespace AuthFlows {
|
|
361
239
|
export {
|
|
362
240
|
type AuthFlowCreateResponse as AuthFlowCreateResponse,
|
|
363
|
-
type AuthFlowUpdateResponse as AuthFlowUpdateResponse,
|
|
364
241
|
type AuthFlowListResponse as AuthFlowListResponse,
|
|
365
242
|
type AuthFlowDeleteResponse as AuthFlowDeleteResponse,
|
|
366
243
|
type AuthFlowCreateParams as AuthFlowCreateParams,
|
|
367
|
-
type AuthFlowUpdateParams as AuthFlowUpdateParams,
|
|
368
244
|
type AuthFlowDeleteParams as AuthFlowDeleteParams,
|
|
369
245
|
};
|
|
370
246
|
}
|
|
@@ -16,10 +16,8 @@ export {
|
|
|
16
16
|
export {
|
|
17
17
|
AuthFlows,
|
|
18
18
|
type AuthFlowCreateResponse,
|
|
19
|
-
type AuthFlowUpdateResponse,
|
|
20
19
|
type AuthFlowListResponse,
|
|
21
20
|
type AuthFlowDeleteResponse,
|
|
22
21
|
type AuthFlowCreateParams,
|
|
23
|
-
type AuthFlowUpdateParams,
|
|
24
22
|
type AuthFlowDeleteParams,
|
|
25
23
|
} from './auth-flows';
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.13.
|
|
1
|
+
export const VERSION = '0.13.2'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.13.
|
|
1
|
+
export declare const VERSION = "0.13.2";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.13.
|
|
1
|
+
export declare const VERSION = "0.13.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.13.
|
|
1
|
+
export const VERSION = '0.13.2'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|