@flipdish/authorization 0.2.42 → 0.2.43-rc.1785501197
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/.openapi-generator/FILES +1 -0
- package/api.ts +83 -10
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api.d.ts +91 -21
- package/dist/api.js +35 -9
- package/dist/common.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/api.ts
CHANGED
|
@@ -334,7 +334,9 @@ export interface AuthorizationRequestPrincipal {
|
|
|
334
334
|
|
|
335
335
|
export const AuthorizationRequestPrincipalTypeEnum = {
|
|
336
336
|
User: 'User',
|
|
337
|
-
Automation: 'Automation'
|
|
337
|
+
Automation: 'Automation',
|
|
338
|
+
Kiosk: 'Kiosk',
|
|
339
|
+
Terminal: 'Terminal'
|
|
338
340
|
} as const;
|
|
339
341
|
|
|
340
342
|
export type AuthorizationRequestPrincipalTypeEnum = typeof AuthorizationRequestPrincipalTypeEnum[keyof typeof AuthorizationRequestPrincipalTypeEnum];
|
|
@@ -600,7 +602,9 @@ export interface GetAuthorizedOrgsRequestPrincipal {
|
|
|
600
602
|
|
|
601
603
|
export const GetAuthorizedOrgsRequestPrincipalTypeEnum = {
|
|
602
604
|
User: 'User',
|
|
603
|
-
Automation: 'Automation'
|
|
605
|
+
Automation: 'Automation',
|
|
606
|
+
Kiosk: 'Kiosk',
|
|
607
|
+
Terminal: 'Terminal'
|
|
604
608
|
} as const;
|
|
605
609
|
|
|
606
610
|
export type GetAuthorizedOrgsRequestPrincipalTypeEnum = typeof GetAuthorizedOrgsRequestPrincipalTypeEnum[keyof typeof GetAuthorizedOrgsRequestPrincipalTypeEnum];
|
|
@@ -821,7 +825,10 @@ export const ListOrgRolesSuccessResponseValueRolesEnum = {
|
|
|
821
825
|
ManagedOwner: 'ManagedOwner',
|
|
822
826
|
Integrator: 'Integrator',
|
|
823
827
|
PropertyManager: 'PropertyManager',
|
|
824
|
-
FinanceManager: 'FinanceManager'
|
|
828
|
+
FinanceManager: 'FinanceManager',
|
|
829
|
+
StaffMember: 'StaffMember',
|
|
830
|
+
Kiosk: 'Kiosk',
|
|
831
|
+
Terminal: 'Terminal'
|
|
825
832
|
} as const;
|
|
826
833
|
|
|
827
834
|
export type ListOrgRolesSuccessResponseValueRolesEnum = typeof ListOrgRolesSuccessResponseValueRolesEnum[keyof typeof ListOrgRolesSuccessResponseValueRolesEnum];
|
|
@@ -907,6 +914,7 @@ export const Permissions = {
|
|
|
907
914
|
CreateTeammateOnboarding: 'CreateTeammateOnboarding',
|
|
908
915
|
CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
|
|
909
916
|
CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
|
|
917
|
+
CreateTeammateStaffMember: 'CreateTeammateStaffMember',
|
|
910
918
|
ViewApmConfigurations: 'ViewApmConfigurations',
|
|
911
919
|
EditApmConfigurations: 'EditApmConfigurations',
|
|
912
920
|
ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
|
|
@@ -975,6 +983,7 @@ export const Permissions = {
|
|
|
975
983
|
InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
|
|
976
984
|
DeleteTerminal: 'DeleteTerminal',
|
|
977
985
|
ViewKioskTelemetry: 'ViewKioskTelemetry',
|
|
986
|
+
HydraOnly: 'HydraOnly',
|
|
978
987
|
ViewCustomers: 'ViewCustomers',
|
|
979
988
|
EditCustomers: 'EditCustomers',
|
|
980
989
|
CreateCustomers: 'CreateCustomers',
|
|
@@ -1122,6 +1131,59 @@ export const Permissions = {
|
|
|
1122
1131
|
export type Permissions = typeof Permissions[keyof typeof Permissions];
|
|
1123
1132
|
|
|
1124
1133
|
|
|
1134
|
+
/**
|
|
1135
|
+
* Principal in an org, optionally including last active timestamp
|
|
1136
|
+
* @export
|
|
1137
|
+
* @interface PrincipalInOrg
|
|
1138
|
+
*/
|
|
1139
|
+
export interface PrincipalInOrg {
|
|
1140
|
+
/**
|
|
1141
|
+
*
|
|
1142
|
+
* @type {string}
|
|
1143
|
+
* @memberof PrincipalInOrg
|
|
1144
|
+
*/
|
|
1145
|
+
'type': PrincipalInOrgTypeEnum;
|
|
1146
|
+
/**
|
|
1147
|
+
*
|
|
1148
|
+
* @type {string}
|
|
1149
|
+
* @memberof PrincipalInOrg
|
|
1150
|
+
*/
|
|
1151
|
+
'id': string;
|
|
1152
|
+
/**
|
|
1153
|
+
*
|
|
1154
|
+
* @type {string}
|
|
1155
|
+
* @memberof PrincipalInOrg
|
|
1156
|
+
*/
|
|
1157
|
+
'name'?: string;
|
|
1158
|
+
/**
|
|
1159
|
+
*
|
|
1160
|
+
* @type {string}
|
|
1161
|
+
* @memberof PrincipalInOrg
|
|
1162
|
+
*/
|
|
1163
|
+
'email'?: string;
|
|
1164
|
+
/**
|
|
1165
|
+
*
|
|
1166
|
+
* @type {string}
|
|
1167
|
+
* @memberof PrincipalInOrg
|
|
1168
|
+
*/
|
|
1169
|
+
'phone'?: string;
|
|
1170
|
+
/**
|
|
1171
|
+
* ISO-8601 UTC timestamp of last authorization activity in this org
|
|
1172
|
+
* @type {string}
|
|
1173
|
+
* @memberof PrincipalInOrg
|
|
1174
|
+
*/
|
|
1175
|
+
'lastActiveAt'?: string;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
export const PrincipalInOrgTypeEnum = {
|
|
1179
|
+
User: 'User',
|
|
1180
|
+
Automation: 'Automation',
|
|
1181
|
+
Kiosk: 'Kiosk',
|
|
1182
|
+
Terminal: 'Terminal'
|
|
1183
|
+
} as const;
|
|
1184
|
+
|
|
1185
|
+
export type PrincipalInOrgTypeEnum = typeof PrincipalInOrgTypeEnum[keyof typeof PrincipalInOrgTypeEnum];
|
|
1186
|
+
|
|
1125
1187
|
/**
|
|
1126
1188
|
* Principals in org
|
|
1127
1189
|
* @export
|
|
@@ -1136,10 +1198,10 @@ export interface PrincipalsInOrgResponse {
|
|
|
1136
1198
|
'orgId': string;
|
|
1137
1199
|
/**
|
|
1138
1200
|
* List of principals in org
|
|
1139
|
-
* @type {Array<
|
|
1201
|
+
* @type {Array<PrincipalInOrg>}
|
|
1140
1202
|
* @memberof PrincipalsInOrgResponse
|
|
1141
1203
|
*/
|
|
1142
|
-
'principals': Array<
|
|
1204
|
+
'principals': Array<PrincipalInOrg>;
|
|
1143
1205
|
}
|
|
1144
1206
|
/**
|
|
1145
1207
|
* Role assignment key to rematerialize
|
|
@@ -1300,7 +1362,9 @@ export interface RemoveTeammateRequestBodyActor {
|
|
|
1300
1362
|
|
|
1301
1363
|
export const RemoveTeammateRequestBodyActorTypeEnum = {
|
|
1302
1364
|
User: 'User',
|
|
1303
|
-
Automation: 'Automation'
|
|
1365
|
+
Automation: 'Automation',
|
|
1366
|
+
Kiosk: 'Kiosk',
|
|
1367
|
+
Terminal: 'Terminal'
|
|
1304
1368
|
} as const;
|
|
1305
1369
|
|
|
1306
1370
|
export type RemoveTeammateRequestBodyActorTypeEnum = typeof RemoveTeammateRequestBodyActorTypeEnum[keyof typeof RemoveTeammateRequestBodyActorTypeEnum];
|
|
@@ -1345,7 +1409,9 @@ export interface RemoveTeammateRequestBodyPrincipal {
|
|
|
1345
1409
|
|
|
1346
1410
|
export const RemoveTeammateRequestBodyPrincipalTypeEnum = {
|
|
1347
1411
|
User: 'User',
|
|
1348
|
-
Automation: 'Automation'
|
|
1412
|
+
Automation: 'Automation',
|
|
1413
|
+
Kiosk: 'Kiosk',
|
|
1414
|
+
Terminal: 'Terminal'
|
|
1349
1415
|
} as const;
|
|
1350
1416
|
|
|
1351
1417
|
export type RemoveTeammateRequestBodyPrincipalTypeEnum = typeof RemoveTeammateRequestBodyPrincipalTypeEnum[keyof typeof RemoveTeammateRequestBodyPrincipalTypeEnum];
|
|
@@ -1419,7 +1485,10 @@ export const RoleAssignmentRequestBodyRoleNameEnum = {
|
|
|
1419
1485
|
ManagedOwner: 'ManagedOwner',
|
|
1420
1486
|
Integrator: 'Integrator',
|
|
1421
1487
|
PropertyManager: 'PropertyManager',
|
|
1422
|
-
FinanceManager: 'FinanceManager'
|
|
1488
|
+
FinanceManager: 'FinanceManager',
|
|
1489
|
+
StaffMember: 'StaffMember',
|
|
1490
|
+
Kiosk: 'Kiosk',
|
|
1491
|
+
Terminal: 'Terminal'
|
|
1423
1492
|
} as const;
|
|
1424
1493
|
|
|
1425
1494
|
export type RoleAssignmentRequestBodyRoleNameEnum = typeof RoleAssignmentRequestBodyRoleNameEnum[keyof typeof RoleAssignmentRequestBodyRoleNameEnum];
|
|
@@ -1464,7 +1533,9 @@ export interface RoleAssignmentRequestBodyActor {
|
|
|
1464
1533
|
|
|
1465
1534
|
export const RoleAssignmentRequestBodyActorTypeEnum = {
|
|
1466
1535
|
User: 'User',
|
|
1467
|
-
Automation: 'Automation'
|
|
1536
|
+
Automation: 'Automation',
|
|
1537
|
+
Kiosk: 'Kiosk',
|
|
1538
|
+
Terminal: 'Terminal'
|
|
1468
1539
|
} as const;
|
|
1469
1540
|
|
|
1470
1541
|
export type RoleAssignmentRequestBodyActorTypeEnum = typeof RoleAssignmentRequestBodyActorTypeEnum[keyof typeof RoleAssignmentRequestBodyActorTypeEnum];
|
|
@@ -1509,7 +1580,9 @@ export interface RoleAssignmentRequestBodyPrincipal {
|
|
|
1509
1580
|
|
|
1510
1581
|
export const RoleAssignmentRequestBodyPrincipalTypeEnum = {
|
|
1511
1582
|
User: 'User',
|
|
1512
|
-
Automation: 'Automation'
|
|
1583
|
+
Automation: 'Automation',
|
|
1584
|
+
Kiosk: 'Kiosk',
|
|
1585
|
+
Terminal: 'Terminal'
|
|
1513
1586
|
} as const;
|
|
1514
1587
|
|
|
1515
1588
|
export type RoleAssignmentRequestBodyPrincipalTypeEnum = typeof RoleAssignmentRequestBodyPrincipalTypeEnum[keyof typeof RoleAssignmentRequestBodyPrincipalTypeEnum];
|
package/common.ts
CHANGED
|
@@ -143,8 +143,8 @@ export const toPathString = function (url: URL) {
|
|
|
143
143
|
* @export
|
|
144
144
|
*/
|
|
145
145
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
146
|
-
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
146
|
+
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH): Promise<R> => {
|
|
147
147
|
const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};
|
|
148
|
-
return axios.request<T, R>(axiosRequestArgs)
|
|
148
|
+
return axios.request<T, R>(axiosRequestArgs) as Promise<R>;
|
|
149
149
|
};
|
|
150
150
|
}
|
package/configuration.ts
CHANGED
|
@@ -100,7 +100,7 @@ export class Configuration {
|
|
|
100
100
|
|
|
101
101
|
const extraHeaders = param.useDefaultUserAgent ? {} : {
|
|
102
102
|
headers: {
|
|
103
|
-
"user-agent": "Flipdish authorization typescript SDK / 0.2.
|
|
103
|
+
"user-agent": "Flipdish authorization typescript SDK / 0.2.43-rc.1785501197"
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
|
package/dist/api.d.ts
CHANGED
|
@@ -316,6 +316,8 @@ export interface AuthorizationRequestPrincipal {
|
|
|
316
316
|
export declare const AuthorizationRequestPrincipalTypeEnum: {
|
|
317
317
|
readonly User: "User";
|
|
318
318
|
readonly Automation: "Automation";
|
|
319
|
+
readonly Kiosk: "Kiosk";
|
|
320
|
+
readonly Terminal: "Terminal";
|
|
319
321
|
};
|
|
320
322
|
export type AuthorizationRequestPrincipalTypeEnum = typeof AuthorizationRequestPrincipalTypeEnum[keyof typeof AuthorizationRequestPrincipalTypeEnum];
|
|
321
323
|
/**
|
|
@@ -566,6 +568,8 @@ export interface GetAuthorizedOrgsRequestPrincipal {
|
|
|
566
568
|
export declare const GetAuthorizedOrgsRequestPrincipalTypeEnum: {
|
|
567
569
|
readonly User: "User";
|
|
568
570
|
readonly Automation: "Automation";
|
|
571
|
+
readonly Kiosk: "Kiosk";
|
|
572
|
+
readonly Terminal: "Terminal";
|
|
569
573
|
};
|
|
570
574
|
export type GetAuthorizedOrgsRequestPrincipalTypeEnum = typeof GetAuthorizedOrgsRequestPrincipalTypeEnum[keyof typeof GetAuthorizedOrgsRequestPrincipalTypeEnum];
|
|
571
575
|
/**
|
|
@@ -780,6 +784,9 @@ export declare const ListOrgRolesSuccessResponseValueRolesEnum: {
|
|
|
780
784
|
readonly Integrator: "Integrator";
|
|
781
785
|
readonly PropertyManager: "PropertyManager";
|
|
782
786
|
readonly FinanceManager: "FinanceManager";
|
|
787
|
+
readonly StaffMember: "StaffMember";
|
|
788
|
+
readonly Kiosk: "Kiosk";
|
|
789
|
+
readonly Terminal: "Terminal";
|
|
783
790
|
};
|
|
784
791
|
export type ListOrgRolesSuccessResponseValueRolesEnum = typeof ListOrgRolesSuccessResponseValueRolesEnum[keyof typeof ListOrgRolesSuccessResponseValueRolesEnum];
|
|
785
792
|
/**
|
|
@@ -862,6 +869,7 @@ export declare const Permissions: {
|
|
|
862
869
|
readonly CreateTeammateOnboarding: "CreateTeammateOnboarding";
|
|
863
870
|
readonly CreateTeammatePropertyManager: "CreateTeammatePropertyManager";
|
|
864
871
|
readonly CreateTeammatePropertyOwner: "CreateTeammatePropertyOwner";
|
|
872
|
+
readonly CreateTeammateStaffMember: "CreateTeammateStaffMember";
|
|
865
873
|
readonly ViewApmConfigurations: "ViewApmConfigurations";
|
|
866
874
|
readonly EditApmConfigurations: "EditApmConfigurations";
|
|
867
875
|
readonly ViewCampaignsConfigurations: "ViewCampaignsConfigurations";
|
|
@@ -930,6 +938,7 @@ export declare const Permissions: {
|
|
|
930
938
|
readonly InitiateBluetoothPairingMode: "InitiateBluetoothPairingMode";
|
|
931
939
|
readonly DeleteTerminal: "DeleteTerminal";
|
|
932
940
|
readonly ViewKioskTelemetry: "ViewKioskTelemetry";
|
|
941
|
+
readonly HydraOnly: "HydraOnly";
|
|
933
942
|
readonly ViewCustomers: "ViewCustomers";
|
|
934
943
|
readonly EditCustomers: "EditCustomers";
|
|
935
944
|
readonly CreateCustomers: "CreateCustomers";
|
|
@@ -1074,6 +1083,56 @@ export declare const Permissions: {
|
|
|
1074
1083
|
readonly RoleAuthDeveloper: "RoleAuthDeveloper";
|
|
1075
1084
|
};
|
|
1076
1085
|
export type Permissions = typeof Permissions[keyof typeof Permissions];
|
|
1086
|
+
/**
|
|
1087
|
+
* Principal in an org, optionally including last active timestamp
|
|
1088
|
+
* @export
|
|
1089
|
+
* @interface PrincipalInOrg
|
|
1090
|
+
*/
|
|
1091
|
+
export interface PrincipalInOrg {
|
|
1092
|
+
/**
|
|
1093
|
+
*
|
|
1094
|
+
* @type {string}
|
|
1095
|
+
* @memberof PrincipalInOrg
|
|
1096
|
+
*/
|
|
1097
|
+
'type': PrincipalInOrgTypeEnum;
|
|
1098
|
+
/**
|
|
1099
|
+
*
|
|
1100
|
+
* @type {string}
|
|
1101
|
+
* @memberof PrincipalInOrg
|
|
1102
|
+
*/
|
|
1103
|
+
'id': string;
|
|
1104
|
+
/**
|
|
1105
|
+
*
|
|
1106
|
+
* @type {string}
|
|
1107
|
+
* @memberof PrincipalInOrg
|
|
1108
|
+
*/
|
|
1109
|
+
'name'?: string;
|
|
1110
|
+
/**
|
|
1111
|
+
*
|
|
1112
|
+
* @type {string}
|
|
1113
|
+
* @memberof PrincipalInOrg
|
|
1114
|
+
*/
|
|
1115
|
+
'email'?: string;
|
|
1116
|
+
/**
|
|
1117
|
+
*
|
|
1118
|
+
* @type {string}
|
|
1119
|
+
* @memberof PrincipalInOrg
|
|
1120
|
+
*/
|
|
1121
|
+
'phone'?: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* ISO-8601 UTC timestamp of last authorization activity in this org
|
|
1124
|
+
* @type {string}
|
|
1125
|
+
* @memberof PrincipalInOrg
|
|
1126
|
+
*/
|
|
1127
|
+
'lastActiveAt'?: string;
|
|
1128
|
+
}
|
|
1129
|
+
export declare const PrincipalInOrgTypeEnum: {
|
|
1130
|
+
readonly User: "User";
|
|
1131
|
+
readonly Automation: "Automation";
|
|
1132
|
+
readonly Kiosk: "Kiosk";
|
|
1133
|
+
readonly Terminal: "Terminal";
|
|
1134
|
+
};
|
|
1135
|
+
export type PrincipalInOrgTypeEnum = typeof PrincipalInOrgTypeEnum[keyof typeof PrincipalInOrgTypeEnum];
|
|
1077
1136
|
/**
|
|
1078
1137
|
* Principals in org
|
|
1079
1138
|
* @export
|
|
@@ -1088,10 +1147,10 @@ export interface PrincipalsInOrgResponse {
|
|
|
1088
1147
|
'orgId': string;
|
|
1089
1148
|
/**
|
|
1090
1149
|
* List of principals in org
|
|
1091
|
-
* @type {Array<
|
|
1150
|
+
* @type {Array<PrincipalInOrg>}
|
|
1092
1151
|
* @memberof PrincipalsInOrgResponse
|
|
1093
1152
|
*/
|
|
1094
|
-
'principals': Array<
|
|
1153
|
+
'principals': Array<PrincipalInOrg>;
|
|
1095
1154
|
}
|
|
1096
1155
|
/**
|
|
1097
1156
|
* Role assignment key to rematerialize
|
|
@@ -1252,6 +1311,8 @@ export interface RemoveTeammateRequestBodyActor {
|
|
|
1252
1311
|
export declare const RemoveTeammateRequestBodyActorTypeEnum: {
|
|
1253
1312
|
readonly User: "User";
|
|
1254
1313
|
readonly Automation: "Automation";
|
|
1314
|
+
readonly Kiosk: "Kiosk";
|
|
1315
|
+
readonly Terminal: "Terminal";
|
|
1255
1316
|
};
|
|
1256
1317
|
export type RemoveTeammateRequestBodyActorTypeEnum = typeof RemoveTeammateRequestBodyActorTypeEnum[keyof typeof RemoveTeammateRequestBodyActorTypeEnum];
|
|
1257
1318
|
/**
|
|
@@ -1294,6 +1355,8 @@ export interface RemoveTeammateRequestBodyPrincipal {
|
|
|
1294
1355
|
export declare const RemoveTeammateRequestBodyPrincipalTypeEnum: {
|
|
1295
1356
|
readonly User: "User";
|
|
1296
1357
|
readonly Automation: "Automation";
|
|
1358
|
+
readonly Kiosk: "Kiosk";
|
|
1359
|
+
readonly Terminal: "Terminal";
|
|
1297
1360
|
};
|
|
1298
1361
|
export type RemoveTeammateRequestBodyPrincipalTypeEnum = typeof RemoveTeammateRequestBodyPrincipalTypeEnum[keyof typeof RemoveTeammateRequestBodyPrincipalTypeEnum];
|
|
1299
1362
|
/**
|
|
@@ -1365,6 +1428,9 @@ export declare const RoleAssignmentRequestBodyRoleNameEnum: {
|
|
|
1365
1428
|
readonly Integrator: "Integrator";
|
|
1366
1429
|
readonly PropertyManager: "PropertyManager";
|
|
1367
1430
|
readonly FinanceManager: "FinanceManager";
|
|
1431
|
+
readonly StaffMember: "StaffMember";
|
|
1432
|
+
readonly Kiosk: "Kiosk";
|
|
1433
|
+
readonly Terminal: "Terminal";
|
|
1368
1434
|
};
|
|
1369
1435
|
export type RoleAssignmentRequestBodyRoleNameEnum = typeof RoleAssignmentRequestBodyRoleNameEnum[keyof typeof RoleAssignmentRequestBodyRoleNameEnum];
|
|
1370
1436
|
/**
|
|
@@ -1407,6 +1473,8 @@ export interface RoleAssignmentRequestBodyActor {
|
|
|
1407
1473
|
export declare const RoleAssignmentRequestBodyActorTypeEnum: {
|
|
1408
1474
|
readonly User: "User";
|
|
1409
1475
|
readonly Automation: "Automation";
|
|
1476
|
+
readonly Kiosk: "Kiosk";
|
|
1477
|
+
readonly Terminal: "Terminal";
|
|
1410
1478
|
};
|
|
1411
1479
|
export type RoleAssignmentRequestBodyActorTypeEnum = typeof RoleAssignmentRequestBodyActorTypeEnum[keyof typeof RoleAssignmentRequestBodyActorTypeEnum];
|
|
1412
1480
|
/**
|
|
@@ -1449,6 +1517,8 @@ export interface RoleAssignmentRequestBodyPrincipal {
|
|
|
1449
1517
|
export declare const RoleAssignmentRequestBodyPrincipalTypeEnum: {
|
|
1450
1518
|
readonly User: "User";
|
|
1451
1519
|
readonly Automation: "Automation";
|
|
1520
|
+
readonly Kiosk: "Kiosk";
|
|
1521
|
+
readonly Terminal: "Terminal";
|
|
1452
1522
|
};
|
|
1453
1523
|
export type RoleAssignmentRequestBodyPrincipalTypeEnum = typeof RoleAssignmentRequestBodyPrincipalTypeEnum[keyof typeof RoleAssignmentRequestBodyPrincipalTypeEnum];
|
|
1454
1524
|
/**
|
|
@@ -1558,7 +1628,7 @@ export declare class AuthenticationApi extends BaseAPI {
|
|
|
1558
1628
|
* @throws {RequiredError}
|
|
1559
1629
|
* @memberof AuthenticationApi
|
|
1560
1630
|
*/
|
|
1561
|
-
authenticateAndAuthorize(authenticateAndAuthorizeRequest: AuthenticateAndAuthorizeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticateAndAuthorizeResponse, any, {}>>;
|
|
1631
|
+
authenticateAndAuthorize(authenticateAndAuthorizeRequest: AuthenticateAndAuthorizeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticateAndAuthorizeResponse, any, {}, any>>;
|
|
1562
1632
|
}
|
|
1563
1633
|
/**
|
|
1564
1634
|
* AuthorizationApi - axios parameter creator
|
|
@@ -1713,7 +1783,7 @@ export declare class AuthorizationApi extends BaseAPI {
|
|
|
1713
1783
|
* @throws {RequiredError}
|
|
1714
1784
|
* @memberof AuthorizationApi
|
|
1715
1785
|
*/
|
|
1716
|
-
authenticateAndAuthorize(authenticateAndAuthorizeRequest: AuthenticateAndAuthorizeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticateAndAuthorizeResponse, any, {}>>;
|
|
1786
|
+
authenticateAndAuthorize(authenticateAndAuthorizeRequest: AuthenticateAndAuthorizeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticateAndAuthorizeResponse, any, {}, any>>;
|
|
1717
1787
|
/**
|
|
1718
1788
|
* Authenticate and check if a user is in any/all of the roles
|
|
1719
1789
|
* @summary Authenticate and Check Is In Role
|
|
@@ -1722,7 +1792,7 @@ export declare class AuthorizationApi extends BaseAPI {
|
|
|
1722
1792
|
* @throws {RequiredError}
|
|
1723
1793
|
* @memberof AuthorizationApi
|
|
1724
1794
|
*/
|
|
1725
|
-
authenticateAndCheckIsInRole(authenticateAndCheckIsInRoleRequest?: AuthenticateAndCheckIsInRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticateAndCheckIsInRoleResponse, any, {}>>;
|
|
1795
|
+
authenticateAndCheckIsInRole(authenticateAndCheckIsInRoleRequest?: AuthenticateAndCheckIsInRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticateAndCheckIsInRoleResponse, any, {}, any>>;
|
|
1726
1796
|
/**
|
|
1727
1797
|
* Check if a user is authorized to perform an action
|
|
1728
1798
|
* @summary Authorize Request
|
|
@@ -1731,7 +1801,7 @@ export declare class AuthorizationApi extends BaseAPI {
|
|
|
1731
1801
|
* @throws {RequiredError}
|
|
1732
1802
|
* @memberof AuthorizationApi
|
|
1733
1803
|
*/
|
|
1734
|
-
authorize(authorizationRequest?: AuthorizationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthorizationResponse, any, {}>>;
|
|
1804
|
+
authorize(authorizationRequest?: AuthorizationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthorizationResponse, any, {}, any>>;
|
|
1735
1805
|
/**
|
|
1736
1806
|
* Check if a user is authorized to perform an action on multiple resources
|
|
1737
1807
|
* @summary Authorize Batch Request
|
|
@@ -1740,7 +1810,7 @@ export declare class AuthorizationApi extends BaseAPI {
|
|
|
1740
1810
|
* @throws {RequiredError}
|
|
1741
1811
|
* @memberof AuthorizationApi
|
|
1742
1812
|
*/
|
|
1743
|
-
authorizeBatch(authorizationBatchRequest?: AuthorizationBatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthorizationBatchResponse, any, {}>>;
|
|
1813
|
+
authorizeBatch(authorizationBatchRequest?: AuthorizationBatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthorizationBatchResponse, any, {}, any>>;
|
|
1744
1814
|
/**
|
|
1745
1815
|
* Check if a user is in any/all of the roles
|
|
1746
1816
|
* @summary Check Is In Role
|
|
@@ -1749,7 +1819,7 @@ export declare class AuthorizationApi extends BaseAPI {
|
|
|
1749
1819
|
* @throws {RequiredError}
|
|
1750
1820
|
* @memberof AuthorizationApi
|
|
1751
1821
|
*/
|
|
1752
|
-
checkIsInRole(isInRoleRequest?: IsInRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IsInRoleResponse, any, {}>>;
|
|
1822
|
+
checkIsInRole(isInRoleRequest?: IsInRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IsInRoleResponse, any, {}, any>>;
|
|
1753
1823
|
}
|
|
1754
1824
|
/**
|
|
1755
1825
|
* AuthorizedEntitiesApi - axios parameter creator
|
|
@@ -1863,7 +1933,7 @@ export declare class AuthorizedEntitiesApi extends BaseAPI {
|
|
|
1863
1933
|
* @throws {RequiredError}
|
|
1864
1934
|
* @memberof AuthorizedEntitiesApi
|
|
1865
1935
|
*/
|
|
1866
|
-
getAuthorizedBrands(orgId: string, getAuthorizedBrandsRequest?: GetAuthorizedBrandsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAuthorizedBrandsResponse, any, {}>>;
|
|
1936
|
+
getAuthorizedBrands(orgId: string, getAuthorizedBrandsRequest?: GetAuthorizedBrandsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAuthorizedBrandsResponse, any, {}, any>>;
|
|
1867
1937
|
/**
|
|
1868
1938
|
* Get the authorized orgs for a given principal
|
|
1869
1939
|
* @summary Get Authorized Orgs
|
|
@@ -1872,7 +1942,7 @@ export declare class AuthorizedEntitiesApi extends BaseAPI {
|
|
|
1872
1942
|
* @throws {RequiredError}
|
|
1873
1943
|
* @memberof AuthorizedEntitiesApi
|
|
1874
1944
|
*/
|
|
1875
|
-
getAuthorizedOrgs(getAuthorizedOrgsRequest?: GetAuthorizedOrgsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAuthorizedOrgsResponse, any, {}>>;
|
|
1945
|
+
getAuthorizedOrgs(getAuthorizedOrgsRequest?: GetAuthorizedOrgsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAuthorizedOrgsResponse, any, {}, any>>;
|
|
1876
1946
|
/**
|
|
1877
1947
|
* Get the authorized properties for a given org
|
|
1878
1948
|
* @summary Get Authorized Properties
|
|
@@ -1882,7 +1952,7 @@ export declare class AuthorizedEntitiesApi extends BaseAPI {
|
|
|
1882
1952
|
* @throws {RequiredError}
|
|
1883
1953
|
* @memberof AuthorizedEntitiesApi
|
|
1884
1954
|
*/
|
|
1885
|
-
getAuthorizedProperties(orgId: string, getAuthorizedPropertiesRequest?: GetAuthorizedPropertiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAuthorizedPropertiesResponse, any, {}>>;
|
|
1955
|
+
getAuthorizedProperties(orgId: string, getAuthorizedPropertiesRequest?: GetAuthorizedPropertiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAuthorizedPropertiesResponse, any, {}, any>>;
|
|
1886
1956
|
}
|
|
1887
1957
|
/**
|
|
1888
1958
|
* ConfigurationDataApi - axios parameter creator
|
|
@@ -1958,7 +2028,7 @@ export declare class ConfigurationDataApi extends BaseAPI {
|
|
|
1958
2028
|
* @throws {RequiredError}
|
|
1959
2029
|
* @memberof ConfigurationDataApi
|
|
1960
2030
|
*/
|
|
1961
|
-
listPermissions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPermissionsSuccessResponse, any, {}>>;
|
|
2031
|
+
listPermissions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPermissionsSuccessResponse, any, {}, any>>;
|
|
1962
2032
|
/**
|
|
1963
2033
|
* List the available roles
|
|
1964
2034
|
* @summary List Roles
|
|
@@ -1966,7 +2036,7 @@ export declare class ConfigurationDataApi extends BaseAPI {
|
|
|
1966
2036
|
* @throws {RequiredError}
|
|
1967
2037
|
* @memberof ConfigurationDataApi
|
|
1968
2038
|
*/
|
|
1969
|
-
listRoles(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRolesSuccessResponse, any, {}>>;
|
|
2039
|
+
listRoles(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRolesSuccessResponse, any, {}, any>>;
|
|
1970
2040
|
}
|
|
1971
2041
|
/**
|
|
1972
2042
|
* RoleAssignmentApi - axios parameter creator
|
|
@@ -2083,7 +2153,7 @@ export declare class RoleAssignmentApi extends BaseAPI {
|
|
|
2083
2153
|
* @throws {RequiredError}
|
|
2084
2154
|
* @memberof RoleAssignmentApi
|
|
2085
2155
|
*/
|
|
2086
|
-
applyRoleAssignment(orgId: string, roleAssignmentRequestBody?: RoleAssignmentRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RoleAssignmentSuccessResponse, any, {}>>;
|
|
2156
|
+
applyRoleAssignment(orgId: string, roleAssignmentRequestBody?: RoleAssignmentRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RoleAssignmentSuccessResponse, any, {}, any>>;
|
|
2087
2157
|
/**
|
|
2088
2158
|
* Rematerializes a role assignment and applies the resulting policy assignments
|
|
2089
2159
|
* @summary Rematerialize Role Assignment
|
|
@@ -2093,7 +2163,7 @@ export declare class RoleAssignmentApi extends BaseAPI {
|
|
|
2093
2163
|
* @throws {RequiredError}
|
|
2094
2164
|
* @memberof RoleAssignmentApi
|
|
2095
2165
|
*/
|
|
2096
|
-
rematerializeRoleAssignmentV2(orgId: string, rematerializeRoleAssignmentRequestBody?: RematerializeRoleAssignmentRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RematerializeRoleAssignmentSuccessResponse, any, {}>>;
|
|
2166
|
+
rematerializeRoleAssignmentV2(orgId: string, rematerializeRoleAssignmentRequestBody?: RematerializeRoleAssignmentRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RematerializeRoleAssignmentSuccessResponse, any, {}, any>>;
|
|
2097
2167
|
/**
|
|
2098
2168
|
* Revokes all V2 role assignments for the teammate in this org, reconciles away their policies, and removes them from the org user list. Does not delete the teammate account in Zeus.
|
|
2099
2169
|
* @summary Remove teammate
|
|
@@ -2103,7 +2173,7 @@ export declare class RoleAssignmentApi extends BaseAPI {
|
|
|
2103
2173
|
* @throws {RequiredError}
|
|
2104
2174
|
* @memberof RoleAssignmentApi
|
|
2105
2175
|
*/
|
|
2106
|
-
removeTeammate(orgId: string, removeTeammateRequestBody?: RemoveTeammateRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoveTeammateSuccessResponse, any, {}>>;
|
|
2176
|
+
removeTeammate(orgId: string, removeTeammateRequestBody?: RemoveTeammateRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoveTeammateSuccessResponse, any, {}, any>>;
|
|
2107
2177
|
}
|
|
2108
2178
|
/**
|
|
2109
2179
|
* UserManagementApi - axios parameter creator
|
|
@@ -2162,7 +2232,7 @@ export declare class UserManagementApi extends BaseAPI {
|
|
|
2162
2232
|
* @throws {RequiredError}
|
|
2163
2233
|
* @memberof UserManagementApi
|
|
2164
2234
|
*/
|
|
2165
|
-
listUsersInOrg(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PrincipalsInOrgResponse, any, {}>>;
|
|
2235
|
+
listUsersInOrg(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PrincipalsInOrgResponse, any, {}, any>>;
|
|
2166
2236
|
}
|
|
2167
2237
|
/**
|
|
2168
2238
|
* UserPermissionsApi - axios parameter creator
|
|
@@ -2312,7 +2382,7 @@ export declare class UserPermissionsApi extends BaseAPI {
|
|
|
2312
2382
|
[key: string]: {
|
|
2313
2383
|
[key: string]: GetUserPermissionsSuccessResponseResourcesValue;
|
|
2314
2384
|
};
|
|
2315
|
-
}, any, {}>>;
|
|
2385
|
+
}, any, {}, any>>;
|
|
2316
2386
|
/**
|
|
2317
2387
|
* List the current roles assignments in the org
|
|
2318
2388
|
* @summary List Org Roles
|
|
@@ -2323,7 +2393,7 @@ export declare class UserPermissionsApi extends BaseAPI {
|
|
|
2323
2393
|
*/
|
|
2324
2394
|
listOrgRoles(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
2325
2395
|
[key: string]: ListOrgRolesSuccessResponseValue;
|
|
2326
|
-
}, any, {}>>;
|
|
2396
|
+
}, any, {}, any>>;
|
|
2327
2397
|
/**
|
|
2328
2398
|
* List the available permissions for the current user
|
|
2329
2399
|
* @summary List Own Permissions
|
|
@@ -2332,7 +2402,7 @@ export declare class UserPermissionsApi extends BaseAPI {
|
|
|
2332
2402
|
* @throws {RequiredError}
|
|
2333
2403
|
* @memberof UserPermissionsApi
|
|
2334
2404
|
*/
|
|
2335
|
-
listOwnPermissions(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPermissionsSuccessResponse, any, {}>>;
|
|
2405
|
+
listOwnPermissions(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPermissionsSuccessResponse, any, {}, any>>;
|
|
2336
2406
|
/**
|
|
2337
2407
|
* List the available permissions for a given user
|
|
2338
2408
|
* @summary List User Permissions
|
|
@@ -2342,5 +2412,5 @@ export declare class UserPermissionsApi extends BaseAPI {
|
|
|
2342
2412
|
* @throws {RequiredError}
|
|
2343
2413
|
* @memberof UserPermissionsApi
|
|
2344
2414
|
*/
|
|
2345
|
-
listUserPermissions(orgId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPermissionsSuccessResponse, any, {}>>;
|
|
2415
|
+
listUserPermissions(orgId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPermissionsSuccessResponse, any, {}, any>>;
|
|
2346
2416
|
}
|
package/dist/api.js
CHANGED
|
@@ -84,7 +84,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
84
84
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
85
|
};
|
|
86
86
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
87
|
-
exports.UserPermissionsApi = exports.UserPermissionsApiFactory = exports.UserPermissionsApiFp = exports.UserPermissionsApiAxiosParamCreator = exports.UserManagementApi = exports.UserManagementApiFactory = exports.UserManagementApiFp = exports.UserManagementApiAxiosParamCreator = exports.RoleAssignmentApi = exports.RoleAssignmentApiFactory = exports.RoleAssignmentApiFp = exports.RoleAssignmentApiAxiosParamCreator = exports.ConfigurationDataApi = exports.ConfigurationDataApiFactory = exports.ConfigurationDataApiFp = exports.ConfigurationDataApiAxiosParamCreator = exports.AuthorizedEntitiesApi = exports.AuthorizedEntitiesApiFactory = exports.AuthorizedEntitiesApiFp = exports.AuthorizedEntitiesApiAxiosParamCreator = exports.AuthorizationApi = exports.AuthorizationApiFactory = exports.AuthorizationApiFp = exports.AuthorizationApiAxiosParamCreator = exports.AuthenticationApi = exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.RoleNames = exports.RoleAssignmentRequestBodyPrincipalTypeEnum = exports.RoleAssignmentRequestBodyActorTypeEnum = exports.RoleAssignmentRequestBodyRoleNameEnum = exports.RemoveTeammateRequestBodyPrincipalTypeEnum = exports.RemoveTeammateRequestBodyActorTypeEnum = exports.Permissions = exports.ListOrgRolesSuccessResponseValueRolesEnum = exports.IsInRoleRequestCheckModeEnum = exports.GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = exports.GetAuthorizedOrgsRequestPrincipalTypeEnum = exports.AuthorizationRequestResourceOneOf3TypeEnum = exports.AuthorizationRequestResourceOneOf2TypeEnum = exports.AuthorizationRequestResourceOneOf1TypeEnum = exports.AuthorizationRequestResourceOneOfTypeEnum = exports.AuthorizationRequestPrincipalTypeEnum = exports.AuthorizationRequestCheckModeEnum = exports.AuthenticateAndCheckIsInRoleRequestCheckModeEnum = exports.AuthenticateAndAuthorizeRequestCheckModeEnum = void 0;
|
|
87
|
+
exports.UserPermissionsApi = exports.UserPermissionsApiFactory = exports.UserPermissionsApiFp = exports.UserPermissionsApiAxiosParamCreator = exports.UserManagementApi = exports.UserManagementApiFactory = exports.UserManagementApiFp = exports.UserManagementApiAxiosParamCreator = exports.RoleAssignmentApi = exports.RoleAssignmentApiFactory = exports.RoleAssignmentApiFp = exports.RoleAssignmentApiAxiosParamCreator = exports.ConfigurationDataApi = exports.ConfigurationDataApiFactory = exports.ConfigurationDataApiFp = exports.ConfigurationDataApiAxiosParamCreator = exports.AuthorizedEntitiesApi = exports.AuthorizedEntitiesApiFactory = exports.AuthorizedEntitiesApiFp = exports.AuthorizedEntitiesApiAxiosParamCreator = exports.AuthorizationApi = exports.AuthorizationApiFactory = exports.AuthorizationApiFp = exports.AuthorizationApiAxiosParamCreator = exports.AuthenticationApi = exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.RoleNames = exports.RoleAssignmentRequestBodyPrincipalTypeEnum = exports.RoleAssignmentRequestBodyActorTypeEnum = exports.RoleAssignmentRequestBodyRoleNameEnum = exports.RemoveTeammateRequestBodyPrincipalTypeEnum = exports.RemoveTeammateRequestBodyActorTypeEnum = exports.PrincipalInOrgTypeEnum = exports.Permissions = exports.ListOrgRolesSuccessResponseValueRolesEnum = exports.IsInRoleRequestCheckModeEnum = exports.GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = exports.GetAuthorizedOrgsRequestPrincipalTypeEnum = exports.AuthorizationRequestResourceOneOf3TypeEnum = exports.AuthorizationRequestResourceOneOf2TypeEnum = exports.AuthorizationRequestResourceOneOf1TypeEnum = exports.AuthorizationRequestResourceOneOfTypeEnum = exports.AuthorizationRequestPrincipalTypeEnum = exports.AuthorizationRequestCheckModeEnum = exports.AuthenticateAndCheckIsInRoleRequestCheckModeEnum = exports.AuthenticateAndAuthorizeRequestCheckModeEnum = void 0;
|
|
88
88
|
var axios_1 = require("axios");
|
|
89
89
|
// Some imports not used depending on template conditions
|
|
90
90
|
// @ts-ignore
|
|
@@ -105,7 +105,9 @@ exports.AuthorizationRequestCheckModeEnum = {
|
|
|
105
105
|
};
|
|
106
106
|
exports.AuthorizationRequestPrincipalTypeEnum = {
|
|
107
107
|
User: 'User',
|
|
108
|
-
Automation: 'Automation'
|
|
108
|
+
Automation: 'Automation',
|
|
109
|
+
Kiosk: 'Kiosk',
|
|
110
|
+
Terminal: 'Terminal'
|
|
109
111
|
};
|
|
110
112
|
exports.AuthorizationRequestResourceOneOfTypeEnum = {
|
|
111
113
|
Property: 'Property'
|
|
@@ -121,7 +123,9 @@ exports.AuthorizationRequestResourceOneOf3TypeEnum = {
|
|
|
121
123
|
};
|
|
122
124
|
exports.GetAuthorizedOrgsRequestPrincipalTypeEnum = {
|
|
123
125
|
User: 'User',
|
|
124
|
-
Automation: 'Automation'
|
|
126
|
+
Automation: 'Automation',
|
|
127
|
+
Kiosk: 'Kiosk',
|
|
128
|
+
Terminal: 'Terminal'
|
|
125
129
|
};
|
|
126
130
|
exports.GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = {
|
|
127
131
|
Property: 'Property',
|
|
@@ -139,7 +143,10 @@ exports.ListOrgRolesSuccessResponseValueRolesEnum = {
|
|
|
139
143
|
ManagedOwner: 'ManagedOwner',
|
|
140
144
|
Integrator: 'Integrator',
|
|
141
145
|
PropertyManager: 'PropertyManager',
|
|
142
|
-
FinanceManager: 'FinanceManager'
|
|
146
|
+
FinanceManager: 'FinanceManager',
|
|
147
|
+
StaffMember: 'StaffMember',
|
|
148
|
+
Kiosk: 'Kiosk',
|
|
149
|
+
Terminal: 'Terminal'
|
|
143
150
|
};
|
|
144
151
|
/**
|
|
145
152
|
* Permissions
|
|
@@ -167,6 +174,7 @@ exports.Permissions = {
|
|
|
167
174
|
CreateTeammateOnboarding: 'CreateTeammateOnboarding',
|
|
168
175
|
CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
|
|
169
176
|
CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
|
|
177
|
+
CreateTeammateStaffMember: 'CreateTeammateStaffMember',
|
|
170
178
|
ViewApmConfigurations: 'ViewApmConfigurations',
|
|
171
179
|
EditApmConfigurations: 'EditApmConfigurations',
|
|
172
180
|
ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
|
|
@@ -235,6 +243,7 @@ exports.Permissions = {
|
|
|
235
243
|
InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
|
|
236
244
|
DeleteTerminal: 'DeleteTerminal',
|
|
237
245
|
ViewKioskTelemetry: 'ViewKioskTelemetry',
|
|
246
|
+
HydraOnly: 'HydraOnly',
|
|
238
247
|
ViewCustomers: 'ViewCustomers',
|
|
239
248
|
EditCustomers: 'EditCustomers',
|
|
240
249
|
CreateCustomers: 'CreateCustomers',
|
|
@@ -378,13 +387,23 @@ exports.Permissions = {
|
|
|
378
387
|
RoleFactory: 'RoleFactory',
|
|
379
388
|
RoleAuthDeveloper: 'RoleAuthDeveloper'
|
|
380
389
|
};
|
|
390
|
+
exports.PrincipalInOrgTypeEnum = {
|
|
391
|
+
User: 'User',
|
|
392
|
+
Automation: 'Automation',
|
|
393
|
+
Kiosk: 'Kiosk',
|
|
394
|
+
Terminal: 'Terminal'
|
|
395
|
+
};
|
|
381
396
|
exports.RemoveTeammateRequestBodyActorTypeEnum = {
|
|
382
397
|
User: 'User',
|
|
383
|
-
Automation: 'Automation'
|
|
398
|
+
Automation: 'Automation',
|
|
399
|
+
Kiosk: 'Kiosk',
|
|
400
|
+
Terminal: 'Terminal'
|
|
384
401
|
};
|
|
385
402
|
exports.RemoveTeammateRequestBodyPrincipalTypeEnum = {
|
|
386
403
|
User: 'User',
|
|
387
|
-
Automation: 'Automation'
|
|
404
|
+
Automation: 'Automation',
|
|
405
|
+
Kiosk: 'Kiosk',
|
|
406
|
+
Terminal: 'Terminal'
|
|
388
407
|
};
|
|
389
408
|
exports.RoleAssignmentRequestBodyRoleNameEnum = {
|
|
390
409
|
Owner: 'Owner',
|
|
@@ -392,15 +411,22 @@ exports.RoleAssignmentRequestBodyRoleNameEnum = {
|
|
|
392
411
|
ManagedOwner: 'ManagedOwner',
|
|
393
412
|
Integrator: 'Integrator',
|
|
394
413
|
PropertyManager: 'PropertyManager',
|
|
395
|
-
FinanceManager: 'FinanceManager'
|
|
414
|
+
FinanceManager: 'FinanceManager',
|
|
415
|
+
StaffMember: 'StaffMember',
|
|
416
|
+
Kiosk: 'Kiosk',
|
|
417
|
+
Terminal: 'Terminal'
|
|
396
418
|
};
|
|
397
419
|
exports.RoleAssignmentRequestBodyActorTypeEnum = {
|
|
398
420
|
User: 'User',
|
|
399
|
-
Automation: 'Automation'
|
|
421
|
+
Automation: 'Automation',
|
|
422
|
+
Kiosk: 'Kiosk',
|
|
423
|
+
Terminal: 'Terminal'
|
|
400
424
|
};
|
|
401
425
|
exports.RoleAssignmentRequestBodyPrincipalTypeEnum = {
|
|
402
426
|
User: 'User',
|
|
403
|
-
Automation: 'Automation'
|
|
427
|
+
Automation: 'Automation',
|
|
428
|
+
Kiosk: 'Kiosk',
|
|
429
|
+
Terminal: 'Terminal'
|
|
404
430
|
};
|
|
405
431
|
/**
|
|
406
432
|
* Role names
|
package/dist/common.d.ts
CHANGED
|
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
package/dist/configuration.js
CHANGED
|
@@ -36,7 +36,7 @@ var Configuration = /** @class */ (function () {
|
|
|
36
36
|
this.serverIndex = param.serverIndex;
|
|
37
37
|
var extraHeaders = param.useDefaultUserAgent ? {} : {
|
|
38
38
|
headers: {
|
|
39
|
-
"user-agent": "Flipdish authorization typescript SDK / 0.2.
|
|
39
|
+
"user-agent": "Flipdish authorization typescript SDK / 0.2.43-rc.1785501197"
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
this.baseOptions = __assign(__assign({}, extraHeaders), param.baseOptions);
|