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