@seamapi/types 1.474.0 → 1.475.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 +391 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +620 -1
- package/dist/index.cjs +391 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customization_profiles/customization_profile.d.ts +21 -0
- package/lib/seam/connect/models/customization_profiles/customization_profile.js +9 -0
- package/lib/seam/connect/models/customization_profiles/customization_profile.js.map +1 -0
- package/lib/seam/connect/models/index.d.ts +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +520 -0
- package/lib/seam/connect/openapi.js +383 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +78 -0
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customization_profiles/customization_profile.ts +11 -0
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +383 -0
- package/src/lib/seam/connect/route-types.ts +78 -0
- package/src/lib/seam/connect/schemas.ts +1 -0
|
@@ -75705,6 +75705,84 @@ export type Routes = {
|
|
|
75705
75705
|
};
|
|
75706
75706
|
};
|
|
75707
75707
|
};
|
|
75708
|
+
'/workspaces/customization_profiles/create': {
|
|
75709
|
+
route: '/workspaces/customization_profiles/create';
|
|
75710
|
+
method: 'POST';
|
|
75711
|
+
queryParams: {};
|
|
75712
|
+
jsonBody: {
|
|
75713
|
+
primary_color: string;
|
|
75714
|
+
secondary_color: string;
|
|
75715
|
+
};
|
|
75716
|
+
commonParams: {};
|
|
75717
|
+
formData: {};
|
|
75718
|
+
jsonResponse: {
|
|
75719
|
+
customization_profile: {
|
|
75720
|
+
workspace_id: string;
|
|
75721
|
+
customization_profile_id: string;
|
|
75722
|
+
logo_url?: string | undefined;
|
|
75723
|
+
primary_color?: string | undefined;
|
|
75724
|
+
secondary_color?: string | undefined;
|
|
75725
|
+
};
|
|
75726
|
+
};
|
|
75727
|
+
};
|
|
75728
|
+
'/workspaces/customization_profiles/get': {
|
|
75729
|
+
route: '/workspaces/customization_profiles/get';
|
|
75730
|
+
method: 'POST' | 'GET';
|
|
75731
|
+
queryParams: {};
|
|
75732
|
+
jsonBody: {};
|
|
75733
|
+
commonParams: {
|
|
75734
|
+
customization_profile_id: string;
|
|
75735
|
+
};
|
|
75736
|
+
formData: {};
|
|
75737
|
+
jsonResponse: {
|
|
75738
|
+
customization_profile: {
|
|
75739
|
+
workspace_id: string;
|
|
75740
|
+
customization_profile_id: string;
|
|
75741
|
+
logo_url?: string | undefined;
|
|
75742
|
+
primary_color?: string | undefined;
|
|
75743
|
+
secondary_color?: string | undefined;
|
|
75744
|
+
};
|
|
75745
|
+
};
|
|
75746
|
+
};
|
|
75747
|
+
'/workspaces/customization_profiles/list': {
|
|
75748
|
+
route: '/workspaces/customization_profiles/list';
|
|
75749
|
+
method: 'POST' | 'GET';
|
|
75750
|
+
queryParams: {};
|
|
75751
|
+
jsonBody: {};
|
|
75752
|
+
commonParams: {};
|
|
75753
|
+
formData: {};
|
|
75754
|
+
jsonResponse: {
|
|
75755
|
+
customization_profiles: {
|
|
75756
|
+
workspace_id: string;
|
|
75757
|
+
customization_profile_id: string;
|
|
75758
|
+
logo_url?: string | undefined;
|
|
75759
|
+
primary_color?: string | undefined;
|
|
75760
|
+
secondary_color?: string | undefined;
|
|
75761
|
+
}[];
|
|
75762
|
+
};
|
|
75763
|
+
};
|
|
75764
|
+
'/workspaces/customization_profiles/update': {
|
|
75765
|
+
route: '/workspaces/customization_profiles/update';
|
|
75766
|
+
method: 'POST' | 'PATCH';
|
|
75767
|
+
queryParams: {};
|
|
75768
|
+
jsonBody: {
|
|
75769
|
+
customization_profile_id: string;
|
|
75770
|
+
primary_color?: string | undefined;
|
|
75771
|
+
secondary_color?: string | undefined;
|
|
75772
|
+
};
|
|
75773
|
+
commonParams: {};
|
|
75774
|
+
formData: {};
|
|
75775
|
+
jsonResponse: {};
|
|
75776
|
+
};
|
|
75777
|
+
'/workspaces/customization_profiles/upload_images': {
|
|
75778
|
+
route: '/workspaces/customization_profiles/upload_images';
|
|
75779
|
+
method: 'POST';
|
|
75780
|
+
queryParams: {};
|
|
75781
|
+
jsonBody: {};
|
|
75782
|
+
commonParams: {};
|
|
75783
|
+
formData: {};
|
|
75784
|
+
jsonResponse: {};
|
|
75785
|
+
};
|
|
75708
75786
|
'/workspaces/find_resources': {
|
|
75709
75787
|
route: '/workspaces/find_resources';
|
|
75710
75788
|
method: 'GET' | 'POST';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, building_block_type, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
1
|
+
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, building_block_type, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, building_block_type, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
1
|
+
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, building_block_type, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
2
2
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,KAAK,EACL,MAAM,EACN,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,MAAM,EACN,eAAe,EACf,WAAW,EACX,UAAU,EACV,eAAe,EACf,UAAU,EACV,UAAU,EACV,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,KAAK,EACL,MAAM,EACN,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,MAAM,EACN,eAAe,EACf,WAAW,EACX,UAAU,EACV,eAAe,EACf,UAAU,EACV,UAAU,EACV,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod'
|
|
2
|
+
|
|
3
|
+
export const customization_profile = z.object({
|
|
4
|
+
workspace_id: z.string().uuid(),
|
|
5
|
+
customization_profile_id: z.string().uuid(),
|
|
6
|
+
logo_url: z.string().optional(),
|
|
7
|
+
primary_color: z.string().optional(),
|
|
8
|
+
secondary_color: z.string().optional(),
|
|
9
|
+
})
|
|
10
|
+
|
|
11
|
+
export type CustomizationProfile = z.infer<typeof customization_profile>
|
|
@@ -13,6 +13,7 @@ export * from './customer/access-grant-resources.js'
|
|
|
13
13
|
export * from './customer/index.js'
|
|
14
14
|
export * from './customer/location-resources.js'
|
|
15
15
|
export * from './customer/user-identity-resources.js'
|
|
16
|
+
export * from './customization_profiles/customization_profile.js'
|
|
16
17
|
export * from './devices/index.js'
|
|
17
18
|
export * from './events/index.js'
|
|
18
19
|
export * from './instant-keys/index.js'
|
|
@@ -56056,6 +56056,389 @@ export default {
|
|
|
56056
56056
|
'x-title': 'Create a Workspace',
|
|
56057
56057
|
},
|
|
56058
56058
|
},
|
|
56059
|
+
'/workspaces/customization_profiles/create': {
|
|
56060
|
+
post: {
|
|
56061
|
+
description: 'Updates the customization profile for the workspace.',
|
|
56062
|
+
operationId: 'workspacesCustomizationProfilesCreatePost',
|
|
56063
|
+
requestBody: {
|
|
56064
|
+
content: {
|
|
56065
|
+
'application/json': {
|
|
56066
|
+
schema: {
|
|
56067
|
+
properties: {
|
|
56068
|
+
primary_color: { type: 'string' },
|
|
56069
|
+
secondary_color: { type: 'string' },
|
|
56070
|
+
},
|
|
56071
|
+
required: ['primary_color', 'secondary_color'],
|
|
56072
|
+
type: 'object',
|
|
56073
|
+
},
|
|
56074
|
+
},
|
|
56075
|
+
},
|
|
56076
|
+
},
|
|
56077
|
+
responses: {
|
|
56078
|
+
200: {
|
|
56079
|
+
content: {
|
|
56080
|
+
'application/json': {
|
|
56081
|
+
schema: {
|
|
56082
|
+
properties: {
|
|
56083
|
+
customization_profile: {
|
|
56084
|
+
properties: {
|
|
56085
|
+
customization_profile_id: {
|
|
56086
|
+
format: 'uuid',
|
|
56087
|
+
type: 'string',
|
|
56088
|
+
},
|
|
56089
|
+
logo_url: { type: 'string' },
|
|
56090
|
+
primary_color: { type: 'string' },
|
|
56091
|
+
secondary_color: { type: 'string' },
|
|
56092
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
56093
|
+
},
|
|
56094
|
+
required: ['workspace_id', 'customization_profile_id'],
|
|
56095
|
+
type: 'object',
|
|
56096
|
+
},
|
|
56097
|
+
ok: { type: 'boolean' },
|
|
56098
|
+
},
|
|
56099
|
+
required: ['customization_profile', 'ok'],
|
|
56100
|
+
type: 'object',
|
|
56101
|
+
},
|
|
56102
|
+
},
|
|
56103
|
+
},
|
|
56104
|
+
description: 'OK',
|
|
56105
|
+
},
|
|
56106
|
+
400: { description: 'Bad Request' },
|
|
56107
|
+
401: { description: 'Unauthorized' },
|
|
56108
|
+
},
|
|
56109
|
+
security: [{ client_session_with_customer: [] }],
|
|
56110
|
+
summary: '/workspaces/customization_profiles/create',
|
|
56111
|
+
tags: ['/workspaces'],
|
|
56112
|
+
'x-fern-sdk-group-name': ['workspaces', 'customization_profiles'],
|
|
56113
|
+
'x-fern-sdk-method-name': 'create',
|
|
56114
|
+
'x-fern-sdk-return-value': 'customization_profile',
|
|
56115
|
+
'x-response-key': 'customization_profile',
|
|
56116
|
+
'x-title': 'Update Customization Profile',
|
|
56117
|
+
},
|
|
56118
|
+
},
|
|
56119
|
+
'/workspaces/customization_profiles/get': {
|
|
56120
|
+
get: {
|
|
56121
|
+
description: 'Retrieves the customization profile for the workspace.',
|
|
56122
|
+
operationId: 'workspacesCustomizationProfilesGetGet',
|
|
56123
|
+
parameters: [
|
|
56124
|
+
{
|
|
56125
|
+
in: 'query',
|
|
56126
|
+
name: 'customization_profile_id',
|
|
56127
|
+
required: true,
|
|
56128
|
+
schema: { format: 'uuid', type: 'string' },
|
|
56129
|
+
},
|
|
56130
|
+
],
|
|
56131
|
+
responses: {
|
|
56132
|
+
200: {
|
|
56133
|
+
content: {
|
|
56134
|
+
'application/json': {
|
|
56135
|
+
schema: {
|
|
56136
|
+
properties: {
|
|
56137
|
+
customization_profile: {
|
|
56138
|
+
properties: {
|
|
56139
|
+
customization_profile_id: {
|
|
56140
|
+
format: 'uuid',
|
|
56141
|
+
type: 'string',
|
|
56142
|
+
},
|
|
56143
|
+
logo_url: { type: 'string' },
|
|
56144
|
+
primary_color: { type: 'string' },
|
|
56145
|
+
secondary_color: { type: 'string' },
|
|
56146
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
56147
|
+
},
|
|
56148
|
+
required: ['workspace_id', 'customization_profile_id'],
|
|
56149
|
+
type: 'object',
|
|
56150
|
+
},
|
|
56151
|
+
ok: { type: 'boolean' },
|
|
56152
|
+
},
|
|
56153
|
+
required: ['customization_profile', 'ok'],
|
|
56154
|
+
type: 'object',
|
|
56155
|
+
},
|
|
56156
|
+
},
|
|
56157
|
+
},
|
|
56158
|
+
description: 'OK',
|
|
56159
|
+
},
|
|
56160
|
+
400: { description: 'Bad Request' },
|
|
56161
|
+
401: { description: 'Unauthorized' },
|
|
56162
|
+
},
|
|
56163
|
+
security: [{ client_session_with_customer: [] }],
|
|
56164
|
+
summary: '/workspaces/customization_profiles/get',
|
|
56165
|
+
tags: ['/workspaces'],
|
|
56166
|
+
'x-fern-sdk-group-name': ['workspaces', 'customization_profiles'],
|
|
56167
|
+
'x-fern-sdk-method-name': 'get',
|
|
56168
|
+
'x-fern-sdk-return-value': 'customization_profile',
|
|
56169
|
+
'x-response-key': 'customization_profile',
|
|
56170
|
+
'x-title': 'Get Customization Profile',
|
|
56171
|
+
},
|
|
56172
|
+
post: {
|
|
56173
|
+
description: 'Retrieves the customization profile for the workspace.',
|
|
56174
|
+
operationId: 'workspacesCustomizationProfilesGetPost',
|
|
56175
|
+
requestBody: {
|
|
56176
|
+
content: {
|
|
56177
|
+
'application/json': {
|
|
56178
|
+
schema: {
|
|
56179
|
+
properties: {
|
|
56180
|
+
customization_profile_id: { format: 'uuid', type: 'string' },
|
|
56181
|
+
},
|
|
56182
|
+
required: ['customization_profile_id'],
|
|
56183
|
+
type: 'object',
|
|
56184
|
+
},
|
|
56185
|
+
},
|
|
56186
|
+
},
|
|
56187
|
+
},
|
|
56188
|
+
responses: {
|
|
56189
|
+
200: {
|
|
56190
|
+
content: {
|
|
56191
|
+
'application/json': {
|
|
56192
|
+
schema: {
|
|
56193
|
+
properties: {
|
|
56194
|
+
customization_profile: {
|
|
56195
|
+
properties: {
|
|
56196
|
+
customization_profile_id: {
|
|
56197
|
+
format: 'uuid',
|
|
56198
|
+
type: 'string',
|
|
56199
|
+
},
|
|
56200
|
+
logo_url: { type: 'string' },
|
|
56201
|
+
primary_color: { type: 'string' },
|
|
56202
|
+
secondary_color: { type: 'string' },
|
|
56203
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
56204
|
+
},
|
|
56205
|
+
required: ['workspace_id', 'customization_profile_id'],
|
|
56206
|
+
type: 'object',
|
|
56207
|
+
},
|
|
56208
|
+
ok: { type: 'boolean' },
|
|
56209
|
+
},
|
|
56210
|
+
required: ['customization_profile', 'ok'],
|
|
56211
|
+
type: 'object',
|
|
56212
|
+
},
|
|
56213
|
+
},
|
|
56214
|
+
},
|
|
56215
|
+
description: 'OK',
|
|
56216
|
+
},
|
|
56217
|
+
400: { description: 'Bad Request' },
|
|
56218
|
+
401: { description: 'Unauthorized' },
|
|
56219
|
+
},
|
|
56220
|
+
security: [{ client_session_with_customer: [] }],
|
|
56221
|
+
summary: '/workspaces/customization_profiles/get',
|
|
56222
|
+
tags: ['/workspaces'],
|
|
56223
|
+
'x-fern-sdk-group-name': ['workspaces', 'customization_profiles'],
|
|
56224
|
+
'x-fern-sdk-method-name': 'get',
|
|
56225
|
+
'x-fern-sdk-return-value': 'customization_profile',
|
|
56226
|
+
'x-response-key': 'customization_profile',
|
|
56227
|
+
'x-title': 'Get Customization Profile',
|
|
56228
|
+
},
|
|
56229
|
+
},
|
|
56230
|
+
'/workspaces/customization_profiles/list': {
|
|
56231
|
+
get: {
|
|
56232
|
+
description: 'Retrieves the customization profile for the workspace.',
|
|
56233
|
+
operationId: 'workspacesCustomizationProfilesListGet',
|
|
56234
|
+
responses: {
|
|
56235
|
+
200: {
|
|
56236
|
+
content: {
|
|
56237
|
+
'application/json': {
|
|
56238
|
+
schema: {
|
|
56239
|
+
properties: {
|
|
56240
|
+
customization_profiles: {
|
|
56241
|
+
items: {
|
|
56242
|
+
properties: {
|
|
56243
|
+
customization_profile_id: {
|
|
56244
|
+
format: 'uuid',
|
|
56245
|
+
type: 'string',
|
|
56246
|
+
},
|
|
56247
|
+
logo_url: { type: 'string' },
|
|
56248
|
+
primary_color: { type: 'string' },
|
|
56249
|
+
secondary_color: { type: 'string' },
|
|
56250
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
56251
|
+
},
|
|
56252
|
+
required: ['workspace_id', 'customization_profile_id'],
|
|
56253
|
+
type: 'object',
|
|
56254
|
+
},
|
|
56255
|
+
type: 'array',
|
|
56256
|
+
},
|
|
56257
|
+
ok: { type: 'boolean' },
|
|
56258
|
+
},
|
|
56259
|
+
required: ['customization_profiles', 'ok'],
|
|
56260
|
+
type: 'object',
|
|
56261
|
+
},
|
|
56262
|
+
},
|
|
56263
|
+
},
|
|
56264
|
+
description: 'OK',
|
|
56265
|
+
},
|
|
56266
|
+
400: { description: 'Bad Request' },
|
|
56267
|
+
401: { description: 'Unauthorized' },
|
|
56268
|
+
},
|
|
56269
|
+
security: [{ client_session_with_customer: [] }],
|
|
56270
|
+
summary: '/workspaces/customization_profiles/list',
|
|
56271
|
+
tags: ['/workspaces'],
|
|
56272
|
+
'x-fern-sdk-group-name': ['workspaces', 'customization_profiles'],
|
|
56273
|
+
'x-fern-sdk-method-name': 'list',
|
|
56274
|
+
'x-fern-sdk-return-value': 'customization_profiles',
|
|
56275
|
+
'x-response-key': 'customization_profiles',
|
|
56276
|
+
'x-title': 'Get Customization Profile',
|
|
56277
|
+
},
|
|
56278
|
+
post: {
|
|
56279
|
+
description: 'Retrieves the customization profile for the workspace.',
|
|
56280
|
+
operationId: 'workspacesCustomizationProfilesListPost',
|
|
56281
|
+
responses: {
|
|
56282
|
+
200: {
|
|
56283
|
+
content: {
|
|
56284
|
+
'application/json': {
|
|
56285
|
+
schema: {
|
|
56286
|
+
properties: {
|
|
56287
|
+
customization_profiles: {
|
|
56288
|
+
items: {
|
|
56289
|
+
properties: {
|
|
56290
|
+
customization_profile_id: {
|
|
56291
|
+
format: 'uuid',
|
|
56292
|
+
type: 'string',
|
|
56293
|
+
},
|
|
56294
|
+
logo_url: { type: 'string' },
|
|
56295
|
+
primary_color: { type: 'string' },
|
|
56296
|
+
secondary_color: { type: 'string' },
|
|
56297
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
56298
|
+
},
|
|
56299
|
+
required: ['workspace_id', 'customization_profile_id'],
|
|
56300
|
+
type: 'object',
|
|
56301
|
+
},
|
|
56302
|
+
type: 'array',
|
|
56303
|
+
},
|
|
56304
|
+
ok: { type: 'boolean' },
|
|
56305
|
+
},
|
|
56306
|
+
required: ['customization_profiles', 'ok'],
|
|
56307
|
+
type: 'object',
|
|
56308
|
+
},
|
|
56309
|
+
},
|
|
56310
|
+
},
|
|
56311
|
+
description: 'OK',
|
|
56312
|
+
},
|
|
56313
|
+
400: { description: 'Bad Request' },
|
|
56314
|
+
401: { description: 'Unauthorized' },
|
|
56315
|
+
},
|
|
56316
|
+
security: [{ client_session_with_customer: [] }],
|
|
56317
|
+
summary: '/workspaces/customization_profiles/list',
|
|
56318
|
+
tags: ['/workspaces'],
|
|
56319
|
+
'x-fern-sdk-group-name': ['workspaces', 'customization_profiles'],
|
|
56320
|
+
'x-fern-sdk-method-name': 'list',
|
|
56321
|
+
'x-fern-sdk-return-value': 'customization_profiles',
|
|
56322
|
+
'x-response-key': 'customization_profiles',
|
|
56323
|
+
'x-title': 'Get Customization Profile',
|
|
56324
|
+
},
|
|
56325
|
+
},
|
|
56326
|
+
'/workspaces/customization_profiles/update': {
|
|
56327
|
+
patch: {
|
|
56328
|
+
description: 'Updates the customization profile for the workspace.',
|
|
56329
|
+
operationId: 'workspacesCustomizationProfilesUpdatePatch',
|
|
56330
|
+
requestBody: {
|
|
56331
|
+
content: {
|
|
56332
|
+
'application/json': {
|
|
56333
|
+
schema: {
|
|
56334
|
+
properties: {
|
|
56335
|
+
customization_profile_id: { format: 'uuid', type: 'string' },
|
|
56336
|
+
primary_color: { type: 'string' },
|
|
56337
|
+
secondary_color: { type: 'string' },
|
|
56338
|
+
},
|
|
56339
|
+
required: ['customization_profile_id'],
|
|
56340
|
+
type: 'object',
|
|
56341
|
+
},
|
|
56342
|
+
},
|
|
56343
|
+
},
|
|
56344
|
+
},
|
|
56345
|
+
responses: {
|
|
56346
|
+
200: {
|
|
56347
|
+
content: {
|
|
56348
|
+
'application/json': {
|
|
56349
|
+
schema: {
|
|
56350
|
+
properties: { ok: { type: 'boolean' } },
|
|
56351
|
+
required: ['ok'],
|
|
56352
|
+
type: 'object',
|
|
56353
|
+
},
|
|
56354
|
+
},
|
|
56355
|
+
},
|
|
56356
|
+
description: 'OK',
|
|
56357
|
+
},
|
|
56358
|
+
400: { description: 'Bad Request' },
|
|
56359
|
+
401: { description: 'Unauthorized' },
|
|
56360
|
+
},
|
|
56361
|
+
security: [{ client_session_with_customer: [] }],
|
|
56362
|
+
summary: '/workspaces/customization_profiles/update',
|
|
56363
|
+
tags: ['/workspaces'],
|
|
56364
|
+
'x-fern-sdk-group-name': ['workspaces', 'customization_profiles'],
|
|
56365
|
+
'x-fern-sdk-method-name': 'update',
|
|
56366
|
+
'x-response-key': null,
|
|
56367
|
+
'x-title': 'Update Customization Profile',
|
|
56368
|
+
},
|
|
56369
|
+
post: {
|
|
56370
|
+
description: 'Updates the customization profile for the workspace.',
|
|
56371
|
+
operationId: 'workspacesCustomizationProfilesUpdatePost',
|
|
56372
|
+
requestBody: {
|
|
56373
|
+
content: {
|
|
56374
|
+
'application/json': {
|
|
56375
|
+
schema: {
|
|
56376
|
+
properties: {
|
|
56377
|
+
customization_profile_id: { format: 'uuid', type: 'string' },
|
|
56378
|
+
primary_color: { type: 'string' },
|
|
56379
|
+
secondary_color: { type: 'string' },
|
|
56380
|
+
},
|
|
56381
|
+
required: ['customization_profile_id'],
|
|
56382
|
+
type: 'object',
|
|
56383
|
+
},
|
|
56384
|
+
},
|
|
56385
|
+
},
|
|
56386
|
+
},
|
|
56387
|
+
responses: {
|
|
56388
|
+
200: {
|
|
56389
|
+
content: {
|
|
56390
|
+
'application/json': {
|
|
56391
|
+
schema: {
|
|
56392
|
+
properties: { ok: { type: 'boolean' } },
|
|
56393
|
+
required: ['ok'],
|
|
56394
|
+
type: 'object',
|
|
56395
|
+
},
|
|
56396
|
+
},
|
|
56397
|
+
},
|
|
56398
|
+
description: 'OK',
|
|
56399
|
+
},
|
|
56400
|
+
400: { description: 'Bad Request' },
|
|
56401
|
+
401: { description: 'Unauthorized' },
|
|
56402
|
+
},
|
|
56403
|
+
security: [{ client_session_with_customer: [] }],
|
|
56404
|
+
summary: '/workspaces/customization_profiles/update',
|
|
56405
|
+
tags: ['/workspaces'],
|
|
56406
|
+
'x-fern-sdk-group-name': ['workspaces', 'customization_profiles'],
|
|
56407
|
+
'x-fern-sdk-method-name': 'update',
|
|
56408
|
+
'x-response-key': null,
|
|
56409
|
+
'x-title': 'Update Customization Profile',
|
|
56410
|
+
},
|
|
56411
|
+
},
|
|
56412
|
+
'/workspaces/customization_profiles/upload_images': {
|
|
56413
|
+
post: {
|
|
56414
|
+
description: 'Uploads a logo for the customization profile.',
|
|
56415
|
+
operationId: 'workspacesCustomizationProfilesUploadImagesPost',
|
|
56416
|
+
responses: {
|
|
56417
|
+
200: {
|
|
56418
|
+
content: {
|
|
56419
|
+
'application/json': {
|
|
56420
|
+
schema: {
|
|
56421
|
+
properties: { ok: { type: 'boolean' } },
|
|
56422
|
+
required: ['ok'],
|
|
56423
|
+
type: 'object',
|
|
56424
|
+
},
|
|
56425
|
+
},
|
|
56426
|
+
},
|
|
56427
|
+
description: 'OK',
|
|
56428
|
+
},
|
|
56429
|
+
400: { description: 'Bad Request' },
|
|
56430
|
+
401: { description: 'Unauthorized' },
|
|
56431
|
+
},
|
|
56432
|
+
security: [{ client_session_with_customer: [] }],
|
|
56433
|
+
summary: '/workspaces/customization_profiles/upload_images',
|
|
56434
|
+
tags: ['/workspaces'],
|
|
56435
|
+
'x-fern-sdk-group-name': ['workspaces', 'customization_profiles'],
|
|
56436
|
+
'x-fern-sdk-method-name': 'upload_images',
|
|
56437
|
+
'x-response-key': null,
|
|
56438
|
+
'x-title': 'Upload Customization Profile Logo',
|
|
56439
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
56440
|
+
},
|
|
56441
|
+
},
|
|
56059
56442
|
'/workspaces/find_resources': {
|
|
56060
56443
|
get: {
|
|
56061
56444
|
description: 'Search for resources inside a workspace.',
|
|
@@ -89834,6 +89834,84 @@ export type Routes = {
|
|
|
89834
89834
|
}
|
|
89835
89835
|
}
|
|
89836
89836
|
}
|
|
89837
|
+
'/workspaces/customization_profiles/create': {
|
|
89838
|
+
route: '/workspaces/customization_profiles/create'
|
|
89839
|
+
method: 'POST'
|
|
89840
|
+
queryParams: {}
|
|
89841
|
+
jsonBody: {
|
|
89842
|
+
primary_color: string
|
|
89843
|
+
secondary_color: string
|
|
89844
|
+
}
|
|
89845
|
+
commonParams: {}
|
|
89846
|
+
formData: {}
|
|
89847
|
+
jsonResponse: {
|
|
89848
|
+
customization_profile: {
|
|
89849
|
+
workspace_id: string
|
|
89850
|
+
customization_profile_id: string
|
|
89851
|
+
logo_url?: string | undefined
|
|
89852
|
+
primary_color?: string | undefined
|
|
89853
|
+
secondary_color?: string | undefined
|
|
89854
|
+
}
|
|
89855
|
+
}
|
|
89856
|
+
}
|
|
89857
|
+
'/workspaces/customization_profiles/get': {
|
|
89858
|
+
route: '/workspaces/customization_profiles/get'
|
|
89859
|
+
method: 'POST' | 'GET'
|
|
89860
|
+
queryParams: {}
|
|
89861
|
+
jsonBody: {}
|
|
89862
|
+
commonParams: {
|
|
89863
|
+
customization_profile_id: string
|
|
89864
|
+
}
|
|
89865
|
+
formData: {}
|
|
89866
|
+
jsonResponse: {
|
|
89867
|
+
customization_profile: {
|
|
89868
|
+
workspace_id: string
|
|
89869
|
+
customization_profile_id: string
|
|
89870
|
+
logo_url?: string | undefined
|
|
89871
|
+
primary_color?: string | undefined
|
|
89872
|
+
secondary_color?: string | undefined
|
|
89873
|
+
}
|
|
89874
|
+
}
|
|
89875
|
+
}
|
|
89876
|
+
'/workspaces/customization_profiles/list': {
|
|
89877
|
+
route: '/workspaces/customization_profiles/list'
|
|
89878
|
+
method: 'POST' | 'GET'
|
|
89879
|
+
queryParams: {}
|
|
89880
|
+
jsonBody: {}
|
|
89881
|
+
commonParams: {}
|
|
89882
|
+
formData: {}
|
|
89883
|
+
jsonResponse: {
|
|
89884
|
+
customization_profiles: {
|
|
89885
|
+
workspace_id: string
|
|
89886
|
+
customization_profile_id: string
|
|
89887
|
+
logo_url?: string | undefined
|
|
89888
|
+
primary_color?: string | undefined
|
|
89889
|
+
secondary_color?: string | undefined
|
|
89890
|
+
}[]
|
|
89891
|
+
}
|
|
89892
|
+
}
|
|
89893
|
+
'/workspaces/customization_profiles/update': {
|
|
89894
|
+
route: '/workspaces/customization_profiles/update'
|
|
89895
|
+
method: 'POST' | 'PATCH'
|
|
89896
|
+
queryParams: {}
|
|
89897
|
+
jsonBody: {
|
|
89898
|
+
customization_profile_id: string
|
|
89899
|
+
primary_color?: string | undefined
|
|
89900
|
+
secondary_color?: string | undefined
|
|
89901
|
+
}
|
|
89902
|
+
commonParams: {}
|
|
89903
|
+
formData: {}
|
|
89904
|
+
jsonResponse: {}
|
|
89905
|
+
}
|
|
89906
|
+
'/workspaces/customization_profiles/upload_images': {
|
|
89907
|
+
route: '/workspaces/customization_profiles/upload_images'
|
|
89908
|
+
method: 'POST'
|
|
89909
|
+
queryParams: {}
|
|
89910
|
+
jsonBody: {}
|
|
89911
|
+
commonParams: {}
|
|
89912
|
+
formData: {}
|
|
89913
|
+
jsonResponse: {}
|
|
89914
|
+
}
|
|
89837
89915
|
'/workspaces/find_resources': {
|
|
89838
89916
|
route: '/workspaces/find_resources'
|
|
89839
89917
|
method: 'GET' | 'POST'
|