@seamapi/http 1.40.1 → 1.42.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/dist/connect.cjs +638 -213
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +256 -224
- package/lib/seam/connect/resolve-action-attempt.d.ts +32 -168
- package/lib/seam/connect/routes/access-methods/access-methods.d.ts +12 -0
- package/lib/seam/connect/routes/access-methods/access-methods.js +9 -0
- package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +0 -12
- package/lib/seam/connect/routes/acs/encoders/encoders.js +0 -9
- package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
- package/lib/seam/connect/routes/customers/customers.d.ts +47 -0
- package/lib/seam/connect/routes/customers/customers.js +105 -0
- package/lib/seam/connect/routes/customers/customers.js.map +1 -0
- package/lib/seam/connect/routes/customers/index.d.ts +1 -0
- package/lib/seam/connect/routes/{unstable-partner/resources → customers}/index.js +1 -1
- package/lib/seam/connect/routes/customers/index.js.map +1 -0
- package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +1 -1
- package/lib/seam/connect/routes/index.d.ts +1 -0
- package/lib/seam/connect/routes/index.js +1 -0
- package/lib/seam/connect/routes/index.js.map +1 -1
- package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +1 -1
- package/lib/seam/connect/routes/seam/customer/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/{partner/v1/resources → customer}/index.js +1 -1
- package/lib/seam/connect/routes/seam/customer/index.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.d.ts +34 -0
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.js +102 -0
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/automations/automations.d.ts +60 -0
- package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js +126 -0
- package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/automations/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/automations/index.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/automations/index.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.d.ts +5 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.js +10 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/portals/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/portals/index.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/portals/index.js.map +1 -0
- package/lib/seam/connect/routes/{unstable-partner/resources/resources.d.ts → seam/customer/v1/portals/portals.d.ts} +20 -20
- package/lib/seam/connect/routes/{unstable-partner/resources/resources.js → seam/customer/v1/portals/portals.js} +21 -21
- package/lib/seam/connect/routes/{unstable-partner/resources/resources.js.map → seam/customer/v1/portals/portals.js.map} +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/settings/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/settings/index.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/settings/index.js.map +1 -0
- package/lib/seam/connect/routes/seam/{partner/v1/resources/resources.d.ts → customer/v1/settings/settings.d.ts} +15 -15
- package/lib/seam/connect/routes/seam/{partner/v1/resources/resources.js → customer/v1/settings/settings.js} +14 -14
- package/lib/seam/connect/routes/seam/customer/v1/settings/settings.js.map +1 -0
- package/lib/seam/connect/routes/seam/{partner → customer}/v1/v1.d.ts +15 -11
- package/lib/seam/connect/routes/seam/{partner → customer}/v1/v1.js +23 -15
- package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +1 -0
- package/lib/seam/connect/routes/seam/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/index.js +1 -0
- package/lib/seam/connect/routes/seam/index.js.map +1 -1
- package/lib/seam/connect/routes/seam/partner/v1/index.d.ts +0 -2
- package/lib/seam/connect/routes/seam/partner/v1/index.js +0 -2
- package/lib/seam/connect/routes/seam/partner/v1/index.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +19 -10
- package/lib/seam/connect/routes/seam-http-endpoints.js +84 -27
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/seam/connect/routes/seam-http.d.ts +2 -0
- package/lib/seam/connect/routes/seam-http.js +4 -0
- package/lib/seam/connect/routes/seam-http.js.map +1 -1
- package/lib/seam/connect/routes/unstable-partner/index.d.ts +0 -1
- package/lib/seam/connect/routes/unstable-partner/index.js +0 -1
- package/lib/seam/connect/routes/unstable-partner/index.js.map +1 -1
- package/lib/seam/connect/routes/unstable-partner/unstable-partner.d.ts +0 -2
- package/lib/seam/connect/routes/unstable-partner/unstable-partner.js +0 -4
- package/lib/seam/connect/routes/unstable-partner/unstable-partner.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/lib/seam/connect/routes/access-methods/access-methods.ts +38 -0
- package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +0 -39
- package/src/lib/seam/connect/routes/customers/customers.ts +234 -0
- package/src/lib/seam/connect/routes/{seam/partner/v1/resources → customers}/index.ts +1 -1
- package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +1 -1
- package/src/lib/seam/connect/routes/index.ts +1 -0
- package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +1 -1
- package/src/lib/seam/connect/routes/{unstable-partner/resources → seam/customer}/index.ts +1 -1
- package/src/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.ts +215 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.ts +6 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/automations/automations.ts +303 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/automations/index.ts +6 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +10 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/portals/index.ts +6 -0
- package/src/lib/seam/connect/routes/seam/{partner/v1/resources/resources.ts → customer/v1/portals/portals.ts} +31 -32
- package/src/lib/seam/connect/routes/seam/customer/v1/settings/index.ts +6 -0
- package/src/lib/seam/connect/routes/{unstable-partner/resources/resources.ts → seam/customer/v1/settings/settings.ts} +30 -33
- package/src/lib/seam/connect/routes/seam/{partner → customer}/v1/v1.ts +33 -20
- package/src/lib/seam/connect/routes/seam/index.ts +1 -0
- package/src/lib/seam/connect/routes/seam/partner/v1/index.ts +0 -2
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +216 -72
- package/src/lib/seam/connect/routes/seam-http.ts +5 -0
- package/src/lib/seam/connect/routes/unstable-partner/index.ts +0 -1
- package/src/lib/seam/connect/routes/unstable-partner/unstable-partner.ts +0 -8
- package/src/lib/version.ts +1 -1
- package/lib/seam/connect/routes/seam/partner/v1/resources/index.d.ts +0 -1
- package/lib/seam/connect/routes/seam/partner/v1/resources/index.js.map +0 -1
- package/lib/seam/connect/routes/seam/partner/v1/resources/resources.js.map +0 -1
- package/lib/seam/connect/routes/seam/partner/v1/v1.js.map +0 -1
- package/lib/seam/connect/routes/unstable-partner/resources/index.d.ts +0 -1
- package/lib/seam/connect/routes/unstable-partner/resources/index.js.map +0 -1
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect';
|
|
2
|
-
import { type Client } from '
|
|
3
|
-
import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '
|
|
4
|
-
import { SeamHttpRequest } from '
|
|
5
|
-
import { SeamPaginator } from '
|
|
6
|
-
import type { SetNonNullable } from '
|
|
7
|
-
export declare class
|
|
2
|
+
import { type Client } from '../../../../../../../../lib/seam/connect/client.js';
|
|
3
|
+
import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../../../../../lib/seam/connect/options.js';
|
|
4
|
+
import { SeamHttpRequest } from '../../../../../../../../lib/seam/connect/seam-http-request.js';
|
|
5
|
+
import { SeamPaginator } from '../../../../../../../../lib/seam/connect/seam-paginator.js';
|
|
6
|
+
import type { SetNonNullable } from '../../../../../../../../lib/types.js';
|
|
7
|
+
export declare class SeamHttpSeamCustomerV1Portals {
|
|
8
8
|
client: Client;
|
|
9
9
|
readonly defaults: Required<SeamHttpRequestOptions>;
|
|
10
10
|
readonly ltsVersion = "1.0.0";
|
|
11
11
|
static ltsVersion: string;
|
|
12
12
|
constructor(apiKeyOrOptions?: string | SeamHttpOptions);
|
|
13
|
-
static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>):
|
|
14
|
-
static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>):
|
|
15
|
-
static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>):
|
|
16
|
-
static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<
|
|
17
|
-
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>):
|
|
18
|
-
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>):
|
|
13
|
+
static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpSeamCustomerV1Portals;
|
|
14
|
+
static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpSeamCustomerV1Portals;
|
|
15
|
+
static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpSeamCustomerV1Portals;
|
|
16
|
+
static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpSeamCustomerV1Portals>;
|
|
17
|
+
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpSeamCustomerV1Portals;
|
|
18
|
+
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpSeamCustomerV1Portals;
|
|
19
19
|
createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
|
|
20
20
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
21
|
-
|
|
21
|
+
get(parameters?: SeamCustomerV1PortalsGetParameters, options?: SeamCustomerV1PortalsGetOptions): SeamCustomerV1PortalsGetRequest;
|
|
22
22
|
}
|
|
23
|
-
export type
|
|
23
|
+
export type SeamCustomerV1PortalsGetParameters = RouteRequestBody<'/seam/customer/v1/portals/get'>;
|
|
24
24
|
/**
|
|
25
|
-
* @deprecated Use
|
|
25
|
+
* @deprecated Use SeamCustomerV1PortalsGetParameters instead.
|
|
26
26
|
*/
|
|
27
|
-
export type
|
|
27
|
+
export type SeamCustomerV1PortalsGetParams = SeamCustomerV1PortalsGetParameters;
|
|
28
28
|
/**
|
|
29
|
-
* @deprecated Use
|
|
29
|
+
* @deprecated Use SeamCustomerV1PortalsGetRequest instead.
|
|
30
30
|
*/
|
|
31
|
-
export type
|
|
32
|
-
export type
|
|
33
|
-
export interface
|
|
31
|
+
export type SeamCustomerV1PortalsGetResponse = SetNonNullable<Required<RouteResponse<'/seam/customer/v1/portals/get'>>>;
|
|
32
|
+
export type SeamCustomerV1PortalsGetRequest = SeamHttpRequest<SeamCustomerV1PortalsGetResponse, 'customer_portal'>;
|
|
33
|
+
export interface SeamCustomerV1PortalsGetOptions {
|
|
34
34
|
}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
* Automatically generated by codegen/smith.ts.
|
|
3
3
|
* Do not edit this file or add other files to this directory.
|
|
4
4
|
*/
|
|
5
|
-
import { seamApiLtsVersion } from '
|
|
6
|
-
import { getAuthHeadersForClientSessionToken, warnOnInsecureuserIdentifierKey, } from '
|
|
7
|
-
import { createClient } from '
|
|
8
|
-
import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '
|
|
9
|
-
import { limitToSeamHttpRequestOptions, parseOptions, } from '
|
|
10
|
-
import { SeamHttpClientSessions } from '
|
|
11
|
-
import { SeamHttpRequest } from '
|
|
12
|
-
import { SeamPaginator } from '
|
|
13
|
-
export class
|
|
5
|
+
import { seamApiLtsVersion } from '../../../../../../../../lib/lts-version.js';
|
|
6
|
+
import { getAuthHeadersForClientSessionToken, warnOnInsecureuserIdentifierKey, } from '../../../../../../../../lib/seam/connect/auth.js';
|
|
7
|
+
import { createClient } from '../../../../../../../../lib/seam/connect/client.js';
|
|
8
|
+
import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../../../../../lib/seam/connect/options.js';
|
|
9
|
+
import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../../../../../lib/seam/connect/parse-options.js';
|
|
10
|
+
import { SeamHttpClientSessions } from '../../../../../../../../lib/seam/connect/routes/client-sessions/index.js';
|
|
11
|
+
import { SeamHttpRequest } from '../../../../../../../../lib/seam/connect/seam-http-request.js';
|
|
12
|
+
import { SeamPaginator } from '../../../../../../../../lib/seam/connect/seam-paginator.js';
|
|
13
|
+
export class SeamHttpSeamCustomerV1Portals {
|
|
14
14
|
constructor(apiKeyOrOptions = {}) {
|
|
15
15
|
this.ltsVersion = seamApiLtsVersion;
|
|
16
16
|
const options = parseOptions(apiKeyOrOptions);
|
|
@@ -25,48 +25,48 @@ export class SeamHttpUnstablePartnerResources {
|
|
|
25
25
|
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
26
26
|
throw new SeamHttpInvalidOptionsError('Missing client');
|
|
27
27
|
}
|
|
28
|
-
return new
|
|
28
|
+
return new SeamHttpSeamCustomerV1Portals(constructorOptions);
|
|
29
29
|
}
|
|
30
30
|
static fromApiKey(apiKey, options = {}) {
|
|
31
31
|
const constructorOptions = { ...options, apiKey };
|
|
32
32
|
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
33
33
|
throw new SeamHttpInvalidOptionsError('Missing apiKey');
|
|
34
34
|
}
|
|
35
|
-
return new
|
|
35
|
+
return new SeamHttpSeamCustomerV1Portals(constructorOptions);
|
|
36
36
|
}
|
|
37
37
|
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
38
38
|
const constructorOptions = { ...options, clientSessionToken };
|
|
39
39
|
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
40
40
|
throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
|
|
41
41
|
}
|
|
42
|
-
return new
|
|
42
|
+
return new SeamHttpSeamCustomerV1Portals(constructorOptions);
|
|
43
43
|
}
|
|
44
44
|
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
45
45
|
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
46
46
|
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
47
47
|
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
48
|
-
throw new SeamHttpInvalidOptionsError('The client option cannot be used with
|
|
48
|
+
throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpSeamCustomerV1Portals.fromPublishableKey');
|
|
49
49
|
}
|
|
50
50
|
const client = createClient(clientOptions);
|
|
51
51
|
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
52
52
|
const { token } = await clientSessions.getOrCreate({
|
|
53
53
|
user_identifier_key: userIdentifierKey,
|
|
54
54
|
});
|
|
55
|
-
return
|
|
55
|
+
return SeamHttpSeamCustomerV1Portals.fromClientSessionToken(token, options);
|
|
56
56
|
}
|
|
57
57
|
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
58
58
|
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
59
59
|
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
60
60
|
throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
|
|
61
61
|
}
|
|
62
|
-
return new
|
|
62
|
+
return new SeamHttpSeamCustomerV1Portals(constructorOptions);
|
|
63
63
|
}
|
|
64
64
|
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
65
65
|
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
66
66
|
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
67
67
|
throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
|
|
68
68
|
}
|
|
69
|
-
return new
|
|
69
|
+
return new SeamHttpSeamCustomerV1Portals(constructorOptions);
|
|
70
70
|
}
|
|
71
71
|
createPaginator(request) {
|
|
72
72
|
return new SeamPaginator(this, request);
|
|
@@ -85,18 +85,18 @@ export class SeamHttpUnstablePartnerResources {
|
|
|
85
85
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
86
86
|
await clientSessions.get();
|
|
87
87
|
}
|
|
88
|
-
|
|
88
|
+
get(parameters, options = {}) {
|
|
89
89
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
90
90
|
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
91
91
|
}
|
|
92
92
|
return new SeamHttpRequest(this, {
|
|
93
|
-
pathname: '/
|
|
93
|
+
pathname: '/seam/customer/v1/portals/get',
|
|
94
94
|
method: 'POST',
|
|
95
95
|
body: parameters,
|
|
96
|
-
responseKey:
|
|
96
|
+
responseKey: 'customer_portal',
|
|
97
97
|
options,
|
|
98
98
|
});
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
//# sourceMappingURL=
|
|
101
|
+
SeamHttpSeamCustomerV1Portals.ltsVersion = seamApiLtsVersion;
|
|
102
|
+
//# sourceMappingURL=portals.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"portals.js","sourceRoot":"","s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AC,EAAE,CAAC;YAC3C,IAAI,OAAO,CAAC,GAAG,CAAC,IAAI,IAAI,EAAE,CAAC;gBACzB,MAAM,IAAI,KAAK,CACb,qFAAqF,CACtF,CAAA;YACH,CAAC;QACH,CAAC;QACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,GAAG,EAAE,GAAG,OAAO,EAAE,GAAG,WAAW,EAAE,CAAA;QAC7D,MAAM,cAAc,GAAG,sBAAsB,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrE,MAAM,cAAc,CAAC,GAAG,EAAE,CAAA;IAC5B,CAAC;IAED,GAAG,CACD,UAA+C,EAC/C,UAA2C,EAAE;QAE7C,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,wBAAwB,EAAE,CAAC;YAC5C,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAA;QACH,CAAC;QACD,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,+BAA+B;YACzC,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iBAAiB;YAC9B,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;;AAhJM,wCAAU,GAAG,iBAAiB,AAApB,CAAoB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './settings.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/settings/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,eAAe,CAAA"}
|
|
@@ -4,31 +4,31 @@ import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type Seam
|
|
|
4
4
|
import { SeamHttpRequest } from '../../../../../../../../lib/seam/connect/seam-http-request.js';
|
|
5
5
|
import { SeamPaginator } from '../../../../../../../../lib/seam/connect/seam-paginator.js';
|
|
6
6
|
import type { SetNonNullable } from '../../../../../../../../lib/types.js';
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class SeamHttpSeamCustomerV1Settings {
|
|
8
8
|
client: Client;
|
|
9
9
|
readonly defaults: Required<SeamHttpRequestOptions>;
|
|
10
10
|
readonly ltsVersion = "1.0.0";
|
|
11
11
|
static ltsVersion: string;
|
|
12
12
|
constructor(apiKeyOrOptions?: string | SeamHttpOptions);
|
|
13
|
-
static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>):
|
|
14
|
-
static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>):
|
|
15
|
-
static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>):
|
|
16
|
-
static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<
|
|
17
|
-
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>):
|
|
18
|
-
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>):
|
|
13
|
+
static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpSeamCustomerV1Settings;
|
|
14
|
+
static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpSeamCustomerV1Settings;
|
|
15
|
+
static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpSeamCustomerV1Settings;
|
|
16
|
+
static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpSeamCustomerV1Settings>;
|
|
17
|
+
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpSeamCustomerV1Settings;
|
|
18
|
+
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpSeamCustomerV1Settings;
|
|
19
19
|
createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
|
|
20
20
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
21
|
-
|
|
21
|
+
update(parameters?: SeamCustomerV1SettingsUpdateParameters, options?: SeamCustomerV1SettingsUpdateOptions): SeamCustomerV1SettingsUpdateRequest;
|
|
22
22
|
}
|
|
23
|
-
export type
|
|
23
|
+
export type SeamCustomerV1SettingsUpdateParameters = RouteRequestBody<'/seam/customer/v1/settings/update'>;
|
|
24
24
|
/**
|
|
25
|
-
* @deprecated Use
|
|
25
|
+
* @deprecated Use SeamCustomerV1SettingsUpdateParameters instead.
|
|
26
26
|
*/
|
|
27
|
-
export type
|
|
27
|
+
export type SeamCustomerV1SettingsUpdateBody = SeamCustomerV1SettingsUpdateParameters;
|
|
28
28
|
/**
|
|
29
|
-
* @deprecated Use
|
|
29
|
+
* @deprecated Use SeamCustomerV1SettingsUpdateRequest instead.
|
|
30
30
|
*/
|
|
31
|
-
export type
|
|
32
|
-
export type
|
|
33
|
-
export interface
|
|
31
|
+
export type SeamCustomerV1SettingsUpdateResponse = SetNonNullable<Required<RouteResponse<'/seam/customer/v1/settings/update'>>>;
|
|
32
|
+
export type SeamCustomerV1SettingsUpdateRequest = SeamHttpRequest<void, undefined>;
|
|
33
|
+
export interface SeamCustomerV1SettingsUpdateOptions {
|
|
34
34
|
}
|
|
@@ -10,7 +10,7 @@ import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../../../
|
|
|
10
10
|
import { SeamHttpClientSessions } from '../../../../../../../../lib/seam/connect/routes/client-sessions/index.js';
|
|
11
11
|
import { SeamHttpRequest } from '../../../../../../../../lib/seam/connect/seam-http-request.js';
|
|
12
12
|
import { SeamPaginator } from '../../../../../../../../lib/seam/connect/seam-paginator.js';
|
|
13
|
-
export class
|
|
13
|
+
export class SeamHttpSeamCustomerV1Settings {
|
|
14
14
|
constructor(apiKeyOrOptions = {}) {
|
|
15
15
|
this.ltsVersion = seamApiLtsVersion;
|
|
16
16
|
const options = parseOptions(apiKeyOrOptions);
|
|
@@ -25,48 +25,48 @@ export class SeamHttpSeamPartnerV1Resources {
|
|
|
25
25
|
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
26
26
|
throw new SeamHttpInvalidOptionsError('Missing client');
|
|
27
27
|
}
|
|
28
|
-
return new
|
|
28
|
+
return new SeamHttpSeamCustomerV1Settings(constructorOptions);
|
|
29
29
|
}
|
|
30
30
|
static fromApiKey(apiKey, options = {}) {
|
|
31
31
|
const constructorOptions = { ...options, apiKey };
|
|
32
32
|
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
33
33
|
throw new SeamHttpInvalidOptionsError('Missing apiKey');
|
|
34
34
|
}
|
|
35
|
-
return new
|
|
35
|
+
return new SeamHttpSeamCustomerV1Settings(constructorOptions);
|
|
36
36
|
}
|
|
37
37
|
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
38
38
|
const constructorOptions = { ...options, clientSessionToken };
|
|
39
39
|
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
40
40
|
throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
|
|
41
41
|
}
|
|
42
|
-
return new
|
|
42
|
+
return new SeamHttpSeamCustomerV1Settings(constructorOptions);
|
|
43
43
|
}
|
|
44
44
|
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
45
45
|
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
46
46
|
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
47
47
|
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
48
|
-
throw new SeamHttpInvalidOptionsError('The client option cannot be used with
|
|
48
|
+
throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpSeamCustomerV1Settings.fromPublishableKey');
|
|
49
49
|
}
|
|
50
50
|
const client = createClient(clientOptions);
|
|
51
51
|
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
52
52
|
const { token } = await clientSessions.getOrCreate({
|
|
53
53
|
user_identifier_key: userIdentifierKey,
|
|
54
54
|
});
|
|
55
|
-
return
|
|
55
|
+
return SeamHttpSeamCustomerV1Settings.fromClientSessionToken(token, options);
|
|
56
56
|
}
|
|
57
57
|
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
58
58
|
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
59
59
|
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
60
60
|
throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
|
|
61
61
|
}
|
|
62
|
-
return new
|
|
62
|
+
return new SeamHttpSeamCustomerV1Settings(constructorOptions);
|
|
63
63
|
}
|
|
64
64
|
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
65
65
|
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
66
66
|
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
67
67
|
throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
|
|
68
68
|
}
|
|
69
|
-
return new
|
|
69
|
+
return new SeamHttpSeamCustomerV1Settings(constructorOptions);
|
|
70
70
|
}
|
|
71
71
|
createPaginator(request) {
|
|
72
72
|
return new SeamPaginator(this, request);
|
|
@@ -85,18 +85,18 @@ export class SeamHttpSeamPartnerV1Resources {
|
|
|
85
85
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
86
86
|
await clientSessions.get();
|
|
87
87
|
}
|
|
88
|
-
|
|
88
|
+
update(parameters, options = {}) {
|
|
89
89
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
90
90
|
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
91
91
|
}
|
|
92
92
|
return new SeamHttpRequest(this, {
|
|
93
|
-
pathname: '/seam/
|
|
94
|
-
method: '
|
|
93
|
+
pathname: '/seam/customer/v1/settings/update',
|
|
94
|
+
method: 'PATCH',
|
|
95
95
|
body: parameters,
|
|
96
|
-
responseKey:
|
|
96
|
+
responseKey: undefined,
|
|
97
97
|
options,
|
|
98
98
|
});
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
//# sourceMappingURL=
|
|
101
|
+
SeamHttpSeamCustomerV1Settings.ltsVersion = seamApiLtsVersion;
|
|
102
|
+
//# sourceMappingURL=settings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/settings/settings.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAe,YA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O,EAAE,GAAG,WAAW,EAAE,CAAA;QAC7D,MAAM,cAAc,GAAG,sBAAsB,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrE,MAAM,cAAc,CAAC,GAAG,EAAE,CAAA;IAC5B,CAAC;IAED,MAAM,CACJ,UAAmD,EACnD,UAA+C,EAAE;QAEjD,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,wBAAwB,EAAE,CAAC;YAC5C,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAA;QACH,CAAC;QACD,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,mCAAmC;YAC7C,MAAM,EAAE,OAAO;YACf,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,SAAS;YACtB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;;AAhJM,yCAAU,GAAG,iBAAiB,AAApB,CAAoB"}
|
|
@@ -2,22 +2,26 @@ import { type Client } from '../../../../../../../lib/seam/connect/client.js';
|
|
|
2
2
|
import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../../../../lib/seam/connect/options.js';
|
|
3
3
|
import type { SeamHttpRequest } from '../../../../../../../lib/seam/connect/seam-http-request.js';
|
|
4
4
|
import { SeamPaginator } from '../../../../../../../lib/seam/connect/seam-paginator.js';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
5
|
+
import { SeamHttpSeamCustomerV1AutomationRuns } from './automation-runs/index.js';
|
|
6
|
+
import { SeamHttpSeamCustomerV1Automations } from './automations/index.js';
|
|
7
|
+
import { SeamHttpSeamCustomerV1Portals } from './portals/index.js';
|
|
8
|
+
import { SeamHttpSeamCustomerV1Settings } from './settings/index.js';
|
|
9
|
+
export declare class SeamHttpSeamCustomerV1 {
|
|
8
10
|
client: Client;
|
|
9
11
|
readonly defaults: Required<SeamHttpRequestOptions>;
|
|
10
12
|
readonly ltsVersion = "1.0.0";
|
|
11
13
|
static ltsVersion: string;
|
|
12
14
|
constructor(apiKeyOrOptions?: string | SeamHttpOptions);
|
|
13
|
-
static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>):
|
|
14
|
-
static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>):
|
|
15
|
-
static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>):
|
|
16
|
-
static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<
|
|
17
|
-
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>):
|
|
18
|
-
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>):
|
|
15
|
+
static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpSeamCustomerV1;
|
|
16
|
+
static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpSeamCustomerV1;
|
|
17
|
+
static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpSeamCustomerV1;
|
|
18
|
+
static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpSeamCustomerV1>;
|
|
19
|
+
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpSeamCustomerV1;
|
|
20
|
+
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpSeamCustomerV1;
|
|
19
21
|
createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
|
|
20
22
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
21
|
-
get
|
|
22
|
-
get
|
|
23
|
+
get automationRuns(): SeamHttpSeamCustomerV1AutomationRuns;
|
|
24
|
+
get automations(): SeamHttpSeamCustomerV1Automations;
|
|
25
|
+
get portals(): SeamHttpSeamCustomerV1Portals;
|
|
26
|
+
get settings(): SeamHttpSeamCustomerV1Settings;
|
|
23
27
|
}
|
|
@@ -9,9 +9,11 @@ import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOpt
|
|
|
9
9
|
import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../../../../lib/seam/connect/parse-options.js';
|
|
10
10
|
import { SeamHttpClientSessions } from '../../../../../../../lib/seam/connect/routes/client-sessions/index.js';
|
|
11
11
|
import { SeamPaginator } from '../../../../../../../lib/seam/connect/seam-paginator.js';
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
|
|
12
|
+
import { SeamHttpSeamCustomerV1AutomationRuns } from './automation-runs/index.js';
|
|
13
|
+
import { SeamHttpSeamCustomerV1Automations } from './automations/index.js';
|
|
14
|
+
import { SeamHttpSeamCustomerV1Portals } from './portals/index.js';
|
|
15
|
+
import { SeamHttpSeamCustomerV1Settings } from './settings/index.js';
|
|
16
|
+
export class SeamHttpSeamCustomerV1 {
|
|
15
17
|
constructor(apiKeyOrOptions = {}) {
|
|
16
18
|
this.ltsVersion = seamApiLtsVersion;
|
|
17
19
|
const options = parseOptions(apiKeyOrOptions);
|
|
@@ -26,48 +28,48 @@ export class SeamHttpSeamPartnerV1 {
|
|
|
26
28
|
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
27
29
|
throw new SeamHttpInvalidOptionsError('Missing client');
|
|
28
30
|
}
|
|
29
|
-
return new
|
|
31
|
+
return new SeamHttpSeamCustomerV1(constructorOptions);
|
|
30
32
|
}
|
|
31
33
|
static fromApiKey(apiKey, options = {}) {
|
|
32
34
|
const constructorOptions = { ...options, apiKey };
|
|
33
35
|
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
34
36
|
throw new SeamHttpInvalidOptionsError('Missing apiKey');
|
|
35
37
|
}
|
|
36
|
-
return new
|
|
38
|
+
return new SeamHttpSeamCustomerV1(constructorOptions);
|
|
37
39
|
}
|
|
38
40
|
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
39
41
|
const constructorOptions = { ...options, clientSessionToken };
|
|
40
42
|
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
41
43
|
throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
|
|
42
44
|
}
|
|
43
|
-
return new
|
|
45
|
+
return new SeamHttpSeamCustomerV1(constructorOptions);
|
|
44
46
|
}
|
|
45
47
|
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
46
48
|
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
47
49
|
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
48
50
|
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
49
|
-
throw new SeamHttpInvalidOptionsError('The client option cannot be used with
|
|
51
|
+
throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpSeamCustomerV1.fromPublishableKey');
|
|
50
52
|
}
|
|
51
53
|
const client = createClient(clientOptions);
|
|
52
54
|
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
53
55
|
const { token } = await clientSessions.getOrCreate({
|
|
54
56
|
user_identifier_key: userIdentifierKey,
|
|
55
57
|
});
|
|
56
|
-
return
|
|
58
|
+
return SeamHttpSeamCustomerV1.fromClientSessionToken(token, options);
|
|
57
59
|
}
|
|
58
60
|
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
59
61
|
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
60
62
|
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
61
63
|
throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
|
|
62
64
|
}
|
|
63
|
-
return new
|
|
65
|
+
return new SeamHttpSeamCustomerV1(constructorOptions);
|
|
64
66
|
}
|
|
65
67
|
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
66
68
|
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
67
69
|
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
68
70
|
throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
|
|
69
71
|
}
|
|
70
|
-
return new
|
|
72
|
+
return new SeamHttpSeamCustomerV1(constructorOptions);
|
|
71
73
|
}
|
|
72
74
|
createPaginator(request) {
|
|
73
75
|
return new SeamPaginator(this, request);
|
|
@@ -86,12 +88,18 @@ export class SeamHttpSeamPartnerV1 {
|
|
|
86
88
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
87
89
|
await clientSessions.get();
|
|
88
90
|
}
|
|
89
|
-
get
|
|
90
|
-
return
|
|
91
|
+
get automationRuns() {
|
|
92
|
+
return SeamHttpSeamCustomerV1AutomationRuns.fromClient(this.client, this.defaults);
|
|
91
93
|
}
|
|
92
|
-
get
|
|
93
|
-
return
|
|
94
|
+
get automations() {
|
|
95
|
+
return SeamHttpSeamCustomerV1Automations.fromClient(this.client, this.defaults);
|
|
96
|
+
}
|
|
97
|
+
get portals() {
|
|
98
|
+
return SeamHttpSeamCustomerV1Portals.fromClient(this.client, this.defaults);
|
|
99
|
+
}
|
|
100
|
+
get settings() {
|
|
101
|
+
return SeamHttpSeamCustomerV1Settings.fromClient(this.client, this.defaults);
|
|
94
102
|
}
|
|
95
103
|
}
|
|
96
|
-
|
|
104
|
+
SeamHttpSeamCustomerV1.ltsVersion = seamApiLtsVersion;
|
|
97
105
|
//# sourceMappingURL=v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/v1.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAe,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,uCAAuC,EACvC,wCAAwC,EACxC,wCAAwC,EAExC,2BAA2B,GAQ5B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,6BAA6B,EAC7B,YAAY,GACb,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAA;AAEzF,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAElE,OAAO,EAAE,oCAAoC,EAAE,MAAM,4BAA4B,CAAA;AACjF,O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AC,MAAM,EACX,IAAI,CAAC,QAAQ,CACd,CAAA;IACH,CAAC;IAED,IAAI,WAAW;QACb,OAAO,iCAAiC,CAAC,UAAU,CACjD,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,QAAQ,CACd,CAAA;IACH,CAAC;IAED,IAAI,OAAO;QACT,OAAO,6BAA6B,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;IAC7E,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,8BAA8B,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;IAC9E,CAAC;;AApJM,iCAAU,GAAG,iBAAiB,AAApB,CAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/routes/seam/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,oBAAoB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/routes/seam/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/lib/seam/connect/routes/seam/partner/v1/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,4BAA4B,CAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/lib/seam/connect/routes/seam/partner/v1/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,4BAA4B,CAAA"}
|