@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.
Files changed (106) hide show
  1. package/dist/connect.cjs +638 -213
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +256 -224
  4. package/lib/seam/connect/resolve-action-attempt.d.ts +32 -168
  5. package/lib/seam/connect/routes/access-methods/access-methods.d.ts +12 -0
  6. package/lib/seam/connect/routes/access-methods/access-methods.js +9 -0
  7. package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
  8. package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +0 -12
  9. package/lib/seam/connect/routes/acs/encoders/encoders.js +0 -9
  10. package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
  11. package/lib/seam/connect/routes/customers/customers.d.ts +47 -0
  12. package/lib/seam/connect/routes/customers/customers.js +105 -0
  13. package/lib/seam/connect/routes/customers/customers.js.map +1 -0
  14. package/lib/seam/connect/routes/customers/index.d.ts +1 -0
  15. package/lib/seam/connect/routes/{unstable-partner/resources → customers}/index.js +1 -1
  16. package/lib/seam/connect/routes/customers/index.js.map +1 -0
  17. package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +1 -1
  18. package/lib/seam/connect/routes/index.d.ts +1 -0
  19. package/lib/seam/connect/routes/index.js +1 -0
  20. package/lib/seam/connect/routes/index.js.map +1 -1
  21. package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +1 -1
  22. package/lib/seam/connect/routes/seam/customer/index.d.ts +1 -0
  23. package/lib/seam/connect/routes/seam/{partner/v1/resources → customer}/index.js +1 -1
  24. package/lib/seam/connect/routes/seam/customer/index.js.map +1 -0
  25. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.d.ts +34 -0
  26. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.js +102 -0
  27. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.js.map +1 -0
  28. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.d.ts +1 -0
  29. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.js +6 -0
  30. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.js.map +1 -0
  31. package/lib/seam/connect/routes/seam/customer/v1/automations/automations.d.ts +60 -0
  32. package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js +126 -0
  33. package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js.map +1 -0
  34. package/lib/seam/connect/routes/seam/customer/v1/automations/index.d.ts +1 -0
  35. package/lib/seam/connect/routes/seam/customer/v1/automations/index.js +6 -0
  36. package/lib/seam/connect/routes/seam/customer/v1/automations/index.js.map +1 -0
  37. package/lib/seam/connect/routes/seam/customer/v1/index.d.ts +5 -0
  38. package/lib/seam/connect/routes/seam/customer/v1/index.js +10 -0
  39. package/lib/seam/connect/routes/seam/customer/v1/index.js.map +1 -0
  40. package/lib/seam/connect/routes/seam/customer/v1/portals/index.d.ts +1 -0
  41. package/lib/seam/connect/routes/seam/customer/v1/portals/index.js +6 -0
  42. package/lib/seam/connect/routes/seam/customer/v1/portals/index.js.map +1 -0
  43. package/lib/seam/connect/routes/{unstable-partner/resources/resources.d.ts → seam/customer/v1/portals/portals.d.ts} +20 -20
  44. package/lib/seam/connect/routes/{unstable-partner/resources/resources.js → seam/customer/v1/portals/portals.js} +21 -21
  45. package/lib/seam/connect/routes/{unstable-partner/resources/resources.js.map → seam/customer/v1/portals/portals.js.map} +1 -1
  46. package/lib/seam/connect/routes/seam/customer/v1/settings/index.d.ts +1 -0
  47. package/lib/seam/connect/routes/seam/customer/v1/settings/index.js +6 -0
  48. package/lib/seam/connect/routes/seam/customer/v1/settings/index.js.map +1 -0
  49. package/lib/seam/connect/routes/seam/{partner/v1/resources/resources.d.ts → customer/v1/settings/settings.d.ts} +15 -15
  50. package/lib/seam/connect/routes/seam/{partner/v1/resources/resources.js → customer/v1/settings/settings.js} +14 -14
  51. package/lib/seam/connect/routes/seam/customer/v1/settings/settings.js.map +1 -0
  52. package/lib/seam/connect/routes/seam/{partner → customer}/v1/v1.d.ts +15 -11
  53. package/lib/seam/connect/routes/seam/{partner → customer}/v1/v1.js +23 -15
  54. package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +1 -0
  55. package/lib/seam/connect/routes/seam/index.d.ts +1 -0
  56. package/lib/seam/connect/routes/seam/index.js +1 -0
  57. package/lib/seam/connect/routes/seam/index.js.map +1 -1
  58. package/lib/seam/connect/routes/seam/partner/v1/index.d.ts +0 -2
  59. package/lib/seam/connect/routes/seam/partner/v1/index.js +0 -2
  60. package/lib/seam/connect/routes/seam/partner/v1/index.js.map +1 -1
  61. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +19 -10
  62. package/lib/seam/connect/routes/seam-http-endpoints.js +84 -27
  63. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  64. package/lib/seam/connect/routes/seam-http.d.ts +2 -0
  65. package/lib/seam/connect/routes/seam-http.js +4 -0
  66. package/lib/seam/connect/routes/seam-http.js.map +1 -1
  67. package/lib/seam/connect/routes/unstable-partner/index.d.ts +0 -1
  68. package/lib/seam/connect/routes/unstable-partner/index.js +0 -1
  69. package/lib/seam/connect/routes/unstable-partner/index.js.map +1 -1
  70. package/lib/seam/connect/routes/unstable-partner/unstable-partner.d.ts +0 -2
  71. package/lib/seam/connect/routes/unstable-partner/unstable-partner.js +0 -4
  72. package/lib/seam/connect/routes/unstable-partner/unstable-partner.js.map +1 -1
  73. package/lib/version.d.ts +1 -1
  74. package/lib/version.js +1 -1
  75. package/package.json +3 -3
  76. package/src/lib/seam/connect/routes/access-methods/access-methods.ts +38 -0
  77. package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +0 -39
  78. package/src/lib/seam/connect/routes/customers/customers.ts +234 -0
  79. package/src/lib/seam/connect/routes/{seam/partner/v1/resources → customers}/index.ts +1 -1
  80. package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +1 -1
  81. package/src/lib/seam/connect/routes/index.ts +1 -0
  82. package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +1 -1
  83. package/src/lib/seam/connect/routes/{unstable-partner/resources → seam/customer}/index.ts +1 -1
  84. package/src/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.ts +215 -0
  85. package/src/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.ts +6 -0
  86. package/src/lib/seam/connect/routes/seam/customer/v1/automations/automations.ts +303 -0
  87. package/src/lib/seam/connect/routes/seam/customer/v1/automations/index.ts +6 -0
  88. package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +10 -0
  89. package/src/lib/seam/connect/routes/seam/customer/v1/portals/index.ts +6 -0
  90. package/src/lib/seam/connect/routes/seam/{partner/v1/resources/resources.ts → customer/v1/portals/portals.ts} +31 -32
  91. package/src/lib/seam/connect/routes/seam/customer/v1/settings/index.ts +6 -0
  92. package/src/lib/seam/connect/routes/{unstable-partner/resources/resources.ts → seam/customer/v1/settings/settings.ts} +30 -33
  93. package/src/lib/seam/connect/routes/seam/{partner → customer}/v1/v1.ts +33 -20
  94. package/src/lib/seam/connect/routes/seam/index.ts +1 -0
  95. package/src/lib/seam/connect/routes/seam/partner/v1/index.ts +0 -2
  96. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +216 -72
  97. package/src/lib/seam/connect/routes/seam-http.ts +5 -0
  98. package/src/lib/seam/connect/routes/unstable-partner/index.ts +0 -1
  99. package/src/lib/seam/connect/routes/unstable-partner/unstable-partner.ts +0 -8
  100. package/src/lib/version.ts +1 -1
  101. package/lib/seam/connect/routes/seam/partner/v1/resources/index.d.ts +0 -1
  102. package/lib/seam/connect/routes/seam/partner/v1/resources/index.js.map +0 -1
  103. package/lib/seam/connect/routes/seam/partner/v1/resources/resources.js.map +0 -1
  104. package/lib/seam/connect/routes/seam/partner/v1/v1.js.map +0 -1
  105. package/lib/seam/connect/routes/unstable-partner/resources/index.d.ts +0 -1
  106. package/lib/seam/connect/routes/unstable-partner/resources/index.js.map +0 -1
@@ -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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ACR,CAAC,CAAA;IACJ,CAAC;;AAnJM,4BAAU,GAAG,iBAAiB,AAApB,CAAoB"}
@@ -0,0 +1 @@
1
+ export * from './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,c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iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,0BAA0B,CAAA;AACxC,cAAc,4CAA4C,CAAA;AAC1D,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,34 @@
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 SeamHttpSeamCustomerV1AutomationRuns {
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'>): SeamHttpSeamCustomerV1AutomationRuns;
14
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpSeamCustomerV1AutomationRuns;
15
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpSeamCustomerV1AutomationRuns;
16
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpSeamCustomerV1AutomationRuns>;
17
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpSeamCustomerV1AutomationRuns;
18
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpSeamCustomerV1AutomationRuns;
19
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
20
+ updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
21
+ list(parameters?: SeamCustomerV1AutomationRunsListParameters, options?: SeamCustomerV1AutomationRunsListOptions): SeamCustomerV1AutomationRunsListRequest;
22
+ }
23
+ export type SeamCustomerV1AutomationRunsListParameters = RouteRequestBody<'/seam/customer/v1/automation_runs/list'>;
24
+ /**
25
+ * @deprecated Use SeamCustomerV1AutomationRunsListParameters instead.
26
+ */
27
+ export type SeamCustomerV1AutomationRunsListParams = SeamCustomerV1AutomationRunsListParameters;
28
+ /**
29
+ * @deprecated Use SeamCustomerV1AutomationRunsListRequest instead.
30
+ */
31
+ export type SeamCustomerV1AutomationRunsListResponse = SetNonNullable<Required<RouteResponse<'/seam/customer/v1/automation_runs/list'>>>;
32
+ export type SeamCustomerV1AutomationRunsListRequest = SeamHttpRequest<SeamCustomerV1AutomationRunsListResponse, 'automation_runs'>;
33
+ export interface SeamCustomerV1AutomationRunsListOptions {
34
+ }
@@ -0,0 +1,102 @@
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 SeamHttpSeamCustomerV1AutomationRuns {
14
+ constructor(apiKeyOrOptions = {}) {
15
+ this.ltsVersion = seamApiLtsVersion;
16
+ const options = parseOptions(apiKeyOrOptions);
17
+ if (!options.isUndocumentedApiEnabled) {
18
+ throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
19
+ }
20
+ this.client = 'client' in options ? options.client : createClient(options);
21
+ this.defaults = limitToSeamHttpRequestOptions(options);
22
+ }
23
+ static fromClient(client, options = {}) {
24
+ const constructorOptions = { ...options, client };
25
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
26
+ throw new SeamHttpInvalidOptionsError('Missing client');
27
+ }
28
+ return new SeamHttpSeamCustomerV1AutomationRuns(constructorOptions);
29
+ }
30
+ static fromApiKey(apiKey, options = {}) {
31
+ const constructorOptions = { ...options, apiKey };
32
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
33
+ throw new SeamHttpInvalidOptionsError('Missing apiKey');
34
+ }
35
+ return new SeamHttpSeamCustomerV1AutomationRuns(constructorOptions);
36
+ }
37
+ static fromClientSessionToken(clientSessionToken, options = {}) {
38
+ const constructorOptions = { ...options, clientSessionToken };
39
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
40
+ throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
41
+ }
42
+ return new SeamHttpSeamCustomerV1AutomationRuns(constructorOptions);
43
+ }
44
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
45
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
46
+ const clientOptions = parseOptions({ ...options, publishableKey });
47
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
48
+ throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpSeamCustomerV1AutomationRuns.fromPublishableKey');
49
+ }
50
+ const client = createClient(clientOptions);
51
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
52
+ const { token } = await clientSessions.getOrCreate({
53
+ user_identifier_key: userIdentifierKey,
54
+ });
55
+ return SeamHttpSeamCustomerV1AutomationRuns.fromClientSessionToken(token, options);
56
+ }
57
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
58
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
59
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
60
+ throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
61
+ }
62
+ return new SeamHttpSeamCustomerV1AutomationRuns(constructorOptions);
63
+ }
64
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
65
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
66
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
67
+ throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
68
+ }
69
+ return new SeamHttpSeamCustomerV1AutomationRuns(constructorOptions);
70
+ }
71
+ createPaginator(request) {
72
+ return new SeamPaginator(this, request);
73
+ }
74
+ async updateClientSessionToken(clientSessionToken) {
75
+ const { headers } = this.client.defaults;
76
+ const authHeaders = getAuthHeadersForClientSessionToken({
77
+ clientSessionToken,
78
+ });
79
+ for (const key of Object.keys(authHeaders)) {
80
+ if (headers[key] == null) {
81
+ throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
82
+ }
83
+ }
84
+ this.client.defaults.headers = { ...headers, ...authHeaders };
85
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
86
+ await clientSessions.get();
87
+ }
88
+ list(parameters, options = {}) {
89
+ if (!this.defaults.isUndocumentedApiEnabled) {
90
+ throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
91
+ }
92
+ return new SeamHttpRequest(this, {
93
+ pathname: '/seam/customer/v1/automation_runs/list',
94
+ method: 'POST',
95
+ body: parameters,
96
+ responseKey: 'automation_runs',
97
+ options,
98
+ });
99
+ }
100
+ }
101
+ SeamHttpSeamCustomerV1AutomationRuns.ltsVersion = seamApiLtsVersion;
102
+ //# sourceMappingURL=automation-runs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"automation-runs.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.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,oCAAoC;IAM/C,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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AClE,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,IAAI,CACF,UAAuD,EACvD,UAAmD,EAAE;QAErD,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,wCAAwC;YAClD,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iBAAiB;YAC9B,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;;AAnJM,+CAAU,GAAG,iBAAiB,AAApB,CAAoB"}
@@ -0,0 +1 @@
1
+ export * from './automation-runs.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 './automation-runs.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/automation-runs/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,sBAAsB,CAAA"}
@@ -0,0 +1,60 @@
1
+ import type { RouteRequestBody, RouteRequestParams, 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 SeamHttpSeamCustomerV1Automations {
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'>): SeamHttpSeamCustomerV1Automations;
14
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpSeamCustomerV1Automations;
15
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpSeamCustomerV1Automations;
16
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpSeamCustomerV1Automations>;
17
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpSeamCustomerV1Automations;
18
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpSeamCustomerV1Automations;
19
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
20
+ updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
21
+ delete(parameters?: SeamCustomerV1AutomationsDeleteParameters, options?: SeamCustomerV1AutomationsDeleteOptions): SeamCustomerV1AutomationsDeleteRequest;
22
+ get(parameters?: SeamCustomerV1AutomationsGetParameters, options?: SeamCustomerV1AutomationsGetOptions): SeamCustomerV1AutomationsGetRequest;
23
+ update(parameters?: SeamCustomerV1AutomationsUpdateParameters, options?: SeamCustomerV1AutomationsUpdateOptions): SeamCustomerV1AutomationsUpdateRequest;
24
+ }
25
+ export type SeamCustomerV1AutomationsDeleteParameters = RouteRequestBody<'/seam/customer/v1/automations/delete'>;
26
+ /**
27
+ * @deprecated Use SeamCustomerV1AutomationsDeleteParameters instead.
28
+ */
29
+ export type SeamCustomerV1AutomationsDeleteParams = SeamCustomerV1AutomationsDeleteParameters;
30
+ /**
31
+ * @deprecated Use SeamCustomerV1AutomationsDeleteRequest instead.
32
+ */
33
+ export type SeamCustomerV1AutomationsDeleteResponse = SetNonNullable<Required<RouteResponse<'/seam/customer/v1/automations/delete'>>>;
34
+ export type SeamCustomerV1AutomationsDeleteRequest = SeamHttpRequest<void, undefined>;
35
+ export interface SeamCustomerV1AutomationsDeleteOptions {
36
+ }
37
+ export type SeamCustomerV1AutomationsGetParameters = RouteRequestParams<'/seam/customer/v1/automations/get'>;
38
+ /**
39
+ * @deprecated Use SeamCustomerV1AutomationsGetParameters instead.
40
+ */
41
+ export type SeamCustomerV1AutomationsGetParams = SeamCustomerV1AutomationsGetParameters;
42
+ /**
43
+ * @deprecated Use SeamCustomerV1AutomationsGetRequest instead.
44
+ */
45
+ export type SeamCustomerV1AutomationsGetResponse = SetNonNullable<Required<RouteResponse<'/seam/customer/v1/automations/get'>>>;
46
+ export type SeamCustomerV1AutomationsGetRequest = SeamHttpRequest<void, undefined>;
47
+ export interface SeamCustomerV1AutomationsGetOptions {
48
+ }
49
+ export type SeamCustomerV1AutomationsUpdateParameters = RouteRequestBody<'/seam/customer/v1/automations/update'>;
50
+ /**
51
+ * @deprecated Use SeamCustomerV1AutomationsUpdateParameters instead.
52
+ */
53
+ export type SeamCustomerV1AutomationsUpdateBody = SeamCustomerV1AutomationsUpdateParameters;
54
+ /**
55
+ * @deprecated Use SeamCustomerV1AutomationsUpdateRequest instead.
56
+ */
57
+ export type SeamCustomerV1AutomationsUpdateResponse = SetNonNullable<Required<RouteResponse<'/seam/customer/v1/automations/update'>>>;
58
+ export type SeamCustomerV1AutomationsUpdateRequest = SeamHttpRequest<void, undefined>;
59
+ export interface SeamCustomerV1AutomationsUpdateOptions {
60
+ }
@@ -0,0 +1,126 @@
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 SeamHttpSeamCustomerV1Automations {
14
+ constructor(apiKeyOrOptions = {}) {
15
+ this.ltsVersion = seamApiLtsVersion;
16
+ const options = parseOptions(apiKeyOrOptions);
17
+ if (!options.isUndocumentedApiEnabled) {
18
+ throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
19
+ }
20
+ this.client = 'client' in options ? options.client : createClient(options);
21
+ this.defaults = limitToSeamHttpRequestOptions(options);
22
+ }
23
+ static fromClient(client, options = {}) {
24
+ const constructorOptions = { ...options, client };
25
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
26
+ throw new SeamHttpInvalidOptionsError('Missing client');
27
+ }
28
+ return new SeamHttpSeamCustomerV1Automations(constructorOptions);
29
+ }
30
+ static fromApiKey(apiKey, options = {}) {
31
+ const constructorOptions = { ...options, apiKey };
32
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
33
+ throw new SeamHttpInvalidOptionsError('Missing apiKey');
34
+ }
35
+ return new SeamHttpSeamCustomerV1Automations(constructorOptions);
36
+ }
37
+ static fromClientSessionToken(clientSessionToken, options = {}) {
38
+ const constructorOptions = { ...options, clientSessionToken };
39
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
40
+ throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
41
+ }
42
+ return new SeamHttpSeamCustomerV1Automations(constructorOptions);
43
+ }
44
+ static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
45
+ warnOnInsecureuserIdentifierKey(userIdentifierKey);
46
+ const clientOptions = parseOptions({ ...options, publishableKey });
47
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
48
+ throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpSeamCustomerV1Automations.fromPublishableKey');
49
+ }
50
+ const client = createClient(clientOptions);
51
+ const clientSessions = SeamHttpClientSessions.fromClient(client);
52
+ const { token } = await clientSessions.getOrCreate({
53
+ user_identifier_key: userIdentifierKey,
54
+ });
55
+ return SeamHttpSeamCustomerV1Automations.fromClientSessionToken(token, options);
56
+ }
57
+ static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
58
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId };
59
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
60
+ throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
61
+ }
62
+ return new SeamHttpSeamCustomerV1Automations(constructorOptions);
63
+ }
64
+ static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
65
+ const constructorOptions = { ...options, personalAccessToken, workspaceId };
66
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
67
+ throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
68
+ }
69
+ return new SeamHttpSeamCustomerV1Automations(constructorOptions);
70
+ }
71
+ createPaginator(request) {
72
+ return new SeamPaginator(this, request);
73
+ }
74
+ async updateClientSessionToken(clientSessionToken) {
75
+ const { headers } = this.client.defaults;
76
+ const authHeaders = getAuthHeadersForClientSessionToken({
77
+ clientSessionToken,
78
+ });
79
+ for (const key of Object.keys(authHeaders)) {
80
+ if (headers[key] == null) {
81
+ throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
82
+ }
83
+ }
84
+ this.client.defaults.headers = { ...headers, ...authHeaders };
85
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client);
86
+ await clientSessions.get();
87
+ }
88
+ delete(parameters, options = {}) {
89
+ if (!this.defaults.isUndocumentedApiEnabled) {
90
+ throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
91
+ }
92
+ return new SeamHttpRequest(this, {
93
+ pathname: '/seam/customer/v1/automations/delete',
94
+ method: 'POST',
95
+ body: parameters,
96
+ responseKey: undefined,
97
+ options,
98
+ });
99
+ }
100
+ get(parameters, options = {}) {
101
+ if (!this.defaults.isUndocumentedApiEnabled) {
102
+ throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
103
+ }
104
+ return new SeamHttpRequest(this, {
105
+ pathname: '/seam/customer/v1/automations/get',
106
+ method: 'GET',
107
+ params: parameters,
108
+ responseKey: undefined,
109
+ options,
110
+ });
111
+ }
112
+ update(parameters, options = {}) {
113
+ if (!this.defaults.isUndocumentedApiEnabled) {
114
+ throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
115
+ }
116
+ return new SeamHttpRequest(this, {
117
+ pathname: '/seam/customer/v1/automations/update',
118
+ method: 'PATCH',
119
+ body: parameters,
120
+ responseKey: undefined,
121
+ options,
122
+ });
123
+ }
124
+ }
125
+ SeamHttpSeamCustomerV1Automations.ltsVersion = seamApiLtsVersion;
126
+ //# sourceMappingURL=automations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"automations.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/automations/automations.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,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,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AAQ,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,sCAAsC;YAChD,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,SAAS;YACtB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED,GAAG,CACD,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,KAAK;YACb,MAAM,EAAE,UAAU;YAClB,WAAW,EAAE,SAAS;YACtB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,CACJ,UAAsD,EACtD,UAAkD,EAAE;QAEpD,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,sCAAsC;YAChD,MAAM,EAAE,OAAO;YACf,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,SAAS;YACtB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;;AAvLM,4CAAU,GAAG,iBAAiB,AAApB,CAAoB"}
@@ -0,0 +1 @@
1
+ export * from './automations.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 './automations.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/automations/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,kBAAkB,CAAA"}
@@ -0,0 +1,5 @@
1
+ export * from './automation-runs/index.js';
2
+ export * from './automations/index.js';
3
+ export * from './portals/index.js';
4
+ export * from './settings/index.js';
5
+ export * from './v1.js';
@@ -0,0 +1,10 @@
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 './automation-runs/index.js';
6
+ export * from './automations/index.js';
7
+ export * from './portals/index.js';
8
+ export * from './settings/index.js';
9
+ export * from './v1.js';
10
+ //# 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,4BAA4B,CAAA;AAC1C,cAAc,wBAAwB,CAAA;AACtC,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"}