@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.
- package/dist/connect.cjs +41 -48
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +44 -68
- package/dist/index.cjs +41 -48
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +37 -63
- package/lib/seam/connect/openapi.js +41 -48
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +7 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +44 -48
- package/src/lib/seam/connect/route-types.ts +7 -5
|
@@ -50263,6 +50263,14 @@ declare const _default: {
|
|
|
50263
50263
|
get: {
|
|
50264
50264
|
description: string;
|
|
50265
50265
|
operationId: string;
|
|
50266
|
+
parameters: {
|
|
50267
|
+
in: string;
|
|
50268
|
+
name: string;
|
|
50269
|
+
schema: {
|
|
50270
|
+
description: string;
|
|
50271
|
+
type: string;
|
|
50272
|
+
};
|
|
50273
|
+
}[];
|
|
50266
50274
|
responses: {
|
|
50267
50275
|
200: {
|
|
50268
50276
|
content: {
|
|
@@ -50532,15 +50540,9 @@ declare const _default: {
|
|
|
50532
50540
|
security: ({
|
|
50533
50541
|
console_session_with_workspace: never[];
|
|
50534
50542
|
api_key?: never;
|
|
50535
|
-
client_session_with_customer?: never;
|
|
50536
50543
|
} | {
|
|
50537
50544
|
api_key: never[];
|
|
50538
50545
|
console_session_with_workspace?: never;
|
|
50539
|
-
client_session_with_customer?: never;
|
|
50540
|
-
} | {
|
|
50541
|
-
client_session_with_customer: never[];
|
|
50542
|
-
console_session_with_workspace?: never;
|
|
50543
|
-
api_key?: never;
|
|
50544
50546
|
})[];
|
|
50545
50547
|
summary: string;
|
|
50546
50548
|
tags: never[];
|
|
@@ -50553,6 +50555,21 @@ declare const _default: {
|
|
|
50553
50555
|
post: {
|
|
50554
50556
|
description: string;
|
|
50555
50557
|
operationId: string;
|
|
50558
|
+
requestBody: {
|
|
50559
|
+
content: {
|
|
50560
|
+
'application/json': {
|
|
50561
|
+
schema: {
|
|
50562
|
+
properties: {
|
|
50563
|
+
customer_key: {
|
|
50564
|
+
description: string;
|
|
50565
|
+
type: string;
|
|
50566
|
+
};
|
|
50567
|
+
};
|
|
50568
|
+
type: string;
|
|
50569
|
+
};
|
|
50570
|
+
};
|
|
50571
|
+
};
|
|
50572
|
+
};
|
|
50556
50573
|
responses: {
|
|
50557
50574
|
200: {
|
|
50558
50575
|
content: {
|
|
@@ -50822,15 +50839,9 @@ declare const _default: {
|
|
|
50822
50839
|
security: ({
|
|
50823
50840
|
console_session_with_workspace: never[];
|
|
50824
50841
|
api_key?: never;
|
|
50825
|
-
client_session_with_customer?: never;
|
|
50826
50842
|
} | {
|
|
50827
50843
|
api_key: never[];
|
|
50828
50844
|
console_session_with_workspace?: never;
|
|
50829
|
-
client_session_with_customer?: never;
|
|
50830
|
-
} | {
|
|
50831
|
-
client_session_with_customer: never[];
|
|
50832
|
-
console_session_with_workspace?: never;
|
|
50833
|
-
api_key?: never;
|
|
50834
50845
|
})[];
|
|
50835
50846
|
summary: string;
|
|
50836
50847
|
tags: never[];
|
|
@@ -51102,6 +51113,10 @@ declare const _default: {
|
|
|
51102
51113
|
};
|
|
51103
51114
|
type: string;
|
|
51104
51115
|
};
|
|
51116
|
+
customer_key: {
|
|
51117
|
+
description: string;
|
|
51118
|
+
type: string;
|
|
51119
|
+
};
|
|
51105
51120
|
};
|
|
51106
51121
|
type: string;
|
|
51107
51122
|
};
|
|
@@ -51407,6 +51422,10 @@ declare const _default: {
|
|
|
51407
51422
|
};
|
|
51408
51423
|
type: string;
|
|
51409
51424
|
};
|
|
51425
|
+
customer_key: {
|
|
51426
|
+
description: string;
|
|
51427
|
+
type: string;
|
|
51428
|
+
};
|
|
51410
51429
|
};
|
|
51411
51430
|
type: string;
|
|
51412
51431
|
};
|
|
@@ -52582,15 +52601,6 @@ declare const _default: {
|
|
|
52582
52601
|
get: {
|
|
52583
52602
|
description: string;
|
|
52584
52603
|
operationId: string;
|
|
52585
|
-
parameters: {
|
|
52586
|
-
in: string;
|
|
52587
|
-
name: string;
|
|
52588
|
-
required: boolean;
|
|
52589
|
-
schema: {
|
|
52590
|
-
description: string;
|
|
52591
|
-
type: string;
|
|
52592
|
-
};
|
|
52593
|
-
}[];
|
|
52594
52604
|
responses: {
|
|
52595
52605
|
200: {
|
|
52596
52606
|
content: {
|
|
@@ -52862,19 +52872,9 @@ declare const _default: {
|
|
|
52862
52872
|
description: string;
|
|
52863
52873
|
};
|
|
52864
52874
|
};
|
|
52865
|
-
security:
|
|
52866
|
-
|
|
52867
|
-
|
|
52868
|
-
api_key?: never;
|
|
52869
|
-
} | {
|
|
52870
|
-
console_session_with_workspace: never[];
|
|
52871
|
-
pat_with_workspace?: never;
|
|
52872
|
-
api_key?: never;
|
|
52873
|
-
} | {
|
|
52874
|
-
api_key: never[];
|
|
52875
|
-
pat_with_workspace?: never;
|
|
52876
|
-
console_session_with_workspace?: never;
|
|
52877
|
-
})[];
|
|
52875
|
+
security: {
|
|
52876
|
+
client_session_with_customer: never[];
|
|
52877
|
+
}[];
|
|
52878
52878
|
summary: string;
|
|
52879
52879
|
tags: never[];
|
|
52880
52880
|
'x-fern-sdk-group-name': string[];
|
|
@@ -52886,22 +52886,6 @@ declare const _default: {
|
|
|
52886
52886
|
post: {
|
|
52887
52887
|
description: string;
|
|
52888
52888
|
operationId: string;
|
|
52889
|
-
requestBody: {
|
|
52890
|
-
content: {
|
|
52891
|
-
'application/json': {
|
|
52892
|
-
schema: {
|
|
52893
|
-
properties: {
|
|
52894
|
-
customer_key: {
|
|
52895
|
-
description: string;
|
|
52896
|
-
type: string;
|
|
52897
|
-
};
|
|
52898
|
-
};
|
|
52899
|
-
required: string[];
|
|
52900
|
-
type: string;
|
|
52901
|
-
};
|
|
52902
|
-
};
|
|
52903
|
-
};
|
|
52904
|
-
};
|
|
52905
52889
|
responses: {
|
|
52906
52890
|
200: {
|
|
52907
52891
|
content: {
|
|
@@ -53173,19 +53157,9 @@ declare const _default: {
|
|
|
53173
53157
|
description: string;
|
|
53174
53158
|
};
|
|
53175
53159
|
};
|
|
53176
|
-
security:
|
|
53177
|
-
|
|
53178
|
-
|
|
53179
|
-
api_key?: never;
|
|
53180
|
-
} | {
|
|
53181
|
-
console_session_with_workspace: never[];
|
|
53182
|
-
pat_with_workspace?: never;
|
|
53183
|
-
api_key?: never;
|
|
53184
|
-
} | {
|
|
53185
|
-
api_key: never[];
|
|
53186
|
-
pat_with_workspace?: never;
|
|
53187
|
-
console_session_with_workspace?: never;
|
|
53188
|
-
})[];
|
|
53160
|
+
security: {
|
|
53161
|
+
client_session_with_customer: never[];
|
|
53162
|
+
}[];
|
|
53189
53163
|
summary: string;
|
|
53190
53164
|
tags: never[];
|
|
53191
53165
|
'x-fern-sdk-group-name': string[];
|
|
@@ -56117,8 +56117,18 @@ export default {
|
|
|
56117
56117
|
},
|
|
56118
56118
|
'/seam/customer/v1/automations/get': {
|
|
56119
56119
|
get: {
|
|
56120
|
-
description: 'Gets the current automation configuration for a customer portal workspace.\
|
|
56120
|
+
description: '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.',
|
|
56121
56121
|
operationId: 'seamCustomerV1AutomationsGetGet',
|
|
56122
|
+
parameters: [
|
|
56123
|
+
{
|
|
56124
|
+
in: 'query',
|
|
56125
|
+
name: 'customer_key',
|
|
56126
|
+
schema: {
|
|
56127
|
+
description: 'Key of the customer to get automation config for.',
|
|
56128
|
+
type: 'string',
|
|
56129
|
+
},
|
|
56130
|
+
},
|
|
56131
|
+
],
|
|
56122
56132
|
responses: {
|
|
56123
56133
|
200: {
|
|
56124
56134
|
content: {
|
|
@@ -56388,11 +56398,7 @@ export default {
|
|
|
56388
56398
|
400: { description: 'Bad Request' },
|
|
56389
56399
|
401: { description: 'Unauthorized' },
|
|
56390
56400
|
},
|
|
56391
|
-
security: [
|
|
56392
|
-
{ console_session_with_workspace: [] },
|
|
56393
|
-
{ api_key: [] },
|
|
56394
|
-
{ client_session_with_customer: [] },
|
|
56395
|
-
],
|
|
56401
|
+
security: [{ console_session_with_workspace: [] }, { api_key: [] }],
|
|
56396
56402
|
summary: '/seam/customer/v1/automations/get',
|
|
56397
56403
|
tags: [],
|
|
56398
56404
|
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
|
|
@@ -56402,8 +56408,23 @@ export default {
|
|
|
56402
56408
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
56403
56409
|
},
|
|
56404
56410
|
post: {
|
|
56405
|
-
description: 'Gets the current automation configuration for a customer portal workspace.\
|
|
56411
|
+
description: '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.',
|
|
56406
56412
|
operationId: 'seamCustomerV1AutomationsGetPost',
|
|
56413
|
+
requestBody: {
|
|
56414
|
+
content: {
|
|
56415
|
+
'application/json': {
|
|
56416
|
+
schema: {
|
|
56417
|
+
properties: {
|
|
56418
|
+
customer_key: {
|
|
56419
|
+
description: 'Key of the customer to get automation config for.',
|
|
56420
|
+
type: 'string',
|
|
56421
|
+
},
|
|
56422
|
+
},
|
|
56423
|
+
type: 'object',
|
|
56424
|
+
},
|
|
56425
|
+
},
|
|
56426
|
+
},
|
|
56427
|
+
},
|
|
56407
56428
|
responses: {
|
|
56408
56429
|
200: {
|
|
56409
56430
|
content: {
|
|
@@ -56673,11 +56694,7 @@ export default {
|
|
|
56673
56694
|
400: { description: 'Bad Request' },
|
|
56674
56695
|
401: { description: 'Unauthorized' },
|
|
56675
56696
|
},
|
|
56676
|
-
security: [
|
|
56677
|
-
{ console_session_with_workspace: [] },
|
|
56678
|
-
{ api_key: [] },
|
|
56679
|
-
{ client_session_with_customer: [] },
|
|
56680
|
-
],
|
|
56697
|
+
security: [{ console_session_with_workspace: [] }, { api_key: [] }],
|
|
56681
56698
|
summary: '/seam/customer/v1/automations/get',
|
|
56682
56699
|
tags: [],
|
|
56683
56700
|
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
|
|
@@ -56936,6 +56953,10 @@ export default {
|
|
|
56936
56953
|
},
|
|
56937
56954
|
type: 'object',
|
|
56938
56955
|
},
|
|
56956
|
+
customer_key: {
|
|
56957
|
+
description: 'Key of the customer to update automation config for.',
|
|
56958
|
+
type: 'string',
|
|
56959
|
+
},
|
|
56939
56960
|
},
|
|
56940
56961
|
type: 'object',
|
|
56941
56962
|
},
|
|
@@ -57215,6 +57236,10 @@ export default {
|
|
|
57215
57236
|
},
|
|
57216
57237
|
type: 'object',
|
|
57217
57238
|
},
|
|
57239
|
+
customer_key: {
|
|
57240
|
+
description: 'Key of the customer to update automation config for.',
|
|
57241
|
+
type: 'string',
|
|
57242
|
+
},
|
|
57218
57243
|
},
|
|
57219
57244
|
type: 'object',
|
|
57220
57245
|
},
|
|
@@ -58204,16 +58229,8 @@ export default {
|
|
|
58204
58229
|
},
|
|
58205
58230
|
'/seam/customer/v1/customers/automations/get': {
|
|
58206
58231
|
get: {
|
|
58207
|
-
description: 'Gets the automation configuration for
|
|
58232
|
+
description: 'Gets the automation configuration for the authenticated customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).',
|
|
58208
58233
|
operationId: 'seamCustomerV1CustomersAutomationsGetGet',
|
|
58209
|
-
parameters: [
|
|
58210
|
-
{
|
|
58211
|
-
in: 'query',
|
|
58212
|
-
name: 'customer_key',
|
|
58213
|
-
required: true,
|
|
58214
|
-
schema: { description: 'Key of the customer.', type: 'string' },
|
|
58215
|
-
},
|
|
58216
|
-
],
|
|
58217
58234
|
responses: {
|
|
58218
58235
|
200: {
|
|
58219
58236
|
content: {
|
|
@@ -58492,11 +58509,7 @@ export default {
|
|
|
58492
58509
|
400: { description: 'Bad Request' },
|
|
58493
58510
|
401: { description: 'Unauthorized' },
|
|
58494
58511
|
},
|
|
58495
|
-
security: [
|
|
58496
|
-
{ pat_with_workspace: [] },
|
|
58497
|
-
{ console_session_with_workspace: [] },
|
|
58498
|
-
{ api_key: [] },
|
|
58499
|
-
],
|
|
58512
|
+
security: [{ client_session_with_customer: [] }],
|
|
58500
58513
|
summary: '/seam/customer/v1/customers/automations/get',
|
|
58501
58514
|
tags: [],
|
|
58502
58515
|
'x-fern-sdk-group-name': [
|
|
@@ -58512,24 +58525,8 @@ export default {
|
|
|
58512
58525
|
'x-title': 'Get Customer Automation Configuration',
|
|
58513
58526
|
},
|
|
58514
58527
|
post: {
|
|
58515
|
-
description: 'Gets the automation configuration for
|
|
58528
|
+
description: 'Gets the automation configuration for the authenticated customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).',
|
|
58516
58529
|
operationId: 'seamCustomerV1CustomersAutomationsGetPost',
|
|
58517
|
-
requestBody: {
|
|
58518
|
-
content: {
|
|
58519
|
-
'application/json': {
|
|
58520
|
-
schema: {
|
|
58521
|
-
properties: {
|
|
58522
|
-
customer_key: {
|
|
58523
|
-
description: 'Key of the customer.',
|
|
58524
|
-
type: 'string',
|
|
58525
|
-
},
|
|
58526
|
-
},
|
|
58527
|
-
required: ['customer_key'],
|
|
58528
|
-
type: 'object',
|
|
58529
|
-
},
|
|
58530
|
-
},
|
|
58531
|
-
},
|
|
58532
|
-
},
|
|
58533
58530
|
responses: {
|
|
58534
58531
|
200: {
|
|
58535
58532
|
content: {
|
|
@@ -58808,11 +58805,7 @@ export default {
|
|
|
58808
58805
|
400: { description: 'Bad Request' },
|
|
58809
58806
|
401: { description: 'Unauthorized' },
|
|
58810
58807
|
},
|
|
58811
|
-
security: [
|
|
58812
|
-
{ pat_with_workspace: [] },
|
|
58813
|
-
{ console_session_with_workspace: [] },
|
|
58814
|
-
{ api_key: [] },
|
|
58815
|
-
],
|
|
58808
|
+
security: [{ client_session_with_customer: [] }],
|
|
58816
58809
|
summary: '/seam/customer/v1/customers/automations/get',
|
|
58817
58810
|
tags: [],
|
|
58818
58811
|
'x-fern-sdk-group-name': [
|