@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.
@@ -51783,6 +51783,389 @@ export default {
51783
51783
  'x-title': 'Create a Workspace',
51784
51784
  },
51785
51785
  },
51786
+ '/workspaces/customization_profiles/create': {
51787
+ post: {
51788
+ description: 'Updates the customization profile for the workspace.',
51789
+ operationId: 'workspacesCustomizationProfilesCreatePost',
51790
+ requestBody: {
51791
+ content: {
51792
+ 'application/json': {
51793
+ schema: {
51794
+ properties: {
51795
+ primary_color: { type: 'string' },
51796
+ secondary_color: { type: 'string' },
51797
+ },
51798
+ required: ['primary_color', 'secondary_color'],
51799
+ type: 'object',
51800
+ },
51801
+ },
51802
+ },
51803
+ },
51804
+ responses: {
51805
+ 200: {
51806
+ content: {
51807
+ 'application/json': {
51808
+ schema: {
51809
+ properties: {
51810
+ customization_profile: {
51811
+ properties: {
51812
+ customization_profile_id: {
51813
+ format: 'uuid',
51814
+ type: 'string',
51815
+ },
51816
+ logo_url: { type: 'string' },
51817
+ primary_color: { type: 'string' },
51818
+ secondary_color: { type: 'string' },
51819
+ workspace_id: { format: 'uuid', type: 'string' },
51820
+ },
51821
+ required: ['workspace_id', 'customization_profile_id'],
51822
+ type: 'object',
51823
+ },
51824
+ ok: { type: 'boolean' },
51825
+ },
51826
+ required: ['customization_profile', 'ok'],
51827
+ type: 'object',
51828
+ },
51829
+ },
51830
+ },
51831
+ description: 'OK',
51832
+ },
51833
+ 400: { description: 'Bad Request' },
51834
+ 401: { description: 'Unauthorized' },
51835
+ },
51836
+ security: [{ client_session_with_customer: [] }],
51837
+ summary: '/workspaces/customization_profiles/create',
51838
+ tags: ['/workspaces'],
51839
+ 'x-fern-sdk-group-name': ['workspaces', 'customization_profiles'],
51840
+ 'x-fern-sdk-method-name': 'create',
51841
+ 'x-fern-sdk-return-value': 'customization_profile',
51842
+ 'x-response-key': 'customization_profile',
51843
+ 'x-title': 'Update Customization Profile',
51844
+ },
51845
+ },
51846
+ '/workspaces/customization_profiles/get': {
51847
+ get: {
51848
+ description: 'Retrieves the customization profile for the workspace.',
51849
+ operationId: 'workspacesCustomizationProfilesGetGet',
51850
+ parameters: [
51851
+ {
51852
+ in: 'query',
51853
+ name: 'customization_profile_id',
51854
+ required: true,
51855
+ schema: { format: 'uuid', type: 'string' },
51856
+ },
51857
+ ],
51858
+ responses: {
51859
+ 200: {
51860
+ content: {
51861
+ 'application/json': {
51862
+ schema: {
51863
+ properties: {
51864
+ customization_profile: {
51865
+ properties: {
51866
+ customization_profile_id: {
51867
+ format: 'uuid',
51868
+ type: 'string',
51869
+ },
51870
+ logo_url: { type: 'string' },
51871
+ primary_color: { type: 'string' },
51872
+ secondary_color: { type: 'string' },
51873
+ workspace_id: { format: 'uuid', type: 'string' },
51874
+ },
51875
+ required: ['workspace_id', 'customization_profile_id'],
51876
+ type: 'object',
51877
+ },
51878
+ ok: { type: 'boolean' },
51879
+ },
51880
+ required: ['customization_profile', 'ok'],
51881
+ type: 'object',
51882
+ },
51883
+ },
51884
+ },
51885
+ description: 'OK',
51886
+ },
51887
+ 400: { description: 'Bad Request' },
51888
+ 401: { description: 'Unauthorized' },
51889
+ },
51890
+ security: [{ client_session_with_customer: [] }],
51891
+ summary: '/workspaces/customization_profiles/get',
51892
+ tags: ['/workspaces'],
51893
+ 'x-fern-sdk-group-name': ['workspaces', 'customization_profiles'],
51894
+ 'x-fern-sdk-method-name': 'get',
51895
+ 'x-fern-sdk-return-value': 'customization_profile',
51896
+ 'x-response-key': 'customization_profile',
51897
+ 'x-title': 'Get Customization Profile',
51898
+ },
51899
+ post: {
51900
+ description: 'Retrieves the customization profile for the workspace.',
51901
+ operationId: 'workspacesCustomizationProfilesGetPost',
51902
+ requestBody: {
51903
+ content: {
51904
+ 'application/json': {
51905
+ schema: {
51906
+ properties: {
51907
+ customization_profile_id: { format: 'uuid', type: 'string' },
51908
+ },
51909
+ required: ['customization_profile_id'],
51910
+ type: 'object',
51911
+ },
51912
+ },
51913
+ },
51914
+ },
51915
+ responses: {
51916
+ 200: {
51917
+ content: {
51918
+ 'application/json': {
51919
+ schema: {
51920
+ properties: {
51921
+ customization_profile: {
51922
+ properties: {
51923
+ customization_profile_id: {
51924
+ format: 'uuid',
51925
+ type: 'string',
51926
+ },
51927
+ logo_url: { type: 'string' },
51928
+ primary_color: { type: 'string' },
51929
+ secondary_color: { type: 'string' },
51930
+ workspace_id: { format: 'uuid', type: 'string' },
51931
+ },
51932
+ required: ['workspace_id', 'customization_profile_id'],
51933
+ type: 'object',
51934
+ },
51935
+ ok: { type: 'boolean' },
51936
+ },
51937
+ required: ['customization_profile', 'ok'],
51938
+ type: 'object',
51939
+ },
51940
+ },
51941
+ },
51942
+ description: 'OK',
51943
+ },
51944
+ 400: { description: 'Bad Request' },
51945
+ 401: { description: 'Unauthorized' },
51946
+ },
51947
+ security: [{ client_session_with_customer: [] }],
51948
+ summary: '/workspaces/customization_profiles/get',
51949
+ tags: ['/workspaces'],
51950
+ 'x-fern-sdk-group-name': ['workspaces', 'customization_profiles'],
51951
+ 'x-fern-sdk-method-name': 'get',
51952
+ 'x-fern-sdk-return-value': 'customization_profile',
51953
+ 'x-response-key': 'customization_profile',
51954
+ 'x-title': 'Get Customization Profile',
51955
+ },
51956
+ },
51957
+ '/workspaces/customization_profiles/list': {
51958
+ get: {
51959
+ description: 'Retrieves the customization profile for the workspace.',
51960
+ operationId: 'workspacesCustomizationProfilesListGet',
51961
+ responses: {
51962
+ 200: {
51963
+ content: {
51964
+ 'application/json': {
51965
+ schema: {
51966
+ properties: {
51967
+ customization_profiles: {
51968
+ items: {
51969
+ properties: {
51970
+ customization_profile_id: {
51971
+ format: 'uuid',
51972
+ type: 'string',
51973
+ },
51974
+ logo_url: { type: 'string' },
51975
+ primary_color: { type: 'string' },
51976
+ secondary_color: { type: 'string' },
51977
+ workspace_id: { format: 'uuid', type: 'string' },
51978
+ },
51979
+ required: ['workspace_id', 'customization_profile_id'],
51980
+ type: 'object',
51981
+ },
51982
+ type: 'array',
51983
+ },
51984
+ ok: { type: 'boolean' },
51985
+ },
51986
+ required: ['customization_profiles', 'ok'],
51987
+ type: 'object',
51988
+ },
51989
+ },
51990
+ },
51991
+ description: 'OK',
51992
+ },
51993
+ 400: { description: 'Bad Request' },
51994
+ 401: { description: 'Unauthorized' },
51995
+ },
51996
+ security: [{ client_session_with_customer: [] }],
51997
+ summary: '/workspaces/customization_profiles/list',
51998
+ tags: ['/workspaces'],
51999
+ 'x-fern-sdk-group-name': ['workspaces', 'customization_profiles'],
52000
+ 'x-fern-sdk-method-name': 'list',
52001
+ 'x-fern-sdk-return-value': 'customization_profiles',
52002
+ 'x-response-key': 'customization_profiles',
52003
+ 'x-title': 'Get Customization Profile',
52004
+ },
52005
+ post: {
52006
+ description: 'Retrieves the customization profile for the workspace.',
52007
+ operationId: 'workspacesCustomizationProfilesListPost',
52008
+ responses: {
52009
+ 200: {
52010
+ content: {
52011
+ 'application/json': {
52012
+ schema: {
52013
+ properties: {
52014
+ customization_profiles: {
52015
+ items: {
52016
+ properties: {
52017
+ customization_profile_id: {
52018
+ format: 'uuid',
52019
+ type: 'string',
52020
+ },
52021
+ logo_url: { type: 'string' },
52022
+ primary_color: { type: 'string' },
52023
+ secondary_color: { type: 'string' },
52024
+ workspace_id: { format: 'uuid', type: 'string' },
52025
+ },
52026
+ required: ['workspace_id', 'customization_profile_id'],
52027
+ type: 'object',
52028
+ },
52029
+ type: 'array',
52030
+ },
52031
+ ok: { type: 'boolean' },
52032
+ },
52033
+ required: ['customization_profiles', 'ok'],
52034
+ type: 'object',
52035
+ },
52036
+ },
52037
+ },
52038
+ description: 'OK',
52039
+ },
52040
+ 400: { description: 'Bad Request' },
52041
+ 401: { description: 'Unauthorized' },
52042
+ },
52043
+ security: [{ client_session_with_customer: [] }],
52044
+ summary: '/workspaces/customization_profiles/list',
52045
+ tags: ['/workspaces'],
52046
+ 'x-fern-sdk-group-name': ['workspaces', 'customization_profiles'],
52047
+ 'x-fern-sdk-method-name': 'list',
52048
+ 'x-fern-sdk-return-value': 'customization_profiles',
52049
+ 'x-response-key': 'customization_profiles',
52050
+ 'x-title': 'Get Customization Profile',
52051
+ },
52052
+ },
52053
+ '/workspaces/customization_profiles/update': {
52054
+ patch: {
52055
+ description: 'Updates the customization profile for the workspace.',
52056
+ operationId: 'workspacesCustomizationProfilesUpdatePatch',
52057
+ requestBody: {
52058
+ content: {
52059
+ 'application/json': {
52060
+ schema: {
52061
+ properties: {
52062
+ customization_profile_id: { format: 'uuid', type: 'string' },
52063
+ primary_color: { type: 'string' },
52064
+ secondary_color: { type: 'string' },
52065
+ },
52066
+ required: ['customization_profile_id'],
52067
+ type: 'object',
52068
+ },
52069
+ },
52070
+ },
52071
+ },
52072
+ responses: {
52073
+ 200: {
52074
+ content: {
52075
+ 'application/json': {
52076
+ schema: {
52077
+ properties: { ok: { type: 'boolean' } },
52078
+ required: ['ok'],
52079
+ type: 'object',
52080
+ },
52081
+ },
52082
+ },
52083
+ description: 'OK',
52084
+ },
52085
+ 400: { description: 'Bad Request' },
52086
+ 401: { description: 'Unauthorized' },
52087
+ },
52088
+ security: [{ client_session_with_customer: [] }],
52089
+ summary: '/workspaces/customization_profiles/update',
52090
+ tags: ['/workspaces'],
52091
+ 'x-fern-sdk-group-name': ['workspaces', 'customization_profiles'],
52092
+ 'x-fern-sdk-method-name': 'update',
52093
+ 'x-response-key': null,
52094
+ 'x-title': 'Update Customization Profile',
52095
+ },
52096
+ post: {
52097
+ description: 'Updates the customization profile for the workspace.',
52098
+ operationId: 'workspacesCustomizationProfilesUpdatePost',
52099
+ requestBody: {
52100
+ content: {
52101
+ 'application/json': {
52102
+ schema: {
52103
+ properties: {
52104
+ customization_profile_id: { format: 'uuid', type: 'string' },
52105
+ primary_color: { type: 'string' },
52106
+ secondary_color: { type: 'string' },
52107
+ },
52108
+ required: ['customization_profile_id'],
52109
+ type: 'object',
52110
+ },
52111
+ },
52112
+ },
52113
+ },
52114
+ responses: {
52115
+ 200: {
52116
+ content: {
52117
+ 'application/json': {
52118
+ schema: {
52119
+ properties: { ok: { type: 'boolean' } },
52120
+ required: ['ok'],
52121
+ type: 'object',
52122
+ },
52123
+ },
52124
+ },
52125
+ description: 'OK',
52126
+ },
52127
+ 400: { description: 'Bad Request' },
52128
+ 401: { description: 'Unauthorized' },
52129
+ },
52130
+ security: [{ client_session_with_customer: [] }],
52131
+ summary: '/workspaces/customization_profiles/update',
52132
+ tags: ['/workspaces'],
52133
+ 'x-fern-sdk-group-name': ['workspaces', 'customization_profiles'],
52134
+ 'x-fern-sdk-method-name': 'update',
52135
+ 'x-response-key': null,
52136
+ 'x-title': 'Update Customization Profile',
52137
+ },
52138
+ },
52139
+ '/workspaces/customization_profiles/upload_images': {
52140
+ post: {
52141
+ description: 'Uploads a logo for the customization profile.',
52142
+ operationId: 'workspacesCustomizationProfilesUploadImagesPost',
52143
+ responses: {
52144
+ 200: {
52145
+ content: {
52146
+ 'application/json': {
52147
+ schema: {
52148
+ properties: { ok: { type: 'boolean' } },
52149
+ required: ['ok'],
52150
+ type: 'object',
52151
+ },
52152
+ },
52153
+ },
52154
+ description: 'OK',
52155
+ },
52156
+ 400: { description: 'Bad Request' },
52157
+ 401: { description: 'Unauthorized' },
52158
+ },
52159
+ security: [{ client_session_with_customer: [] }],
52160
+ summary: '/workspaces/customization_profiles/upload_images',
52161
+ tags: ['/workspaces'],
52162
+ 'x-fern-sdk-group-name': ['workspaces', 'customization_profiles'],
52163
+ 'x-fern-sdk-method-name': 'upload_images',
52164
+ 'x-response-key': null,
52165
+ 'x-title': 'Upload Customization Profile Logo',
52166
+ 'x-undocumented': 'Internal endpoint for customer portals.',
52167
+ },
52168
+ },
51786
52169
  '/workspaces/find_resources': {
51787
52170
  get: {
51788
52171
  description: 'Search for resources inside a workspace.',