@seamapi/http 1.40.1 → 1.41.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.
Files changed (81) hide show
  1. package/dist/connect.cjs +312 -203
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +128 -84
  4. package/lib/seam/connect/routes/customers/customers.d.ts +47 -0
  5. package/lib/seam/connect/routes/customers/customers.js +105 -0
  6. package/lib/seam/connect/routes/customers/customers.js.map +1 -0
  7. package/lib/seam/connect/routes/customers/index.d.ts +1 -0
  8. package/lib/seam/connect/routes/{unstable-partner/resources → customers}/index.js +1 -1
  9. package/lib/seam/connect/routes/customers/index.js.map +1 -0
  10. package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +1 -1
  11. package/lib/seam/connect/routes/index.d.ts +1 -0
  12. package/lib/seam/connect/routes/index.js +1 -0
  13. package/lib/seam/connect/routes/index.js.map +1 -1
  14. package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +1 -1
  15. package/lib/seam/connect/routes/seam/customer/index.d.ts +1 -0
  16. package/lib/seam/connect/routes/seam/{partner/v1/resources → customer}/index.js +1 -1
  17. package/lib/seam/connect/routes/seam/customer/index.js.map +1 -0
  18. package/lib/seam/connect/routes/seam/customer/v1/index.d.ts +3 -0
  19. package/lib/seam/connect/routes/seam/customer/v1/index.js +8 -0
  20. package/lib/seam/connect/routes/seam/customer/v1/index.js.map +1 -0
  21. package/lib/seam/connect/routes/seam/customer/v1/portals/index.d.ts +1 -0
  22. package/lib/seam/connect/routes/seam/customer/v1/portals/index.js +6 -0
  23. package/lib/seam/connect/routes/seam/customer/v1/portals/index.js.map +1 -0
  24. package/lib/seam/connect/routes/{unstable-partner/resources/resources.d.ts → seam/customer/v1/portals/portals.d.ts} +20 -20
  25. package/lib/seam/connect/routes/{unstable-partner/resources/resources.js → seam/customer/v1/portals/portals.js} +21 -21
  26. package/lib/seam/connect/routes/{unstable-partner/resources/resources.js.map → seam/customer/v1/portals/portals.js.map} +1 -1
  27. package/lib/seam/connect/routes/seam/customer/v1/settings/index.d.ts +1 -0
  28. package/lib/seam/connect/routes/seam/customer/v1/settings/index.js +6 -0
  29. package/lib/seam/connect/routes/seam/customer/v1/settings/index.js.map +1 -0
  30. package/lib/seam/connect/routes/seam/{partner/v1/resources/resources.d.ts → customer/v1/settings/settings.d.ts} +15 -15
  31. package/lib/seam/connect/routes/seam/{partner/v1/resources/resources.js → customer/v1/settings/settings.js} +14 -14
  32. package/lib/seam/connect/routes/seam/customer/v1/settings/settings.js.map +1 -0
  33. package/lib/seam/connect/routes/seam/{partner → customer}/v1/v1.d.ts +11 -11
  34. package/lib/seam/connect/routes/seam/{partner → customer}/v1/v1.js +15 -15
  35. package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +1 -0
  36. package/lib/seam/connect/routes/seam/index.d.ts +1 -0
  37. package/lib/seam/connect/routes/seam/index.js +1 -0
  38. package/lib/seam/connect/routes/seam/index.js.map +1 -1
  39. package/lib/seam/connect/routes/seam/partner/v1/index.d.ts +0 -2
  40. package/lib/seam/connect/routes/seam/partner/v1/index.js +0 -2
  41. package/lib/seam/connect/routes/seam/partner/v1/index.js.map +1 -1
  42. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +9 -6
  43. package/lib/seam/connect/routes/seam-http-endpoints.js +35 -20
  44. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  45. package/lib/seam/connect/routes/seam-http.d.ts +2 -0
  46. package/lib/seam/connect/routes/seam-http.js +4 -0
  47. package/lib/seam/connect/routes/seam-http.js.map +1 -1
  48. package/lib/seam/connect/routes/unstable-partner/index.d.ts +0 -1
  49. package/lib/seam/connect/routes/unstable-partner/index.js +0 -1
  50. package/lib/seam/connect/routes/unstable-partner/index.js.map +1 -1
  51. package/lib/seam/connect/routes/unstable-partner/unstable-partner.d.ts +0 -2
  52. package/lib/seam/connect/routes/unstable-partner/unstable-partner.js +0 -4
  53. package/lib/seam/connect/routes/unstable-partner/unstable-partner.js.map +1 -1
  54. package/lib/version.d.ts +1 -1
  55. package/lib/version.js +1 -1
  56. package/package.json +3 -3
  57. package/src/lib/seam/connect/routes/customers/customers.ts +234 -0
  58. package/src/lib/seam/connect/routes/{seam/partner/v1/resources → customers}/index.ts +1 -1
  59. package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +1 -1
  60. package/src/lib/seam/connect/routes/index.ts +1 -0
  61. package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +1 -1
  62. package/src/lib/seam/connect/routes/{unstable-partner/resources → seam/customer}/index.ts +1 -1
  63. package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +8 -0
  64. package/src/lib/seam/connect/routes/seam/customer/v1/portals/index.ts +6 -0
  65. package/src/lib/seam/connect/routes/seam/{partner/v1/resources/resources.ts → customer/v1/portals/portals.ts} +31 -32
  66. package/src/lib/seam/connect/routes/seam/customer/v1/settings/index.ts +6 -0
  67. package/src/lib/seam/connect/routes/{unstable-partner/resources/resources.ts → seam/customer/v1/settings/settings.ts} +30 -33
  68. package/src/lib/seam/connect/routes/seam/{partner → customer}/v1/v1.ts +20 -23
  69. package/src/lib/seam/connect/routes/seam/index.ts +1 -0
  70. package/src/lib/seam/connect/routes/seam/partner/v1/index.ts +0 -2
  71. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +88 -51
  72. package/src/lib/seam/connect/routes/seam-http.ts +5 -0
  73. package/src/lib/seam/connect/routes/unstable-partner/index.ts +0 -1
  74. package/src/lib/seam/connect/routes/unstable-partner/unstable-partner.ts +0 -8
  75. package/src/lib/version.ts +1 -1
  76. package/lib/seam/connect/routes/seam/partner/v1/resources/index.d.ts +0 -1
  77. package/lib/seam/connect/routes/seam/partner/v1/resources/index.js.map +0 -1
  78. package/lib/seam/connect/routes/seam/partner/v1/resources/resources.js.map +0 -1
  79. package/lib/seam/connect/routes/seam/partner/v1/v1.js.map +0 -1
  80. package/lib/seam/connect/routes/unstable-partner/resources/index.d.ts +0 -1
  81. package/lib/seam/connect/routes/unstable-partner/resources/index.js.map +0 -1
@@ -0,0 +1,47 @@
1
+ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect';
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 SeamHttpCustomers {
8
+ client: Client;
9
+ readonly defaults: Required<SeamHttpRequestOptions>;
10
+ readonly ltsVersion = "1.0.0";
11
+ static ltsVersion: string;
12
+ constructor(apiKeyOrOptions?: string | SeamHttpOptions);
13
+ static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpCustomers;
14
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpCustomers;
15
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpCustomers;
16
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpCustomers>;
17
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpCustomers;
18
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpCustomers;
19
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
20
+ updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
21
+ createPortal(parameters?: CustomersCreatePortalParameters, options?: CustomersCreatePortalOptions): CustomersCreatePortalRequest;
22
+ pushData(parameters?: CustomersPushDataParameters, options?: CustomersPushDataOptions): CustomersPushDataRequest;
23
+ }
24
+ export type CustomersCreatePortalParameters = RouteRequestBody<'/customers/create_portal'>;
25
+ /**
26
+ * @deprecated Use CustomersCreatePortalParameters instead.
27
+ */
28
+ export type CustomersCreatePortalBody = CustomersCreatePortalParameters;
29
+ /**
30
+ * @deprecated Use CustomersCreatePortalRequest instead.
31
+ */
32
+ export type CustomersCreatePortalResponse = SetNonNullable<Required<RouteResponse<'/customers/create_portal'>>>;
33
+ export type CustomersCreatePortalRequest = SeamHttpRequest<CustomersCreatePortalResponse, 'magic_link'>;
34
+ export interface CustomersCreatePortalOptions {
35
+ }
36
+ export type CustomersPushDataParameters = RouteRequestBody<'/customers/push_data'>;
37
+ /**
38
+ * @deprecated Use CustomersPushDataParameters instead.
39
+ */
40
+ export type CustomersPushDataBody = CustomersPushDataParameters;
41
+ /**
42
+ * @deprecated Use CustomersPushDataRequest instead.
43
+ */
44
+ export type CustomersPushDataResponse = SetNonNullable<Required<RouteResponse<'/customers/push_data'>>>;
45
+ export type CustomersPushDataRequest = SeamHttpRequest<void, undefined>;
46
+ export interface CustomersPushDataOptions {
47
+ }
@@ -0,0 +1,105 @@
1
+ /*
2
+ * Automatically generated by codegen/smith.ts.
3
+ * Do not edit this file or add other files to this directory.
4
+ */
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 SeamHttpCustomers {
14
+ constructor(apiKeyOrOptions = {}) {
15
+ this.ltsVersion = seamApiLtsVersion;
16
+ const options = parseOptions(apiKeyOrOptions);
17
+ this.client = 'client' in options ? options.client : createClient(options);
18
+ this.defaults = limitToSeamHttpRequestOptions(options);
19
+ }
20
+ static fromClient(client, options = {}) {
21
+ const constructorOptions = { ...options, client };
22
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
23
+ throw new SeamHttpInvalidOptionsError('Missing client');
24
+ }
25
+ return new SeamHttpCustomers(constructorOptions);
26
+ }
27
+ static fromApiKey(apiKey, options = {}) {
28
+ const constructorOptions = { ...options, apiKey };
29
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
30
+ throw new SeamHttpInvalidOptionsError('Missing apiKey');
31
+ }
32
+ return new SeamHttpCustomers(constructorOptions);
33
+ }
34
+ static fromClientSessionToken(clientSessionToken, options = {}) {
35
+ const constructorOptions = { ...options, clientSessionToken };
36
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
37
+ throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
38
+ }
39
+ return new SeamHttpCustomers(constructorOptions);
40
+ }
41
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
42
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
43
+ const clientOptions = parseOptions({ ...options, publishableKey });
44
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
45
+ throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpCustomers.fromPublishableKey');
46
+ }
47
+ const client = createClient(clientOptions);
48
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
49
+ const { token } = await clientSessions.getOrCreate({
50
+ user_identifier_key: userIdentifierKey,
51
+ });
52
+ return SeamHttpCustomers.fromClientSessionToken(token, options);
53
+ }
54
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
55
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
56
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
57
+ throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
58
+ }
59
+ return new SeamHttpCustomers(constructorOptions);
60
+ }
61
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
62
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
63
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
64
+ throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
65
+ }
66
+ return new SeamHttpCustomers(constructorOptions);
67
+ }
68
+ createPaginator(request) {
69
+ return new SeamPaginator(this, request);
70
+ }
71
+ async updateClientSessionToken(clientSessionToken) {
72
+ const { headers } = this.client.defaults;
73
+ const authHeaders = getAuthHeadersForClientSessionToken({
74
+ clientSessionToken,
75
+ });
76
+ for (const key of Object.keys(authHeaders)) {
77
+ if (headers[key] == null) {
78
+ throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
79
+ }
80
+ }
81
+ this.client.defaults.headers = { ...headers, ...authHeaders };
82
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
83
+ await clientSessions.get();
84
+ }
85
+ createPortal(parameters, options = {}) {
86
+ return new SeamHttpRequest(this, {
87
+ pathname: '/customers/create_portal',
88
+ method: 'POST',
89
+ body: parameters,
90
+ responseKey: 'magic_link',
91
+ options,
92
+ });
93
+ }
94
+ pushData(parameters, options = {}) {
95
+ return new SeamHttpRequest(this, {
96
+ pathname: '/customers/push_data',
97
+ method: 'POST',
98
+ body: parameters,
99
+ responseKey: undefined,
100
+ options,
101
+ });
102
+ }
103
+ }
104
+ SeamHttpCustomers.ltsVersion = seamApiLtsVersion;
105
+ //# sourceMappingURL=customers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customers.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/routes/customers/customers.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,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;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAGlE,MAAM,OAAO,iBAAiB;IAM5B,YAAY,kBAA4C,EAAE;QAHjD,eAAU,GAAG,iBAAiB,CAAA;QAIrC,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;QAC7C,IAAI,CAAC,MAAM,GAAG,QAAQ,IAAI,OAAO,CAAC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'./customers.js';
@@ -2,5 +2,5 @@
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
- export * from './resources.js';
5
+ export * from './customers.js';
6
6
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/routes/customers/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,gBAAgB,CAAA"}
@@ -50,7 +50,7 @@ export type DevicesSimulateRemoveParameters = RouteRequestBody<'/devices/simulat
50
50
  /**
51
51
  * @deprecated Use DevicesSimulateRemoveParameters instead.
52
52
  */
53
- export type DevicesSimulateRemoveParams = DevicesSimulateRemoveParameters;
53
+ export type DevicesSimulateRemoveBody = DevicesSimulateRemoveParameters;
54
54
  /**
55
55
  * @deprecated Use DevicesSimulateRemoveRequest instead.
56
56
  */
@@ -7,6 +7,7 @@ export * from './bridges/index.js';
7
7
  export * from './client-sessions/index.js';
8
8
  export * from './connect-webviews/index.js';
9
9
  export * from './connected-accounts/index.js';
10
+ export * from './customers/index.js';
10
11
  export * from './devices/index.js';
11
12
  export * from './events/index.js';
12
13
  export * from './locks/index.js';
@@ -11,6 +11,7 @@ export * from './bridges/index.js';
11
11
  export * from './client-sessions/index.js';
12
12
  export * from './connect-webviews/index.js';
13
13
  export * from './connected-accounts/index.js';
14
+ export * from './customers/index.js';
14
15
  export * from './devices/index.js';
15
16
  export * from './events/index.js';
16
17
  export * from './locks/index.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/routes/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,2BAA2B,CAAA;AACzC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAA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C1D,cAAc,kCAAkC,CAAA;AAChD,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mCAAmC,CAAA;AACjD,cAAc,oCAAoC,CAAA;AAClD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
@@ -24,7 +24,7 @@ export type PhonesSimulateCreateSandboxPhoneParameters = RouteRequestBody<'/phon
24
24
  /**
25
25
  * @deprecated Use PhonesSimulateCreateSandboxPhoneParameters instead.
26
26
  */
27
- export type PhonesSimulateCreateSandboxPhoneParams = PhonesSimulateCreateSandboxPhoneParameters;
27
+ export type PhonesSimulateCreateSandboxPhoneBody = PhonesSimulateCreateSandboxPhoneParameters;
28
28
  /**
29
29
  * @deprecated Use PhonesSimulateCreateSandboxPhoneRequest instead.
30
30
  */
@@ -0,0 +1 @@
1
+ export * from './v1/index.js';
@@ -2,5 +2,5 @@
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
- export * from './resources.js';
5
+ export * from './v1/index.js';
6
6
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/routes/seam/customer/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,eAAe,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './portals/index.js';
2
+ export * from './settings/index.js';
3
+ export * from './v1.js';
@@ -0,0 +1,8 @@
1
+ /*
2
+ * Automatically generated by codegen/smith.ts.
3
+ * Do not edit this file or add other files to this directory.
4
+ */
5
+ export * from './portals/index.js';
6
+ export * from './settings/index.js';
7
+ export * from './v1.js';
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,SAAS,CAAA"}
@@ -0,0 +1 @@
1
+ export * from './portals.js';
@@ -0,0 +1,6 @@
1
+ /*
2
+ * Automatically generated by codegen/smith.ts.
3
+ * Do not edit this file or add other files to this directory.
4
+ */
5
+ export * from './portals.js';
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/portals/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,cAAc,CAAA"}
@@ -1,34 +1,34 @@
1
1
  import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect';
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 SeamHttpUnstablePartnerResources {
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'>): SeamHttpUnstablePartnerResources;
14
- static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpUnstablePartnerResources;
15
- static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpUnstablePartnerResources;
16
- static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpUnstablePartnerResources>;
17
- static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpUnstablePartnerResources;
18
- static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpUnstablePartnerResources;
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
- push(parameters?: UnstablePartnerResourcesPushParameters, options?: UnstablePartnerResourcesPushOptions): UnstablePartnerResourcesPushRequest;
21
+ get(parameters?: SeamCustomerV1PortalsGetParameters, options?: SeamCustomerV1PortalsGetOptions): SeamCustomerV1PortalsGetRequest;
22
22
  }
23
- export type UnstablePartnerResourcesPushParameters = RouteRequestBody<'/unstable_partner/resources/push'>;
23
+ export type SeamCustomerV1PortalsGetParameters = RouteRequestBody<'/seam/customer/v1/portals/get'>;
24
24
  /**
25
- * @deprecated Use UnstablePartnerResourcesPushParameters instead.
25
+ * @deprecated Use SeamCustomerV1PortalsGetParameters instead.
26
26
  */
27
- export type UnstablePartnerResourcesPushBody = UnstablePartnerResourcesPushParameters;
27
+ export type SeamCustomerV1PortalsGetParams = SeamCustomerV1PortalsGetParameters;
28
28
  /**
29
- * @deprecated Use UnstablePartnerResourcesPushRequest instead.
29
+ * @deprecated Use SeamCustomerV1PortalsGetRequest instead.
30
30
  */
31
- export type UnstablePartnerResourcesPushResponse = SetNonNullable<Required<RouteResponse<'/unstable_partner/resources/push'>>>;
32
- export type UnstablePartnerResourcesPushRequest = SeamHttpRequest<void, undefined>;
33
- export interface UnstablePartnerResourcesPushOptions {
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 '../../../../../../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 SeamHttpUnstablePartnerResources {
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 SeamHttpUnstablePartnerResources(constructorOptions);
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 SeamHttpUnstablePartnerResources(constructorOptions);
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 SeamHttpUnstablePartnerResources(constructorOptions);
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 SeamHttpUnstablePartnerResources.fromPublishableKey');
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 SeamHttpUnstablePartnerResources.fromClientSessionToken(token, options);
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 SeamHttpUnstablePartnerResources(constructorOptions);
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 SeamHttpUnstablePartnerResources(constructorOptions);
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
- push(parameters, options = {}) {
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: '/unstable_partner/resources/push',
93
+ pathname: '/seam/customer/v1/portals/get',
94
94
  method: 'POST',
95
95
  body: parameters,
96
- responseKey: undefined,
96
+ responseKey: 'customer_portal',
97
97
  options,
98
98
  });
99
99
  }
100
100
  }
101
- SeamHttpUnstablePartnerResources.ltsVersion = seamApiLtsVersion;
102
- //# sourceMappingURL=resources.js.map
101
+ SeamHttpSeamCustomerV1Portals.ltsVersion = seamApiLtsVersion;
102
+ //# sourceMappingURL=portals.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resources.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/routes/unstable-partner/resources/resources.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,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;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AACvE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D,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,kCAAkC;YAC5C,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,SAAS;YACtB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;;AAnJM,2CAAU,GAAG,iBAAiB,AAApB,CAAoB"}
1
+ {"version":3,"file":"portals.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/portals/portals.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,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;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAGlE,MAAM,OAAO,6BAA6B;IAMxC,YAAY,kBAA4C,EAAE;QAHjD,eAAU,GAAG,iBAAiB,CAAA;QAIrC,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;QAC7C,IAAI,CAAC,OAAO,CAAC,wBAAwB,EAAE,CAAC;YACtC,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAA;QACH,CAAC;QACD,IAAI,CAAC,MAAM,GAAG,QAAQ,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,O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;IAClE,CAAC;IAED,KAAK,CAAC,wBAAwB,CAC5B,kBAA+E;QAE/E,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAA;QACxC,MAAM,WAAW,GAAG,mCAAmC,CAAC;YACtD,kBAAkB;SACnB,CAAC,CAAA;QACF,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,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,6 @@
1
+ /*
2
+ * Automatically generated by codegen/smith.ts.
3
+ * Do not edit this file or add other files to this directory.
4
+ */
5
+ export * from './settings.js';
6
+ //# sourceMappingURL=index.js.map
@@ -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 SeamHttpSeamPartnerV1Resources {
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'>): SeamHttpSeamPartnerV1Resources;
14
- static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpSeamPartnerV1Resources;
15
- static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpSeamPartnerV1Resources;
16
- static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpSeamPartnerV1Resources>;
17
- static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpSeamPartnerV1Resources;
18
- static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpSeamPartnerV1Resources;
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
- list(parameters?: SeamPartnerV1ResourcesListParameters, options?: SeamPartnerV1ResourcesListOptions): SeamPartnerV1ResourcesListRequest;
21
+ update(parameters?: SeamCustomerV1SettingsUpdateParameters, options?: SeamCustomerV1SettingsUpdateOptions): SeamCustomerV1SettingsUpdateRequest;
22
22
  }
23
- export type SeamPartnerV1ResourcesListParameters = RouteRequestBody<'/seam/partner/v1/resources/list'>;
23
+ export type SeamCustomerV1SettingsUpdateParameters = RouteRequestBody<'/seam/customer/v1/settings/update'>;
24
24
  /**
25
- * @deprecated Use SeamPartnerV1ResourcesListParameters instead.
25
+ * @deprecated Use SeamCustomerV1SettingsUpdateParameters instead.
26
26
  */
27
- export type SeamPartnerV1ResourcesListParams = SeamPartnerV1ResourcesListParameters;
27
+ export type SeamCustomerV1SettingsUpdateBody = SeamCustomerV1SettingsUpdateParameters;
28
28
  /**
29
- * @deprecated Use SeamPartnerV1ResourcesListRequest instead.
29
+ * @deprecated Use SeamCustomerV1SettingsUpdateRequest instead.
30
30
  */
31
- export type SeamPartnerV1ResourcesListResponse = SetNonNullable<Required<RouteResponse<'/seam/partner/v1/resources/list'>>>;
32
- export type SeamPartnerV1ResourcesListRequest = SeamHttpRequest<SeamPartnerV1ResourcesListResponse, 'partner_resources'>;
33
- export interface SeamPartnerV1ResourcesListOptions {
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
  }