@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
@@ -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 SeamHttpSeamPartnerV1Resources {
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 SeamHttpSeamPartnerV1Resources(constructorOptions);
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 SeamHttpSeamPartnerV1Resources(constructorOptions);
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 SeamHttpSeamPartnerV1Resources(constructorOptions);
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 SeamHttpSeamPartnerV1Resources.fromPublishableKey');
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 SeamHttpSeamPartnerV1Resources.fromClientSessionToken(token, options);
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 SeamHttpSeamPartnerV1Resources(constructorOptions);
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 SeamHttpSeamPartnerV1Resources(constructorOptions);
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
- list(parameters, options = {}) {
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/partner/v1/resources/list',
94
- method: 'POST',
93
+ pathname: '/seam/customer/v1/settings/update',
94
+ method: 'PATCH',
95
95
  body: parameters,
96
- responseKey: 'partner_resources',
96
+ responseKey: undefined,
97
97
  options,
98
98
  });
99
99
  }
100
100
  }
101
- SeamHttpSeamPartnerV1Resources.ltsVersion = seamApiLtsVersion;
102
- //# sourceMappingURL=resources.js.map
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,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,8BAA8B;IAMzC,YAAY,kBAA4C,EAAE;QAHjD,eAAU,GAAG,iBAAiB,CAAA;QAIrC,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;QAC7C,IAAI,CAAC,OAAO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BAAiB,AAApB,CAAoB"}
@@ -2,22 +2,22 @@ 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 { SeamHttpSeamPartnerV1BuildingBlocks } from './building-blocks/index.js';
6
- import { SeamHttpSeamPartnerV1Resources } from './resources/index.js';
7
- export declare class SeamHttpSeamPartnerV1 {
5
+ import { SeamHttpSeamCustomerV1Portals } from './portals/index.js';
6
+ import { SeamHttpSeamCustomerV1Settings } from './settings/index.js';
7
+ export declare class SeamHttpSeamCustomerV1 {
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'>): SeamHttpSeamPartnerV1;
14
- static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpSeamPartnerV1;
15
- static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpSeamPartnerV1;
16
- static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpSeamPartnerV1>;
17
- static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpSeamPartnerV1;
18
- static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpSeamPartnerV1;
13
+ static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpSeamCustomerV1;
14
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpSeamCustomerV1;
15
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpSeamCustomerV1;
16
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpSeamCustomerV1>;
17
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpSeamCustomerV1;
18
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpSeamCustomerV1;
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
- get buildingBlocks(): SeamHttpSeamPartnerV1BuildingBlocks;
22
- get resources(): SeamHttpSeamPartnerV1Resources;
21
+ get portals(): SeamHttpSeamCustomerV1Portals;
22
+ get settings(): SeamHttpSeamCustomerV1Settings;
23
23
  }
@@ -9,9 +9,9 @@ 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 { SeamHttpSeamPartnerV1BuildingBlocks } from './building-blocks/index.js';
13
- import { SeamHttpSeamPartnerV1Resources } from './resources/index.js';
14
- export class SeamHttpSeamPartnerV1 {
12
+ import { SeamHttpSeamCustomerV1Portals } from './portals/index.js';
13
+ import { SeamHttpSeamCustomerV1Settings } from './settings/index.js';
14
+ export class SeamHttpSeamCustomerV1 {
15
15
  constructor(apiKeyOrOptions = {}) {
16
16
  this.ltsVersion = seamApiLtsVersion;
17
17
  const options = parseOptions(apiKeyOrOptions);
@@ -26,48 +26,48 @@ export class SeamHttpSeamPartnerV1 {
26
26
  if (!isSeamHttpOptionsWithClient(constructorOptions)) {
27
27
  throw new SeamHttpInvalidOptionsError('Missing client');
28
28
  }
29
- return new SeamHttpSeamPartnerV1(constructorOptions);
29
+ return new SeamHttpSeamCustomerV1(constructorOptions);
30
30
  }
31
31
  static fromApiKey(apiKey, options = {}) {
32
32
  const constructorOptions = { ...options, apiKey };
33
33
  if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
34
34
  throw new SeamHttpInvalidOptionsError('Missing apiKey');
35
35
  }
36
- return new SeamHttpSeamPartnerV1(constructorOptions);
36
+ return new SeamHttpSeamCustomerV1(constructorOptions);
37
37
  }
38
38
  static fromClientSessionToken(clientSessionToken, options = {}) {
39
39
  const constructorOptions = { ...options, clientSessionToken };
40
40
  if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
41
41
  throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
42
42
  }
43
- return new SeamHttpSeamPartnerV1(constructorOptions);
43
+ return new SeamHttpSeamCustomerV1(constructorOptions);
44
44
  }
45
45
  static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
46
46
  warnOnInsecureuserIdentifierKey(userIdentifierKey);
47
47
  const clientOptions = parseOptions({ ...options, publishableKey });
48
48
  if (isSeamHttpOptionsWithClient(clientOptions)) {
49
- throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpSeamPartnerV1.fromPublishableKey');
49
+ throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpSeamCustomerV1.fromPublishableKey');
50
50
  }
51
51
  const client = createClient(clientOptions);
52
52
  const clientSessions = SeamHttpClientSessions.fromClient(client);
53
53
  const { token } = await clientSessions.getOrCreate({
54
54
  user_identifier_key: userIdentifierKey,
55
55
  });
56
- return SeamHttpSeamPartnerV1.fromClientSessionToken(token, options);
56
+ return SeamHttpSeamCustomerV1.fromClientSessionToken(token, options);
57
57
  }
58
58
  static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
59
59
  const constructorOptions = { ...options, consoleSessionToken, workspaceId };
60
60
  if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
61
61
  throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
62
62
  }
63
- return new SeamHttpSeamPartnerV1(constructorOptions);
63
+ return new SeamHttpSeamCustomerV1(constructorOptions);
64
64
  }
65
65
  static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
66
66
  const constructorOptions = { ...options, personalAccessToken, workspaceId };
67
67
  if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
68
68
  throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
69
69
  }
70
- return new SeamHttpSeamPartnerV1(constructorOptions);
70
+ return new SeamHttpSeamCustomerV1(constructorOptions);
71
71
  }
72
72
  createPaginator(request) {
73
73
  return new SeamPaginator(this, request);
@@ -86,12 +86,12 @@ export class SeamHttpSeamPartnerV1 {
86
86
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
87
87
  await clientSessions.get();
88
88
  }
89
- get buildingBlocks() {
90
- return SeamHttpSeamPartnerV1BuildingBlocks.fromClient(this.client, this.defaults);
89
+ get portals() {
90
+ return SeamHttpSeamCustomerV1Portals.fromClient(this.client, this.defaults);
91
91
  }
92
- get resources() {
93
- return SeamHttpSeamPartnerV1Resources.fromClient(this.client, this.defaults);
92
+ get settings() {
93
+ return SeamHttpSeamCustomerV1Settings.fromClient(this.client, this.defaults);
94
94
  }
95
95
  }
96
- SeamHttpSeamPartnerV1.ltsVersion = seamApiLtsVersion;
96
+ SeamHttpSeamCustomerV1.ltsVersion = seamApiLtsVersion;
97
97
  //# 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,aA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AI,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;;AAtIM,iCAAU,GAAG,iBAAiB,AAApB,CAAoB"}
@@ -1 +1,2 @@
1
+ export * from './customer/index.js';
1
2
  export * from './partner/index.js';
@@ -2,5 +2,6 @@
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 './customer/index.js';
5
6
  export * from './partner/index.js';
6
7
  //# sourceMappingURL=index.js.map
@@ -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,3 +1 @@
1
1
  export * from './building-blocks/index.js';
2
- export * from './resources/index.js';
3
- export * from './v1.js';
@@ -3,6 +3,4 @@
3
3
  * Do not edit this file or add other files to this directory.
4
4
  */
5
5
  export * from './building-blocks/index.js';
6
- export * from './resources/index.js';
7
- export * from './v1.js';
8
6
  //# sourceMappingURL=index.js.map
@@ -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;AAC1C,cAAc,sBAAsB,CAAA;AACpC,cAAc,SAAS,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"}
@@ -24,6 +24,7 @@ import { type BridgesGetOptions, type BridgesGetParameters, type BridgesGetReque
24
24
  import { type ClientSessionsCreateOptions, type ClientSessionsCreateParameters, type ClientSessionsCreateRequest, type ClientSessionsDeleteOptions, type ClientSessionsDeleteParameters, type ClientSessionsDeleteRequest, type ClientSessionsGetOptions, type ClientSessionsGetOrCreateOptions, type ClientSessionsGetOrCreateParameters, type ClientSessionsGetOrCreateRequest, type ClientSessionsGetParameters, type ClientSessionsGetRequest, type ClientSessionsGrantAccessOptions, type ClientSessionsGrantAccessParameters, type ClientSessionsGrantAccessRequest, type ClientSessionsListOptions, type ClientSessionsListParameters, type ClientSessionsListRequest, type ClientSessionsRevokeOptions, type ClientSessionsRevokeParameters, type ClientSessionsRevokeRequest } from './client-sessions/index.js';
25
25
  import { type ConnectWebviewsCreateOptions, type ConnectWebviewsCreateParameters, type ConnectWebviewsCreateRequest, type ConnectWebviewsDeleteOptions, type ConnectWebviewsDeleteParameters, type ConnectWebviewsDeleteRequest, type ConnectWebviewsGetOptions, type ConnectWebviewsGetParameters, type ConnectWebviewsGetRequest, type ConnectWebviewsListOptions, type ConnectWebviewsListParameters, type ConnectWebviewsListRequest } from './connect-webviews/index.js';
26
26
  import { type ConnectedAccountsDeleteOptions, type ConnectedAccountsDeleteParameters, type ConnectedAccountsDeleteRequest, type ConnectedAccountsGetOptions, type ConnectedAccountsGetParameters, type ConnectedAccountsGetRequest, type ConnectedAccountsListOptions, type ConnectedAccountsListParameters, type ConnectedAccountsListRequest, type ConnectedAccountsSyncOptions, type ConnectedAccountsSyncParameters, type ConnectedAccountsSyncRequest, type ConnectedAccountsUpdateOptions, type ConnectedAccountsUpdateParameters, type ConnectedAccountsUpdateRequest } from './connected-accounts/index.js';
27
+ import { type CustomersCreatePortalOptions, type CustomersCreatePortalParameters, type CustomersCreatePortalRequest, type CustomersPushDataOptions, type CustomersPushDataParameters, type CustomersPushDataRequest } from './customers/index.js';
27
28
  import { type DevicesDeleteOptions, type DevicesDeleteParameters, type DevicesDeleteRequest, type DevicesGetOptions, type DevicesGetParameters, type DevicesGetRequest, type DevicesListDeviceProvidersOptions, type DevicesListDeviceProvidersParameters, type DevicesListDeviceProvidersRequest, type DevicesListOptions, type DevicesListParameters, type DevicesListRequest, type DevicesUpdateOptions, type DevicesUpdateParameters, type DevicesUpdateRequest } from './devices/index.js';
28
29
  import { type DevicesSimulateConnectOptions, type DevicesSimulateConnectParameters, type DevicesSimulateConnectRequest, type DevicesSimulateDisconnectOptions, type DevicesSimulateDisconnectParameters, type DevicesSimulateDisconnectRequest, type DevicesSimulateRemoveOptions, type DevicesSimulateRemoveParameters, type DevicesSimulateRemoveRequest } from './devices/simulate/index.js';
29
30
  import { type DevicesUnmanagedGetOptions, type DevicesUnmanagedGetParameters, type DevicesUnmanagedGetRequest, type DevicesUnmanagedListOptions, type DevicesUnmanagedListParameters, type DevicesUnmanagedListRequest, type DevicesUnmanagedUpdateOptions, type DevicesUnmanagedUpdateParameters, type DevicesUnmanagedUpdateRequest } from './devices/unmanaged/index.js';
@@ -36,8 +37,9 @@ import { type NoiseSensorsNoiseThresholdsCreateOptions, type NoiseSensorsNoiseTh
36
37
  import { type NoiseSensorsSimulateTriggerNoiseThresholdOptions, type NoiseSensorsSimulateTriggerNoiseThresholdParameters, type NoiseSensorsSimulateTriggerNoiseThresholdRequest } from './noise-sensors/simulate/index.js';
37
38
  import { type PhonesDeactivateOptions, type PhonesDeactivateParameters, type PhonesDeactivateRequest, type PhonesGetOptions, type PhonesGetParameters, type PhonesGetRequest, type PhonesListOptions, type PhonesListParameters, type PhonesListRequest } from './phones/index.js';
38
39
  import { type PhonesSimulateCreateSandboxPhoneOptions, type PhonesSimulateCreateSandboxPhoneParameters, type PhonesSimulateCreateSandboxPhoneRequest } from './phones/simulate/index.js';
40
+ import { type SeamCustomerV1PortalsGetOptions, type SeamCustomerV1PortalsGetParameters, type SeamCustomerV1PortalsGetRequest } from './seam/customer/v1/portals/index.js';
41
+ import { type SeamCustomerV1SettingsUpdateOptions, type SeamCustomerV1SettingsUpdateParameters, type SeamCustomerV1SettingsUpdateRequest } from './seam/customer/v1/settings/index.js';
39
42
  import { type SeamPartnerV1BuildingBlocksSpacesAutoMapOptions, type SeamPartnerV1BuildingBlocksSpacesAutoMapParameters, type SeamPartnerV1BuildingBlocksSpacesAutoMapRequest } from './seam/partner/v1/building-blocks/spaces/index.js';
40
- import { type SeamPartnerV1ResourcesListOptions, type SeamPartnerV1ResourcesListParameters, type SeamPartnerV1ResourcesListRequest } from './seam/partner/v1/resources/index.js';
41
43
  import { type SpacesAddAcsEntrancesOptions, type SpacesAddAcsEntrancesParameters, type SpacesAddAcsEntrancesRequest, type SpacesAddDevicesOptions, type SpacesAddDevicesParameters, type SpacesAddDevicesRequest, type SpacesCreateOptions, type SpacesCreateParameters, type SpacesCreateRequest, type SpacesDeleteOptions, type SpacesDeleteParameters, type SpacesDeleteRequest, type SpacesGetOptions, type SpacesGetParameters, type SpacesGetRequest, type SpacesListOptions, type SpacesListParameters, type SpacesListRequest, type SpacesRemoveAcsEntrancesOptions, type SpacesRemoveAcsEntrancesParameters, type SpacesRemoveAcsEntrancesRequest, type SpacesRemoveDevicesOptions, type SpacesRemoveDevicesParameters, type SpacesRemoveDevicesRequest, type SpacesUpdateOptions, type SpacesUpdateParameters, type SpacesUpdateRequest } from './spaces/index.js';
42
44
  import { type ThermostatsDailyProgramsCreateOptions, type ThermostatsDailyProgramsCreateParameters, type ThermostatsDailyProgramsCreateRequest, type ThermostatsDailyProgramsDeleteOptions, type ThermostatsDailyProgramsDeleteParameters, type ThermostatsDailyProgramsDeleteRequest, type ThermostatsDailyProgramsUpdateOptions, type ThermostatsDailyProgramsUpdateParameters, type ThermostatsDailyProgramsUpdateRequest } from './thermostats/daily-programs/index.js';
43
45
  import { type ThermostatsActivateClimatePresetOptions, type ThermostatsActivateClimatePresetParameters, type ThermostatsActivateClimatePresetRequest, type ThermostatsCoolOptions, type ThermostatsCoolParameters, type ThermostatsCoolRequest, type ThermostatsCreateClimatePresetOptions, type ThermostatsCreateClimatePresetParameters, type ThermostatsCreateClimatePresetRequest, type ThermostatsDeleteClimatePresetOptions, type ThermostatsDeleteClimatePresetParameters, type ThermostatsDeleteClimatePresetRequest, type ThermostatsGetOptions, type ThermostatsGetParameters, type ThermostatsGetRequest, type ThermostatsHeatCoolOptions, type ThermostatsHeatCoolParameters, type ThermostatsHeatCoolRequest, type ThermostatsHeatOptions, type ThermostatsHeatParameters, type ThermostatsHeatRequest, type ThermostatsListOptions, type ThermostatsListParameters, type ThermostatsListRequest, type ThermostatsOffOptions, type ThermostatsOffParameters, type ThermostatsOffRequest, type ThermostatsSetFallbackClimatePresetOptions, type ThermostatsSetFallbackClimatePresetParameters, type ThermostatsSetFallbackClimatePresetRequest, type ThermostatsSetFanModeOptions, type ThermostatsSetFanModeParameters, type ThermostatsSetFanModeRequest, type ThermostatsSetHvacModeOptions, type ThermostatsSetHvacModeParameters, type ThermostatsSetHvacModeRequest, type ThermostatsSetTemperatureThresholdOptions, type ThermostatsSetTemperatureThresholdParameters, type ThermostatsSetTemperatureThresholdRequest, type ThermostatsUpdateClimatePresetOptions, type ThermostatsUpdateClimatePresetParameters, type ThermostatsUpdateClimatePresetRequest, type ThermostatsUpdateWeeklyProgramOptions, type ThermostatsUpdateWeeklyProgramParameters, type ThermostatsUpdateWeeklyProgramRequest } from './thermostats/index.js';
@@ -47,7 +49,6 @@ import { type UnstableAccessGrantsCreateOptions, type UnstableAccessGrantsCreate
47
49
  import { type UnstableAccessMethodsDeleteOptions, type UnstableAccessMethodsDeleteParameters, type UnstableAccessMethodsDeleteRequest, type UnstableAccessMethodsGetOptions, type UnstableAccessMethodsGetParameters, type UnstableAccessMethodsGetRequest, type UnstableAccessMethodsListOptions, type UnstableAccessMethodsListParameters, type UnstableAccessMethodsListRequest } from './unstable-access-methods/index.js';
48
50
  import { type UnstableLocationsAddAcsEntrancesOptions, type UnstableLocationsAddAcsEntrancesParameters, type UnstableLocationsAddAcsEntrancesRequest, type UnstableLocationsAddDevicesOptions, type UnstableLocationsAddDevicesParameters, type UnstableLocationsAddDevicesRequest, type UnstableLocationsCreateOptions, type UnstableLocationsCreateParameters, type UnstableLocationsCreateRequest, type UnstableLocationsDeleteOptions, type UnstableLocationsDeleteParameters, type UnstableLocationsDeleteRequest, type UnstableLocationsGetOptions, type UnstableLocationsGetParameters, type UnstableLocationsGetRequest, type UnstableLocationsListOptions, type UnstableLocationsListParameters, type UnstableLocationsListRequest, type UnstableLocationsRemoveAcsEntrancesOptions, type UnstableLocationsRemoveAcsEntrancesParameters, type UnstableLocationsRemoveAcsEntrancesRequest, type UnstableLocationsRemoveDevicesOptions, type UnstableLocationsRemoveDevicesParameters, type UnstableLocationsRemoveDevicesRequest, type UnstableLocationsUpdateOptions, type UnstableLocationsUpdateParameters, type UnstableLocationsUpdateRequest } from './unstable-locations/index.js';
49
51
  import { type UnstablePartnerBuildingBlocksConnectAccountsOptions, type UnstablePartnerBuildingBlocksConnectAccountsParameters, type UnstablePartnerBuildingBlocksConnectAccountsRequest, type UnstablePartnerBuildingBlocksGenerateMagicLinkOptions, type UnstablePartnerBuildingBlocksGenerateMagicLinkParameters, type UnstablePartnerBuildingBlocksGenerateMagicLinkRequest, type UnstablePartnerBuildingBlocksManageDevicesOptions, type UnstablePartnerBuildingBlocksManageDevicesParameters, type UnstablePartnerBuildingBlocksManageDevicesRequest, type UnstablePartnerBuildingBlocksOrganizeSpacesOptions, type UnstablePartnerBuildingBlocksOrganizeSpacesParameters, type UnstablePartnerBuildingBlocksOrganizeSpacesRequest } from './unstable-partner/building-blocks/index.js';
50
- import { type UnstablePartnerResourcesPushOptions, type UnstablePartnerResourcesPushParameters, type UnstablePartnerResourcesPushRequest } from './unstable-partner/resources/index.js';
51
52
  import { type UserIdentitiesEnrollmentAutomationsDeleteOptions, type UserIdentitiesEnrollmentAutomationsDeleteParameters, type UserIdentitiesEnrollmentAutomationsDeleteRequest, type UserIdentitiesEnrollmentAutomationsGetOptions, type UserIdentitiesEnrollmentAutomationsGetParameters, type UserIdentitiesEnrollmentAutomationsGetRequest, type UserIdentitiesEnrollmentAutomationsLaunchOptions, type UserIdentitiesEnrollmentAutomationsLaunchParameters, type UserIdentitiesEnrollmentAutomationsLaunchRequest, type UserIdentitiesEnrollmentAutomationsListOptions, type UserIdentitiesEnrollmentAutomationsListParameters, type UserIdentitiesEnrollmentAutomationsListRequest } from './user-identities/enrollment-automations/index.js';
52
53
  import { type UserIdentitiesAddAcsUserOptions, type UserIdentitiesAddAcsUserParameters, type UserIdentitiesAddAcsUserRequest, type UserIdentitiesCreateOptions, type UserIdentitiesCreateParameters, type UserIdentitiesCreateRequest, type UserIdentitiesDeleteOptions, type UserIdentitiesDeleteParameters, type UserIdentitiesDeleteRequest, type UserIdentitiesGenerateInstantKeyOptions, type UserIdentitiesGenerateInstantKeyParameters, type UserIdentitiesGenerateInstantKeyRequest, type UserIdentitiesGetOptions, type UserIdentitiesGetParameters, type UserIdentitiesGetRequest, type UserIdentitiesGrantAccessToDeviceOptions, type UserIdentitiesGrantAccessToDeviceParameters, type UserIdentitiesGrantAccessToDeviceRequest, type UserIdentitiesListAccessibleDevicesOptions, type UserIdentitiesListAccessibleDevicesParameters, type UserIdentitiesListAccessibleDevicesRequest, type UserIdentitiesListAcsSystemsOptions, type UserIdentitiesListAcsSystemsParameters, type UserIdentitiesListAcsSystemsRequest, type UserIdentitiesListAcsUsersOptions, type UserIdentitiesListAcsUsersParameters, type UserIdentitiesListAcsUsersRequest, type UserIdentitiesListOptions, type UserIdentitiesListParameters, type UserIdentitiesListRequest, type UserIdentitiesRemoveAcsUserOptions, type UserIdentitiesRemoveAcsUserParameters, type UserIdentitiesRemoveAcsUserRequest, type UserIdentitiesRevokeAccessToDeviceOptions, type UserIdentitiesRevokeAccessToDeviceParameters, type UserIdentitiesRevokeAccessToDeviceRequest, type UserIdentitiesUpdateOptions, type UserIdentitiesUpdateParameters, type UserIdentitiesUpdateRequest } from './user-identities/index.js';
53
54
  import { type WebhooksCreateOptions, type WebhooksCreateParameters, type WebhooksCreateRequest, type WebhooksDeleteOptions, type WebhooksDeleteParameters, type WebhooksDeleteRequest, type WebhooksGetOptions, type WebhooksGetParameters, type WebhooksGetRequest, type WebhooksListOptions, type WebhooksListParameters, type WebhooksListRequest, type WebhooksUpdateOptions, type WebhooksUpdateParameters, type WebhooksUpdateRequest } from './webhooks/index.js';
@@ -160,6 +161,8 @@ export declare class SeamHttpEndpoints {
160
161
  get ['/connected_accounts/list'](): (parameters?: ConnectedAccountsListParameters, options?: ConnectedAccountsListOptions) => ConnectedAccountsListRequest;
161
162
  get ['/connected_accounts/sync'](): (parameters?: ConnectedAccountsSyncParameters, options?: ConnectedAccountsSyncOptions) => ConnectedAccountsSyncRequest;
162
163
  get ['/connected_accounts/update'](): (parameters?: ConnectedAccountsUpdateParameters, options?: ConnectedAccountsUpdateOptions) => ConnectedAccountsUpdateRequest;
164
+ get ['/customers/create_portal'](): (parameters?: CustomersCreatePortalParameters, options?: CustomersCreatePortalOptions) => CustomersCreatePortalRequest;
165
+ get ['/customers/push_data'](): (parameters?: CustomersPushDataParameters, options?: CustomersPushDataOptions) => CustomersPushDataRequest;
163
166
  get ['/devices/delete'](): (parameters?: DevicesDeleteParameters, options?: DevicesDeleteOptions) => DevicesDeleteRequest;
164
167
  get ['/devices/get'](): (parameters?: DevicesGetParameters, options?: DevicesGetOptions) => DevicesGetRequest;
165
168
  get ['/devices/list'](): (parameters?: DevicesListParameters, options?: DevicesListOptions) => DevicesListRequest;
@@ -192,8 +195,9 @@ export declare class SeamHttpEndpoints {
192
195
  get ['/phones/get'](): (parameters?: PhonesGetParameters, options?: PhonesGetOptions) => PhonesGetRequest;
193
196
  get ['/phones/list'](): (parameters?: PhonesListParameters, options?: PhonesListOptions) => PhonesListRequest;
194
197
  get ['/phones/simulate/create_sandbox_phone'](): (parameters?: PhonesSimulateCreateSandboxPhoneParameters, options?: PhonesSimulateCreateSandboxPhoneOptions) => PhonesSimulateCreateSandboxPhoneRequest;
198
+ get ['/seam/customer/v1/portals/get'](): (parameters?: SeamCustomerV1PortalsGetParameters, options?: SeamCustomerV1PortalsGetOptions) => SeamCustomerV1PortalsGetRequest;
199
+ get ['/seam/customer/v1/settings/update'](): (parameters?: SeamCustomerV1SettingsUpdateParameters, options?: SeamCustomerV1SettingsUpdateOptions) => SeamCustomerV1SettingsUpdateRequest;
195
200
  get ['/seam/partner/v1/building_blocks/spaces/auto_map'](): (parameters?: SeamPartnerV1BuildingBlocksSpacesAutoMapParameters, options?: SeamPartnerV1BuildingBlocksSpacesAutoMapOptions) => SeamPartnerV1BuildingBlocksSpacesAutoMapRequest;
196
- get ['/seam/partner/v1/resources/list'](): (parameters?: SeamPartnerV1ResourcesListParameters, options?: SeamPartnerV1ResourcesListOptions) => SeamPartnerV1ResourcesListRequest;
197
201
  get ['/spaces/add_acs_entrances'](): (parameters?: SpacesAddAcsEntrancesParameters, options?: SpacesAddAcsEntrancesOptions) => SpacesAddAcsEntrancesRequest;
198
202
  get ['/spaces/add_devices'](): (parameters?: SpacesAddDevicesParameters, options?: SpacesAddDevicesOptions) => SpacesAddDevicesRequest;
199
203
  get ['/spaces/create'](): (parameters?: SpacesCreateParameters, options?: SpacesCreateOptions) => SpacesCreateRequest;
@@ -248,7 +252,6 @@ export declare class SeamHttpEndpoints {
248
252
  get ['/unstable_partner/building_blocks/generate_magic_link'](): (parameters?: UnstablePartnerBuildingBlocksGenerateMagicLinkParameters, options?: UnstablePartnerBuildingBlocksGenerateMagicLinkOptions) => UnstablePartnerBuildingBlocksGenerateMagicLinkRequest;
249
253
  get ['/unstable_partner/building_blocks/manage_devices'](): (parameters?: UnstablePartnerBuildingBlocksManageDevicesParameters, options?: UnstablePartnerBuildingBlocksManageDevicesOptions) => UnstablePartnerBuildingBlocksManageDevicesRequest;
250
254
  get ['/unstable_partner/building_blocks/organize_spaces'](): (parameters?: UnstablePartnerBuildingBlocksOrganizeSpacesParameters, options?: UnstablePartnerBuildingBlocksOrganizeSpacesOptions) => UnstablePartnerBuildingBlocksOrganizeSpacesRequest;
251
- get ['/unstable_partner/resources/push'](): (parameters?: UnstablePartnerResourcesPushParameters, options?: UnstablePartnerResourcesPushOptions) => UnstablePartnerResourcesPushRequest;
252
255
  get ['/user_identities/add_acs_user'](): (parameters?: UserIdentitiesAddAcsUserParameters, options?: UserIdentitiesAddAcsUserOptions) => UserIdentitiesAddAcsUserRequest;
253
256
  get ['/user_identities/create'](): (parameters?: UserIdentitiesCreateParameters, options?: UserIdentitiesCreateOptions) => UserIdentitiesCreateRequest;
254
257
  get ['/user_identities/delete'](): (parameters?: UserIdentitiesDeleteParameters, options?: UserIdentitiesDeleteOptions) => UserIdentitiesDeleteRequest;
@@ -277,6 +280,6 @@ export declare class SeamHttpEndpoints {
277
280
  get ['/workspaces/reset_sandbox'](): (parameters?: WorkspacesResetSandboxParameters, options?: WorkspacesResetSandboxOptions) => WorkspacesResetSandboxRequest;
278
281
  get ['/workspaces/update'](): (parameters?: WorkspacesUpdateParameters, options?: WorkspacesUpdateOptions) => WorkspacesUpdateRequest;
279
282
  }
280
- export type SeamHttpEndpointQueryPaths = '/access_codes/generate_code' | '/access_codes/get' | '/access_codes/list' | '/access_codes/unmanaged/get' | '/access_codes/unmanaged/list' | '/access_grants/delete' | '/access_grants/get' | '/access_grants/list' | '/access_methods/delete' | '/access_methods/get' | '/access_methods/list' | '/acs/access_groups/get' | '/acs/access_groups/list' | '/acs/access_groups/list_accessible_entrances' | '/acs/access_groups/list_users' | '/acs/access_groups/unmanaged/get' | '/acs/access_groups/unmanaged/list' | '/acs/credential_pools/list' | '/acs/credentials/get' | '/acs/credentials/list' | '/acs/credentials/list_accessible_entrances' | '/acs/credentials/unmanaged/get' | '/acs/credentials/unmanaged/list' | '/acs/encoders/get' | '/acs/encoders/list' | '/acs/entrances/get' | '/acs/entrances/list' | '/acs/entrances/list_credentials_with_access' | '/acs/systems/get' | '/acs/systems/list' | '/acs/systems/list_compatible_credential_manager_acs_systems' | '/acs/users/get' | '/acs/users/list' | '/acs/users/list_accessible_entrances' | '/acs/users/unmanaged/get' | '/acs/users/unmanaged/list' | '/action_attempts/get' | '/action_attempts/list' | '/bridges/get' | '/bridges/list' | '/client_sessions/get' | '/client_sessions/list' | '/connect_webviews/get' | '/connect_webviews/list' | '/connected_accounts/get' | '/connected_accounts/list' | '/devices/get' | '/devices/list' | '/devices/list_device_providers' | '/devices/unmanaged/get' | '/devices/unmanaged/list' | '/events/get' | '/events/list' | '/locks/get' | '/locks/list' | '/networks/get' | '/networks/list' | '/noise_sensors/list' | '/noise_sensors/noise_thresholds/get' | '/noise_sensors/noise_thresholds/list' | '/phones/get' | '/phones/list' | '/phones/simulate/create_sandbox_phone' | '/seam/partner/v1/building_blocks/spaces/auto_map' | '/seam/partner/v1/resources/list' | '/spaces/get' | '/spaces/list' | '/thermostats/get' | '/thermostats/list' | '/thermostats/schedules/get' | '/thermostats/schedules/list' | '/unstable_access_grants/delete' | '/unstable_access_grants/get' | '/unstable_access_grants/list' | '/unstable_access_methods/delete' | '/unstable_access_methods/get' | '/unstable_access_methods/list' | '/unstable_locations/get' | '/unstable_locations/list' | '/unstable_partner/building_blocks/generate_magic_link' | '/user_identities/get' | '/user_identities/list' | '/user_identities/list_accessible_devices' | '/user_identities/list_acs_systems' | '/user_identities/list_acs_users' | '/user_identities/enrollment_automations/get' | '/user_identities/enrollment_automations/list' | '/webhooks/get' | '/webhooks/list' | '/workspaces/get' | '/workspaces/list';
283
+ export type SeamHttpEndpointQueryPaths = '/access_codes/generate_code' | '/access_codes/get' | '/access_codes/list' | '/access_codes/unmanaged/get' | '/access_codes/unmanaged/list' | '/access_grants/delete' | '/access_grants/get' | '/access_grants/list' | '/access_methods/delete' | '/access_methods/get' | '/access_methods/list' | '/acs/access_groups/get' | '/acs/access_groups/list' | '/acs/access_groups/list_accessible_entrances' | '/acs/access_groups/list_users' | '/acs/access_groups/unmanaged/get' | '/acs/access_groups/unmanaged/list' | '/acs/credential_pools/list' | '/acs/credentials/get' | '/acs/credentials/list' | '/acs/credentials/list_accessible_entrances' | '/acs/credentials/unmanaged/get' | '/acs/credentials/unmanaged/list' | '/acs/encoders/get' | '/acs/encoders/list' | '/acs/entrances/get' | '/acs/entrances/list' | '/acs/entrances/list_credentials_with_access' | '/acs/systems/get' | '/acs/systems/list' | '/acs/systems/list_compatible_credential_manager_acs_systems' | '/acs/users/get' | '/acs/users/list' | '/acs/users/list_accessible_entrances' | '/acs/users/unmanaged/get' | '/acs/users/unmanaged/list' | '/action_attempts/get' | '/action_attempts/list' | '/bridges/get' | '/bridges/list' | '/client_sessions/get' | '/client_sessions/list' | '/connect_webviews/get' | '/connect_webviews/list' | '/connected_accounts/get' | '/connected_accounts/list' | '/devices/get' | '/devices/list' | '/devices/list_device_providers' | '/devices/unmanaged/get' | '/devices/unmanaged/list' | '/events/get' | '/events/list' | '/locks/get' | '/locks/list' | '/networks/get' | '/networks/list' | '/noise_sensors/list' | '/noise_sensors/noise_thresholds/get' | '/noise_sensors/noise_thresholds/list' | '/phones/get' | '/phones/list' | '/seam/customer/v1/portals/get' | '/seam/partner/v1/building_blocks/spaces/auto_map' | '/spaces/get' | '/spaces/list' | '/thermostats/get' | '/thermostats/list' | '/thermostats/schedules/get' | '/thermostats/schedules/list' | '/unstable_access_grants/delete' | '/unstable_access_grants/get' | '/unstable_access_grants/list' | '/unstable_access_methods/delete' | '/unstable_access_methods/get' | '/unstable_access_methods/list' | '/unstable_locations/get' | '/unstable_locations/list' | '/unstable_partner/building_blocks/generate_magic_link' | '/user_identities/get' | '/user_identities/list' | '/user_identities/list_accessible_devices' | '/user_identities/list_acs_systems' | '/user_identities/list_acs_users' | '/user_identities/enrollment_automations/get' | '/user_identities/enrollment_automations/list' | '/webhooks/get' | '/webhooks/list' | '/workspaces/get' | '/workspaces/list';
281
284
  export type SeamHttpEndpointPaginatedQueryPaths = '/access_codes/list' | '/acs/users/list' | '/connect_webviews/list' | '/connected_accounts/list' | '/devices/list';
282
- export type SeamHttpEndpointMutationPaths = '/access_codes/create' | '/access_codes/create_multiple' | '/access_codes/delete' | '/access_codes/pull_backup_access_code' | '/access_codes/report_device_constraints' | '/access_codes/update' | '/access_codes/update_multiple' | '/access_codes/simulate/create_unmanaged_access_code' | '/access_codes/unmanaged/convert_to_managed' | '/access_codes/unmanaged/delete' | '/access_codes/unmanaged/update' | '/access_grants/create' | '/access_grants/update' | '/acs/access_groups/add_user' | '/acs/access_groups/remove_user' | '/acs/credential_provisioning_automations/launch' | '/acs/credentials/assign' | '/acs/credentials/create' | '/acs/credentials/create_offline_code' | '/acs/credentials/delete' | '/acs/credentials/unassign' | '/acs/credentials/update' | '/acs/encoders/encode_access_method' | '/acs/encoders/encode_credential' | '/acs/encoders/scan_credential' | '/acs/encoders/simulate/next_credential_encode_will_fail' | '/acs/encoders/simulate/next_credential_encode_will_succeed' | '/acs/encoders/simulate/next_credential_scan_will_fail' | '/acs/encoders/simulate/next_credential_scan_will_succeed' | '/acs/entrances/grant_access' | '/acs/users/add_to_access_group' | '/acs/users/create' | '/acs/users/delete' | '/acs/users/remove_from_access_group' | '/acs/users/revoke_access_to_all_entrances' | '/acs/users/suspend' | '/acs/users/unsuspend' | '/acs/users/update' | '/client_sessions/create' | '/client_sessions/delete' | '/client_sessions/get_or_create' | '/client_sessions/grant_access' | '/client_sessions/revoke' | '/connect_webviews/create' | '/connect_webviews/delete' | '/connected_accounts/delete' | '/connected_accounts/sync' | '/connected_accounts/update' | '/devices/delete' | '/devices/update' | '/devices/simulate/connect' | '/devices/simulate/disconnect' | '/devices/simulate/remove' | '/devices/unmanaged/update' | '/locks/lock_door' | '/locks/unlock_door' | '/locks/simulate/keypad_code_entry' | '/locks/simulate/manual_lock_via_keypad' | '/noise_sensors/noise_thresholds/create' | '/noise_sensors/noise_thresholds/delete' | '/noise_sensors/noise_thresholds/update' | '/noise_sensors/simulate/trigger_noise_threshold' | '/phones/deactivate' | '/spaces/add_acs_entrances' | '/spaces/add_devices' | '/spaces/create' | '/spaces/delete' | '/spaces/remove_acs_entrances' | '/spaces/remove_devices' | '/spaces/update' | '/thermostats/activate_climate_preset' | '/thermostats/cool' | '/thermostats/create_climate_preset' | '/thermostats/delete_climate_preset' | '/thermostats/heat' | '/thermostats/heat_cool' | '/thermostats/off' | '/thermostats/set_fallback_climate_preset' | '/thermostats/set_fan_mode' | '/thermostats/set_hvac_mode' | '/thermostats/set_temperature_threshold' | '/thermostats/update_climate_preset' | '/thermostats/update_weekly_program' | '/thermostats/daily_programs/create' | '/thermostats/daily_programs/delete' | '/thermostats/daily_programs/update' | '/thermostats/schedules/create' | '/thermostats/schedules/delete' | '/thermostats/schedules/update' | '/thermostats/simulate/hvac_mode_adjusted' | '/thermostats/simulate/temperature_reached' | '/unstable_access_grants/create' | '/unstable_locations/add_acs_entrances' | '/unstable_locations/add_devices' | '/unstable_locations/create' | '/unstable_locations/delete' | '/unstable_locations/remove_acs_entrances' | '/unstable_locations/remove_devices' | '/unstable_locations/update' | '/unstable_partner/building_blocks/connect_accounts' | '/unstable_partner/building_blocks/manage_devices' | '/unstable_partner/building_blocks/organize_spaces' | '/unstable_partner/resources/push' | '/user_identities/add_acs_user' | '/user_identities/create' | '/user_identities/delete' | '/user_identities/generate_instant_key' | '/user_identities/grant_access_to_device' | '/user_identities/remove_acs_user' | '/user_identities/revoke_access_to_device' | '/user_identities/update' | '/user_identities/enrollment_automations/delete' | '/user_identities/enrollment_automations/launch' | '/webhooks/create' | '/webhooks/delete' | '/webhooks/update' | '/workspaces/create' | '/workspaces/reset_sandbox' | '/workspaces/update';
285
+ export type SeamHttpEndpointMutationPaths = '/access_codes/create' | '/access_codes/create_multiple' | '/access_codes/delete' | '/access_codes/pull_backup_access_code' | '/access_codes/report_device_constraints' | '/access_codes/update' | '/access_codes/update_multiple' | '/access_codes/simulate/create_unmanaged_access_code' | '/access_codes/unmanaged/convert_to_managed' | '/access_codes/unmanaged/delete' | '/access_codes/unmanaged/update' | '/access_grants/create' | '/access_grants/update' | '/acs/access_groups/add_user' | '/acs/access_groups/remove_user' | '/acs/credential_provisioning_automations/launch' | '/acs/credentials/assign' | '/acs/credentials/create' | '/acs/credentials/create_offline_code' | '/acs/credentials/delete' | '/acs/credentials/unassign' | '/acs/credentials/update' | '/acs/encoders/encode_access_method' | '/acs/encoders/encode_credential' | '/acs/encoders/scan_credential' | '/acs/encoders/simulate/next_credential_encode_will_fail' | '/acs/encoders/simulate/next_credential_encode_will_succeed' | '/acs/encoders/simulate/next_credential_scan_will_fail' | '/acs/encoders/simulate/next_credential_scan_will_succeed' | '/acs/entrances/grant_access' | '/acs/users/add_to_access_group' | '/acs/users/create' | '/acs/users/delete' | '/acs/users/remove_from_access_group' | '/acs/users/revoke_access_to_all_entrances' | '/acs/users/suspend' | '/acs/users/unsuspend' | '/acs/users/update' | '/client_sessions/create' | '/client_sessions/delete' | '/client_sessions/get_or_create' | '/client_sessions/grant_access' | '/client_sessions/revoke' | '/connect_webviews/create' | '/connect_webviews/delete' | '/connected_accounts/delete' | '/connected_accounts/sync' | '/connected_accounts/update' | '/customers/create_portal' | '/customers/push_data' | '/devices/delete' | '/devices/update' | '/devices/simulate/connect' | '/devices/simulate/disconnect' | '/devices/simulate/remove' | '/devices/unmanaged/update' | '/locks/lock_door' | '/locks/unlock_door' | '/locks/simulate/keypad_code_entry' | '/locks/simulate/manual_lock_via_keypad' | '/noise_sensors/noise_thresholds/create' | '/noise_sensors/noise_thresholds/delete' | '/noise_sensors/noise_thresholds/update' | '/noise_sensors/simulate/trigger_noise_threshold' | '/phones/deactivate' | '/phones/simulate/create_sandbox_phone' | '/seam/customer/v1/settings/update' | '/spaces/add_acs_entrances' | '/spaces/add_devices' | '/spaces/create' | '/spaces/delete' | '/spaces/remove_acs_entrances' | '/spaces/remove_devices' | '/spaces/update' | '/thermostats/activate_climate_preset' | '/thermostats/cool' | '/thermostats/create_climate_preset' | '/thermostats/delete_climate_preset' | '/thermostats/heat' | '/thermostats/heat_cool' | '/thermostats/off' | '/thermostats/set_fallback_climate_preset' | '/thermostats/set_fan_mode' | '/thermostats/set_hvac_mode' | '/thermostats/set_temperature_threshold' | '/thermostats/update_climate_preset' | '/thermostats/update_weekly_program' | '/thermostats/daily_programs/create' | '/thermostats/daily_programs/delete' | '/thermostats/daily_programs/update' | '/thermostats/schedules/create' | '/thermostats/schedules/delete' | '/thermostats/schedules/update' | '/thermostats/simulate/hvac_mode_adjusted' | '/thermostats/simulate/temperature_reached' | '/unstable_access_grants/create' | '/unstable_locations/add_acs_entrances' | '/unstable_locations/add_devices' | '/unstable_locations/create' | '/unstable_locations/delete' | '/unstable_locations/remove_acs_entrances' | '/unstable_locations/remove_devices' | '/unstable_locations/update' | '/unstable_partner/building_blocks/connect_accounts' | '/unstable_partner/building_blocks/manage_devices' | '/unstable_partner/building_blocks/organize_spaces' | '/user_identities/add_acs_user' | '/user_identities/create' | '/user_identities/delete' | '/user_identities/generate_instant_key' | '/user_identities/grant_access_to_device' | '/user_identities/remove_acs_user' | '/user_identities/revoke_access_to_device' | '/user_identities/update' | '/user_identities/enrollment_automations/delete' | '/user_identities/enrollment_automations/launch' | '/webhooks/create' | '/webhooks/delete' | '/webhooks/update' | '/workspaces/create' | '/workspaces/reset_sandbox' | '/workspaces/update';
@@ -30,6 +30,7 @@ import { SeamHttpBridges, } from './bridges/index.js';
30
30
  import { SeamHttpClientSessions, } from './client-sessions/index.js';
31
31
  import { SeamHttpConnectWebviews, } from './connect-webviews/index.js';
32
32
  import { SeamHttpConnectedAccounts, } from './connected-accounts/index.js';
33
+ import { SeamHttpCustomers, } from './customers/index.js';
33
34
  import { SeamHttpDevices, } from './devices/index.js';
34
35
  import { SeamHttpDevicesSimulate, } from './devices/simulate/index.js';
35
36
  import { SeamHttpDevicesUnmanaged, } from './devices/unmanaged/index.js';
@@ -42,8 +43,9 @@ import { SeamHttpNoiseSensorsNoiseThresholds, } from './noise-sensors/noise-thre
42
43
  import { SeamHttpNoiseSensorsSimulate, } from './noise-sensors/simulate/index.js';
43
44
  import { SeamHttpPhones, } from './phones/index.js';
44
45
  import { SeamHttpPhonesSimulate, } from './phones/simulate/index.js';
46
+ import { SeamHttpSeamCustomerV1Portals, } from './seam/customer/v1/portals/index.js';
47
+ import { SeamHttpSeamCustomerV1Settings, } from './seam/customer/v1/settings/index.js';
45
48
  import { SeamHttpSeamPartnerV1BuildingBlocksSpaces, } from './seam/partner/v1/building-blocks/spaces/index.js';
46
- import { SeamHttpSeamPartnerV1Resources, } from './seam/partner/v1/resources/index.js';
47
49
  import { SeamHttpSpaces, } from './spaces/index.js';
48
50
  import { SeamHttpThermostatsDailyPrograms, } from './thermostats/daily-programs/index.js';
49
51
  import { SeamHttpThermostats, } from './thermostats/index.js';
@@ -53,7 +55,6 @@ import { SeamHttpUnstableAccessGrants, } from './unstable-access-grants/index.js
53
55
  import { SeamHttpUnstableAccessMethods, } from './unstable-access-methods/index.js';
54
56
  import { SeamHttpUnstableLocations, } from './unstable-locations/index.js';
55
57
  import { SeamHttpUnstablePartnerBuildingBlocks, } from './unstable-partner/building-blocks/index.js';
56
- import { SeamHttpUnstablePartnerResources, } from './unstable-partner/resources/index.js';
57
58
  import { SeamHttpUserIdentitiesEnrollmentAutomations, } from './user-identities/enrollment-automations/index.js';
58
59
  import { SeamHttpUserIdentities, } from './user-identities/index.js';
59
60
  import { SeamHttpWebhooks, } from './webhooks/index.js';
@@ -821,6 +822,20 @@ export class SeamHttpEndpoints {
821
822
  return seam.update(...args);
822
823
  };
823
824
  }
825
+ get ['/customers/create_portal']() {
826
+ const { client, defaults } = this;
827
+ return function customersCreatePortal(...args) {
828
+ const seam = SeamHttpCustomers.fromClient(client, defaults);
829
+ return seam.createPortal(...args);
830
+ };
831
+ }
832
+ get ['/customers/push_data']() {
833
+ const { client, defaults } = this;
834
+ return function customersPushData(...args) {
835
+ const seam = SeamHttpCustomers.fromClient(client, defaults);
836
+ return seam.pushData(...args);
837
+ };
838
+ }
824
839
  get ['/devices/delete']() {
825
840
  const { client, defaults } = this;
826
841
  if (!this.defaults.isUndocumentedApiEnabled) {
@@ -1060,24 +1075,34 @@ export class SeamHttpEndpoints {
1060
1075
  return seam.createSandboxPhone(...args);
1061
1076
  };
1062
1077
  }
1063
- get ['/seam/partner/v1/building_blocks/spaces/auto_map']() {
1078
+ get ['/seam/customer/v1/portals/get']() {
1064
1079
  const { client, defaults } = this;
1065
1080
  if (!this.defaults.isUndocumentedApiEnabled) {
1066
1081
  throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
1067
1082
  }
1068
- return function seamPartnerV1BuildingBlocksSpacesAutoMap(...args) {
1069
- const seam = SeamHttpSeamPartnerV1BuildingBlocksSpaces.fromClient(client, defaults);
1070
- return seam.autoMap(...args);
1083
+ return function seamCustomerV1PortalsGet(...args) {
1084
+ const seam = SeamHttpSeamCustomerV1Portals.fromClient(client, defaults);
1085
+ return seam.get(...args);
1071
1086
  };
1072
1087
  }
1073
- get ['/seam/partner/v1/resources/list']() {
1088
+ get ['/seam/customer/v1/settings/update']() {
1074
1089
  const { client, defaults } = this;
1075
1090
  if (!this.defaults.isUndocumentedApiEnabled) {
1076
1091
  throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
1077
1092
  }
1078
- return function seamPartnerV1ResourcesList(...args) {
1079
- const seam = SeamHttpSeamPartnerV1Resources.fromClient(client, defaults);
1080
- return seam.list(...args);
1093
+ return function seamCustomerV1SettingsUpdate(...args) {
1094
+ const seam = SeamHttpSeamCustomerV1Settings.fromClient(client, defaults);
1095
+ return seam.update(...args);
1096
+ };
1097
+ }
1098
+ get ['/seam/partner/v1/building_blocks/spaces/auto_map']() {
1099
+ const { client, defaults } = this;
1100
+ if (!this.defaults.isUndocumentedApiEnabled) {
1101
+ throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
1102
+ }
1103
+ return function seamPartnerV1BuildingBlocksSpacesAutoMap(...args) {
1104
+ const seam = SeamHttpSeamPartnerV1BuildingBlocksSpaces.fromClient(client, defaults);
1105
+ return seam.autoMap(...args);
1081
1106
  };
1082
1107
  }
1083
1108
  get ['/spaces/add_acs_entrances']() {
@@ -1521,16 +1546,6 @@ export class SeamHttpEndpoints {
1521
1546
  return seam.organizeSpaces(...args);
1522
1547
  };
1523
1548
  }
1524
- get ['/unstable_partner/resources/push']() {
1525
- const { client, defaults } = this;
1526
- if (!this.defaults.isUndocumentedApiEnabled) {
1527
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
1528
- }
1529
- return function unstablePartnerResourcesPush(...args) {
1530
- const seam = SeamHttpUnstablePartnerResources.fromClient(client, defaults);
1531
- return seam.push(...args);
1532
- };
1533
- }
1534
1549
  get ['/user_identities/add_acs_user']() {
1535
1550
  const { client, defaults } = this;
1536
1551
  return function userIdentitiesAddAcsUser(...args) {