@seamapi/types 1.624.0 → 1.625.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 +181 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +306 -0
- package/dist/index.cjs +181 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +217 -0
- package/lib/seam/connect/openapi.js +181 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +89 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +191 -0
- package/src/lib/seam/connect/route-types.ts +89 -0
|
@@ -45858,6 +45858,223 @@ declare const _default: {
|
|
|
45858
45858
|
'x-title': string;
|
|
45859
45859
|
};
|
|
45860
45860
|
};
|
|
45861
|
+
'/seam/customer/v1/staff_members/get': {
|
|
45862
|
+
get: {
|
|
45863
|
+
description: string;
|
|
45864
|
+
operationId: string;
|
|
45865
|
+
parameters: {
|
|
45866
|
+
in: string;
|
|
45867
|
+
name: string;
|
|
45868
|
+
required: boolean;
|
|
45869
|
+
schema: {
|
|
45870
|
+
description: string;
|
|
45871
|
+
type: string;
|
|
45872
|
+
};
|
|
45873
|
+
}[];
|
|
45874
|
+
responses: {
|
|
45875
|
+
200: {
|
|
45876
|
+
content: {
|
|
45877
|
+
'application/json': {
|
|
45878
|
+
schema: {
|
|
45879
|
+
properties: {
|
|
45880
|
+
access_grant: {
|
|
45881
|
+
$ref: string;
|
|
45882
|
+
};
|
|
45883
|
+
ok: {
|
|
45884
|
+
type: string;
|
|
45885
|
+
};
|
|
45886
|
+
spaces: {
|
|
45887
|
+
items: {
|
|
45888
|
+
properties: {
|
|
45889
|
+
child_space_keys: {
|
|
45890
|
+
items: {
|
|
45891
|
+
type: string;
|
|
45892
|
+
};
|
|
45893
|
+
type: string;
|
|
45894
|
+
};
|
|
45895
|
+
space_key: {
|
|
45896
|
+
type: string;
|
|
45897
|
+
};
|
|
45898
|
+
};
|
|
45899
|
+
required: string[];
|
|
45900
|
+
type: string;
|
|
45901
|
+
};
|
|
45902
|
+
type: string;
|
|
45903
|
+
};
|
|
45904
|
+
staff_member: {
|
|
45905
|
+
description: string;
|
|
45906
|
+
properties: {
|
|
45907
|
+
email_address: {
|
|
45908
|
+
description: string;
|
|
45909
|
+
type: string;
|
|
45910
|
+
};
|
|
45911
|
+
name: {
|
|
45912
|
+
description: string;
|
|
45913
|
+
type: string;
|
|
45914
|
+
};
|
|
45915
|
+
phone_number: {
|
|
45916
|
+
description: string;
|
|
45917
|
+
type: string;
|
|
45918
|
+
};
|
|
45919
|
+
space_keys: {
|
|
45920
|
+
description: string;
|
|
45921
|
+
items: {
|
|
45922
|
+
type: string;
|
|
45923
|
+
};
|
|
45924
|
+
type: string;
|
|
45925
|
+
};
|
|
45926
|
+
staff_member_key: {
|
|
45927
|
+
description: string;
|
|
45928
|
+
type: string;
|
|
45929
|
+
};
|
|
45930
|
+
user_identity_id: {
|
|
45931
|
+
format: string;
|
|
45932
|
+
type: string;
|
|
45933
|
+
};
|
|
45934
|
+
};
|
|
45935
|
+
required: string[];
|
|
45936
|
+
type: string;
|
|
45937
|
+
'x-route-path': string;
|
|
45938
|
+
};
|
|
45939
|
+
};
|
|
45940
|
+
required: string[];
|
|
45941
|
+
type: string;
|
|
45942
|
+
};
|
|
45943
|
+
};
|
|
45944
|
+
};
|
|
45945
|
+
description: string;
|
|
45946
|
+
};
|
|
45947
|
+
400: {
|
|
45948
|
+
description: string;
|
|
45949
|
+
};
|
|
45950
|
+
401: {
|
|
45951
|
+
description: string;
|
|
45952
|
+
};
|
|
45953
|
+
};
|
|
45954
|
+
security: {
|
|
45955
|
+
client_session_with_customer: never[];
|
|
45956
|
+
}[];
|
|
45957
|
+
summary: string;
|
|
45958
|
+
tags: never[];
|
|
45959
|
+
'x-fern-sdk-group-name': string[];
|
|
45960
|
+
'x-fern-sdk-method-name': string;
|
|
45961
|
+
'x-fern-sdk-return-value': string;
|
|
45962
|
+
'x-response-key': string;
|
|
45963
|
+
'x-title': string;
|
|
45964
|
+
'x-undocumented': string;
|
|
45965
|
+
};
|
|
45966
|
+
post: {
|
|
45967
|
+
description: string;
|
|
45968
|
+
operationId: string;
|
|
45969
|
+
requestBody: {
|
|
45970
|
+
content: {
|
|
45971
|
+
'application/json': {
|
|
45972
|
+
schema: {
|
|
45973
|
+
properties: {
|
|
45974
|
+
staff_member_key: {
|
|
45975
|
+
description: string;
|
|
45976
|
+
type: string;
|
|
45977
|
+
};
|
|
45978
|
+
};
|
|
45979
|
+
required: string[];
|
|
45980
|
+
type: string;
|
|
45981
|
+
};
|
|
45982
|
+
};
|
|
45983
|
+
};
|
|
45984
|
+
};
|
|
45985
|
+
responses: {
|
|
45986
|
+
200: {
|
|
45987
|
+
content: {
|
|
45988
|
+
'application/json': {
|
|
45989
|
+
schema: {
|
|
45990
|
+
properties: {
|
|
45991
|
+
access_grant: {
|
|
45992
|
+
$ref: string;
|
|
45993
|
+
};
|
|
45994
|
+
ok: {
|
|
45995
|
+
type: string;
|
|
45996
|
+
};
|
|
45997
|
+
spaces: {
|
|
45998
|
+
items: {
|
|
45999
|
+
properties: {
|
|
46000
|
+
child_space_keys: {
|
|
46001
|
+
items: {
|
|
46002
|
+
type: string;
|
|
46003
|
+
};
|
|
46004
|
+
type: string;
|
|
46005
|
+
};
|
|
46006
|
+
space_key: {
|
|
46007
|
+
type: string;
|
|
46008
|
+
};
|
|
46009
|
+
};
|
|
46010
|
+
required: string[];
|
|
46011
|
+
type: string;
|
|
46012
|
+
};
|
|
46013
|
+
type: string;
|
|
46014
|
+
};
|
|
46015
|
+
staff_member: {
|
|
46016
|
+
description: string;
|
|
46017
|
+
properties: {
|
|
46018
|
+
email_address: {
|
|
46019
|
+
description: string;
|
|
46020
|
+
type: string;
|
|
46021
|
+
};
|
|
46022
|
+
name: {
|
|
46023
|
+
description: string;
|
|
46024
|
+
type: string;
|
|
46025
|
+
};
|
|
46026
|
+
phone_number: {
|
|
46027
|
+
description: string;
|
|
46028
|
+
type: string;
|
|
46029
|
+
};
|
|
46030
|
+
space_keys: {
|
|
46031
|
+
description: string;
|
|
46032
|
+
items: {
|
|
46033
|
+
type: string;
|
|
46034
|
+
};
|
|
46035
|
+
type: string;
|
|
46036
|
+
};
|
|
46037
|
+
staff_member_key: {
|
|
46038
|
+
description: string;
|
|
46039
|
+
type: string;
|
|
46040
|
+
};
|
|
46041
|
+
user_identity_id: {
|
|
46042
|
+
format: string;
|
|
46043
|
+
type: string;
|
|
46044
|
+
};
|
|
46045
|
+
};
|
|
46046
|
+
required: string[];
|
|
46047
|
+
type: string;
|
|
46048
|
+
'x-route-path': string;
|
|
46049
|
+
};
|
|
46050
|
+
};
|
|
46051
|
+
required: string[];
|
|
46052
|
+
type: string;
|
|
46053
|
+
};
|
|
46054
|
+
};
|
|
46055
|
+
};
|
|
46056
|
+
description: string;
|
|
46057
|
+
};
|
|
46058
|
+
400: {
|
|
46059
|
+
description: string;
|
|
46060
|
+
};
|
|
46061
|
+
401: {
|
|
46062
|
+
description: string;
|
|
46063
|
+
};
|
|
46064
|
+
};
|
|
46065
|
+
security: {
|
|
46066
|
+
client_session_with_customer: never[];
|
|
46067
|
+
}[];
|
|
46068
|
+
summary: string;
|
|
46069
|
+
tags: never[];
|
|
46070
|
+
'x-fern-sdk-group-name': string[];
|
|
46071
|
+
'x-fern-sdk-method-name': string;
|
|
46072
|
+
'x-fern-sdk-return-value': string;
|
|
46073
|
+
'x-response-key': string;
|
|
46074
|
+
'x-title': string;
|
|
46075
|
+
'x-undocumented': string;
|
|
46076
|
+
};
|
|
46077
|
+
};
|
|
45861
46078
|
'/seam/customer/v1/staff_members/list': {
|
|
45862
46079
|
get: {
|
|
45863
46080
|
description: string;
|
|
@@ -50608,6 +50608,187 @@ export default {
|
|
|
50608
50608
|
'x-title': 'List Spaces',
|
|
50609
50609
|
},
|
|
50610
50610
|
},
|
|
50611
|
+
'/seam/customer/v1/staff_members/get': {
|
|
50612
|
+
get: {
|
|
50613
|
+
description: 'Returns a staff member for a specific customer.',
|
|
50614
|
+
operationId: 'seamCustomerV1StaffMembersGetGet',
|
|
50615
|
+
parameters: [
|
|
50616
|
+
{
|
|
50617
|
+
in: 'query',
|
|
50618
|
+
name: 'staff_member_key',
|
|
50619
|
+
required: true,
|
|
50620
|
+
schema: {
|
|
50621
|
+
description: 'Key of staff member to get.',
|
|
50622
|
+
type: 'string',
|
|
50623
|
+
},
|
|
50624
|
+
},
|
|
50625
|
+
],
|
|
50626
|
+
responses: {
|
|
50627
|
+
200: {
|
|
50628
|
+
content: {
|
|
50629
|
+
'application/json': {
|
|
50630
|
+
schema: {
|
|
50631
|
+
properties: {
|
|
50632
|
+
access_grant: { $ref: '#/components/schemas/access_grant' },
|
|
50633
|
+
ok: { type: 'boolean' },
|
|
50634
|
+
spaces: {
|
|
50635
|
+
items: {
|
|
50636
|
+
properties: {
|
|
50637
|
+
child_space_keys: {
|
|
50638
|
+
items: { type: 'string' },
|
|
50639
|
+
type: 'array',
|
|
50640
|
+
},
|
|
50641
|
+
space_key: { type: 'string' },
|
|
50642
|
+
},
|
|
50643
|
+
required: ['space_key'],
|
|
50644
|
+
type: 'object',
|
|
50645
|
+
},
|
|
50646
|
+
type: 'array',
|
|
50647
|
+
},
|
|
50648
|
+
staff_member: {
|
|
50649
|
+
description: 'Represents a staff member for a specific customer.',
|
|
50650
|
+
properties: {
|
|
50651
|
+
email_address: {
|
|
50652
|
+
description: 'Email address associated with the user identity.',
|
|
50653
|
+
type: 'string',
|
|
50654
|
+
},
|
|
50655
|
+
name: {
|
|
50656
|
+
description: 'Your display name for this user identity resource.',
|
|
50657
|
+
type: 'string',
|
|
50658
|
+
},
|
|
50659
|
+
phone_number: {
|
|
50660
|
+
description: 'Phone number associated with the user identity.',
|
|
50661
|
+
type: 'string',
|
|
50662
|
+
},
|
|
50663
|
+
space_keys: {
|
|
50664
|
+
description: 'List of unique identifiers for the spaces the staff member is associated with.',
|
|
50665
|
+
items: { type: 'string' },
|
|
50666
|
+
type: 'array',
|
|
50667
|
+
},
|
|
50668
|
+
staff_member_key: {
|
|
50669
|
+
description: 'Your unique identifier for the staff.',
|
|
50670
|
+
type: 'string',
|
|
50671
|
+
},
|
|
50672
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
50673
|
+
},
|
|
50674
|
+
required: ['staff_member_key', 'name'],
|
|
50675
|
+
type: 'object',
|
|
50676
|
+
'x-route-path': '/seam/customer/v1/staff_members',
|
|
50677
|
+
},
|
|
50678
|
+
},
|
|
50679
|
+
required: ['access_grant', 'spaces', 'staff_member', 'ok'],
|
|
50680
|
+
type: 'object',
|
|
50681
|
+
},
|
|
50682
|
+
},
|
|
50683
|
+
},
|
|
50684
|
+
description: 'OK',
|
|
50685
|
+
},
|
|
50686
|
+
400: { description: 'Bad Request' },
|
|
50687
|
+
401: { description: 'Unauthorized' },
|
|
50688
|
+
},
|
|
50689
|
+
security: [{ client_session_with_customer: [] }],
|
|
50690
|
+
summary: '/seam/customer/v1/staff_members/get',
|
|
50691
|
+
tags: [],
|
|
50692
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'staff_members'],
|
|
50693
|
+
'x-fern-sdk-method-name': 'get',
|
|
50694
|
+
'x-fern-sdk-return-value': 'staff_member',
|
|
50695
|
+
'x-response-key': 'staff_member',
|
|
50696
|
+
'x-title': 'Get Staff Member',
|
|
50697
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
50698
|
+
},
|
|
50699
|
+
post: {
|
|
50700
|
+
description: 'Returns a staff member for a specific customer.',
|
|
50701
|
+
operationId: 'seamCustomerV1StaffMembersGetPost',
|
|
50702
|
+
requestBody: {
|
|
50703
|
+
content: {
|
|
50704
|
+
'application/json': {
|
|
50705
|
+
schema: {
|
|
50706
|
+
properties: {
|
|
50707
|
+
staff_member_key: {
|
|
50708
|
+
description: 'Key of staff member to get.',
|
|
50709
|
+
type: 'string',
|
|
50710
|
+
},
|
|
50711
|
+
},
|
|
50712
|
+
required: ['staff_member_key'],
|
|
50713
|
+
type: 'object',
|
|
50714
|
+
},
|
|
50715
|
+
},
|
|
50716
|
+
},
|
|
50717
|
+
},
|
|
50718
|
+
responses: {
|
|
50719
|
+
200: {
|
|
50720
|
+
content: {
|
|
50721
|
+
'application/json': {
|
|
50722
|
+
schema: {
|
|
50723
|
+
properties: {
|
|
50724
|
+
access_grant: { $ref: '#/components/schemas/access_grant' },
|
|
50725
|
+
ok: { type: 'boolean' },
|
|
50726
|
+
spaces: {
|
|
50727
|
+
items: {
|
|
50728
|
+
properties: {
|
|
50729
|
+
child_space_keys: {
|
|
50730
|
+
items: { type: 'string' },
|
|
50731
|
+
type: 'array',
|
|
50732
|
+
},
|
|
50733
|
+
space_key: { type: 'string' },
|
|
50734
|
+
},
|
|
50735
|
+
required: ['space_key'],
|
|
50736
|
+
type: 'object',
|
|
50737
|
+
},
|
|
50738
|
+
type: 'array',
|
|
50739
|
+
},
|
|
50740
|
+
staff_member: {
|
|
50741
|
+
description: 'Represents a staff member for a specific customer.',
|
|
50742
|
+
properties: {
|
|
50743
|
+
email_address: {
|
|
50744
|
+
description: 'Email address associated with the user identity.',
|
|
50745
|
+
type: 'string',
|
|
50746
|
+
},
|
|
50747
|
+
name: {
|
|
50748
|
+
description: 'Your display name for this user identity resource.',
|
|
50749
|
+
type: 'string',
|
|
50750
|
+
},
|
|
50751
|
+
phone_number: {
|
|
50752
|
+
description: 'Phone number associated with the user identity.',
|
|
50753
|
+
type: 'string',
|
|
50754
|
+
},
|
|
50755
|
+
space_keys: {
|
|
50756
|
+
description: 'List of unique identifiers for the spaces the staff member is associated with.',
|
|
50757
|
+
items: { type: 'string' },
|
|
50758
|
+
type: 'array',
|
|
50759
|
+
},
|
|
50760
|
+
staff_member_key: {
|
|
50761
|
+
description: 'Your unique identifier for the staff.',
|
|
50762
|
+
type: 'string',
|
|
50763
|
+
},
|
|
50764
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
50765
|
+
},
|
|
50766
|
+
required: ['staff_member_key', 'name'],
|
|
50767
|
+
type: 'object',
|
|
50768
|
+
'x-route-path': '/seam/customer/v1/staff_members',
|
|
50769
|
+
},
|
|
50770
|
+
},
|
|
50771
|
+
required: ['access_grant', 'spaces', 'staff_member', 'ok'],
|
|
50772
|
+
type: 'object',
|
|
50773
|
+
},
|
|
50774
|
+
},
|
|
50775
|
+
},
|
|
50776
|
+
description: 'OK',
|
|
50777
|
+
},
|
|
50778
|
+
400: { description: 'Bad Request' },
|
|
50779
|
+
401: { description: 'Unauthorized' },
|
|
50780
|
+
},
|
|
50781
|
+
security: [{ client_session_with_customer: [] }],
|
|
50782
|
+
summary: '/seam/customer/v1/staff_members/get',
|
|
50783
|
+
tags: [],
|
|
50784
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'staff_members'],
|
|
50785
|
+
'x-fern-sdk-method-name': 'get',
|
|
50786
|
+
'x-fern-sdk-return-value': 'staff_member',
|
|
50787
|
+
'x-response-key': 'staff_member',
|
|
50788
|
+
'x-title': 'Get Staff Member',
|
|
50789
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
50790
|
+
},
|
|
50791
|
+
},
|
|
50611
50792
|
'/seam/customer/v1/staff_members/list': {
|
|
50612
50793
|
get: {
|
|
50613
50794
|
description: 'Returns a list of staff members for a specific customer. This endpoint is designed for customer portals and supports filtering by space_key.\nProvided space_key or space_id can be a child space, in which case the staff members for the parent space will be returned.',
|