@seamapi/types 1.749.0 → 1.750.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.
@@ -58332,7 +58332,10 @@ export type Routes = {
58332
58332
  method: 'GET' | 'POST';
58333
58333
  queryParams: {};
58334
58334
  jsonBody: {};
58335
- commonParams: {};
58335
+ commonParams: {
58336
+ /** Key of the customer to get automation config for. */
58337
+ customer_key?: string | undefined;
58338
+ };
58336
58339
  formData: {};
58337
58340
  jsonResponse: {
58338
58341
  access_rules?: {
@@ -58414,6 +58417,8 @@ export type Routes = {
58414
58417
  method: 'PATCH' | 'POST';
58415
58418
  queryParams: {};
58416
58419
  jsonBody: {
58420
+ /** Key of the customer to update automation config for. */
58421
+ customer_key?: string | undefined;
58417
58422
  /** Access automation rules configuration. */
58418
58423
  access_rules?: {
58419
58424
  reservation_created?: {
@@ -58706,10 +58711,7 @@ export type Routes = {
58706
58711
  method: 'GET' | 'POST';
58707
58712
  queryParams: {};
58708
58713
  jsonBody: {};
58709
- commonParams: {
58710
- /** Key of the customer. */
58711
- customer_key: string;
58712
- };
58714
+ commonParams: {};
58713
58715
  formData: {};
58714
58716
  jsonResponse: {
58715
58717
  automation: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.749.0",
3
+ "version": "1.750.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -61253,8 +61253,18 @@ export default {
61253
61253
  '/seam/customer/v1/automations/get': {
61254
61254
  get: {
61255
61255
  description:
61256
- 'Gets the current automation configuration for a customer portal workspace.\nFor customer client sessions, returns customer-specific config if available,\notherwise falls back to workspace-level config.',
61256
+ 'Gets the current automation configuration for a customer portal workspace.\nWhen customer_key is provided, returns customer-specific config if available,\notherwise falls back to workspace-level config.',
61257
61257
  operationId: 'seamCustomerV1AutomationsGetGet',
61258
+ parameters: [
61259
+ {
61260
+ in: 'query',
61261
+ name: 'customer_key',
61262
+ schema: {
61263
+ description: 'Key of the customer to get automation config for.',
61264
+ type: 'string',
61265
+ },
61266
+ },
61267
+ ],
61258
61268
  responses: {
61259
61269
  200: {
61260
61270
  content: {
@@ -61524,11 +61534,7 @@ export default {
61524
61534
  400: { description: 'Bad Request' },
61525
61535
  401: { description: 'Unauthorized' },
61526
61536
  },
61527
- security: [
61528
- { console_session_with_workspace: [] },
61529
- { api_key: [] },
61530
- { client_session_with_customer: [] },
61531
- ],
61537
+ security: [{ console_session_with_workspace: [] }, { api_key: [] }],
61532
61538
  summary: '/seam/customer/v1/automations/get',
61533
61539
  tags: [],
61534
61540
  'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
@@ -61539,8 +61545,24 @@ export default {
61539
61545
  },
61540
61546
  post: {
61541
61547
  description:
61542
- 'Gets the current automation configuration for a customer portal workspace.\nFor customer client sessions, returns customer-specific config if available,\notherwise falls back to workspace-level config.',
61548
+ 'Gets the current automation configuration for a customer portal workspace.\nWhen customer_key is provided, returns customer-specific config if available,\notherwise falls back to workspace-level config.',
61543
61549
  operationId: 'seamCustomerV1AutomationsGetPost',
61550
+ requestBody: {
61551
+ content: {
61552
+ 'application/json': {
61553
+ schema: {
61554
+ properties: {
61555
+ customer_key: {
61556
+ description:
61557
+ 'Key of the customer to get automation config for.',
61558
+ type: 'string',
61559
+ },
61560
+ },
61561
+ type: 'object',
61562
+ },
61563
+ },
61564
+ },
61565
+ },
61544
61566
  responses: {
61545
61567
  200: {
61546
61568
  content: {
@@ -61810,11 +61832,7 @@ export default {
61810
61832
  400: { description: 'Bad Request' },
61811
61833
  401: { description: 'Unauthorized' },
61812
61834
  },
61813
- security: [
61814
- { console_session_with_workspace: [] },
61815
- { api_key: [] },
61816
- { client_session_with_customer: [] },
61817
- ],
61835
+ security: [{ console_session_with_workspace: [] }, { api_key: [] }],
61818
61836
  summary: '/seam/customer/v1/automations/get',
61819
61837
  tags: [],
61820
61838
  'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
@@ -62074,6 +62092,11 @@ export default {
62074
62092
  },
62075
62093
  type: 'object',
62076
62094
  },
62095
+ customer_key: {
62096
+ description:
62097
+ 'Key of the customer to update automation config for.',
62098
+ type: 'string',
62099
+ },
62077
62100
  },
62078
62101
  type: 'object',
62079
62102
  },
@@ -62354,6 +62377,11 @@ export default {
62354
62377
  },
62355
62378
  type: 'object',
62356
62379
  },
62380
+ customer_key: {
62381
+ description:
62382
+ 'Key of the customer to update automation config for.',
62383
+ type: 'string',
62384
+ },
62357
62385
  },
62358
62386
  type: 'object',
62359
62387
  },
@@ -63360,16 +63388,8 @@ export default {
63360
63388
  '/seam/customer/v1/customers/automations/get': {
63361
63389
  get: {
63362
63390
  description:
63363
- 'Gets the automation configuration for a specific customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).',
63391
+ 'Gets the automation configuration for the authenticated customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).',
63364
63392
  operationId: 'seamCustomerV1CustomersAutomationsGetGet',
63365
- parameters: [
63366
- {
63367
- in: 'query',
63368
- name: 'customer_key',
63369
- required: true,
63370
- schema: { description: 'Key of the customer.', type: 'string' },
63371
- },
63372
- ],
63373
63393
  responses: {
63374
63394
  200: {
63375
63395
  content: {
@@ -63648,11 +63668,7 @@ export default {
63648
63668
  400: { description: 'Bad Request' },
63649
63669
  401: { description: 'Unauthorized' },
63650
63670
  },
63651
- security: [
63652
- { pat_with_workspace: [] },
63653
- { console_session_with_workspace: [] },
63654
- { api_key: [] },
63655
- ],
63671
+ security: [{ client_session_with_customer: [] }],
63656
63672
  summary: '/seam/customer/v1/customers/automations/get',
63657
63673
  tags: [],
63658
63674
  'x-fern-sdk-group-name': [
@@ -63669,24 +63685,8 @@ export default {
63669
63685
  },
63670
63686
  post: {
63671
63687
  description:
63672
- 'Gets the automation configuration for a specific customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).',
63688
+ 'Gets the automation configuration for the authenticated customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).',
63673
63689
  operationId: 'seamCustomerV1CustomersAutomationsGetPost',
63674
- requestBody: {
63675
- content: {
63676
- 'application/json': {
63677
- schema: {
63678
- properties: {
63679
- customer_key: {
63680
- description: 'Key of the customer.',
63681
- type: 'string',
63682
- },
63683
- },
63684
- required: ['customer_key'],
63685
- type: 'object',
63686
- },
63687
- },
63688
- },
63689
- },
63690
63690
  responses: {
63691
63691
  200: {
63692
63692
  content: {
@@ -63965,11 +63965,7 @@ export default {
63965
63965
  400: { description: 'Bad Request' },
63966
63966
  401: { description: 'Unauthorized' },
63967
63967
  },
63968
- security: [
63969
- { pat_with_workspace: [] },
63970
- { console_session_with_workspace: [] },
63971
- { api_key: [] },
63972
- ],
63968
+ security: [{ client_session_with_customer: [] }],
63973
63969
  summary: '/seam/customer/v1/customers/automations/get',
63974
63970
  tags: [],
63975
63971
  'x-fern-sdk-group-name': [
@@ -69458,7 +69458,10 @@ export type Routes = {
69458
69458
  method: 'GET' | 'POST'
69459
69459
  queryParams: {}
69460
69460
  jsonBody: {}
69461
- commonParams: {}
69461
+ commonParams: {
69462
+ /** Key of the customer to get automation config for. */
69463
+ customer_key?: string | undefined
69464
+ }
69462
69465
  formData: {}
69463
69466
  jsonResponse: {
69464
69467
  access_rules?:
@@ -69569,6 +69572,8 @@ export type Routes = {
69569
69572
  method: 'PATCH' | 'POST'
69570
69573
  queryParams: {}
69571
69574
  jsonBody: {
69575
+ /** Key of the customer to update automation config for. */
69576
+ customer_key?: string | undefined
69572
69577
  /** Access automation rules configuration. */
69573
69578
  access_rules?:
69574
69579
  | {
@@ -69898,10 +69903,7 @@ export type Routes = {
69898
69903
  method: 'GET' | 'POST'
69899
69904
  queryParams: {}
69900
69905
  jsonBody: {}
69901
- commonParams: {
69902
- /** Key of the customer. */
69903
- customer_key: string
69904
- }
69906
+ commonParams: {}
69905
69907
  formData: {}
69906
69908
  jsonResponse: {
69907
69909
  automation: {