@timebyping/configuration-service-sdk 7.84.0 → 7.85.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/index.d.ts +1633 -200
- package/dist/index.js +24 -4
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/openapi.json +197 -0
- package/package.json +1 -1
- package/src/index.ts +47 -1
package/src/index.ts
CHANGED
|
@@ -164,10 +164,20 @@ export interface WebexTracking {
|
|
|
164
164
|
serviceAppId?: (string | null);
|
|
165
165
|
variant?: ("Webex" | "WebexGov" | "WebexDev" | null);
|
|
166
166
|
refreshToken?: (string | null);
|
|
167
|
+
activeAccessToken?: (string | null);
|
|
168
|
+
activeAccessTokenClientId?: (string | null);
|
|
169
|
+
activeAccessTokenOrgId?: (string | null);
|
|
170
|
+
activeAccessTokenVariant?: ("Webex" | "WebexGov" | "WebexDev" | null);
|
|
171
|
+
activeAccessTokenExpiresAt?: (LuxonDateTimeSchemaOutput | null);
|
|
172
|
+
activeAccessTokenRefreshAt?: (LuxonDateTimeSchemaOutput | null);
|
|
173
|
+
activeAccessTokenScope?: (string | null);
|
|
174
|
+
activeAccessTokenType?: (string | null);
|
|
175
|
+
activeRefreshTokenExpiresAt?: (LuxonDateTimeSchemaOutput | null);
|
|
176
|
+
activeRefreshTokenExpiresIn?: (number | null);
|
|
167
177
|
cdrEnabled?: (boolean | null);
|
|
168
178
|
meetingsEnabled?: (boolean | null);
|
|
169
179
|
}
|
|
170
|
-
export const WebexTrackingSchema = z.object({ orgId: z.union([z.string(), z.null()]).optional(), clientId: z.union([z.string(), z.null()]).optional(), clientSecret: z.union([z.string().min(0), z.null()]).optional(), serviceAppId: z.union([z.string(), z.null()]).optional(), variant: z.union([z.enum(['Webex', 'WebexGov', 'WebexDev']), z.null()]).optional(), refreshToken: z.union([z.string().min(0), z.null()]).optional(), cdrEnabled: z.union([z.boolean(), z.null()]).optional(), meetingsEnabled: z.union([z.boolean(), z.null()]).optional() });
|
|
180
|
+
export const WebexTrackingSchema = z.object({ orgId: z.union([z.string(), z.null()]).optional(), clientId: z.union([z.string(), z.null()]).optional(), clientSecret: z.union([z.string().min(0), z.null()]).optional(), serviceAppId: z.union([z.string(), z.null()]).optional(), variant: z.union([z.enum(['Webex', 'WebexGov', 'WebexDev']), z.null()]).optional(), refreshToken: z.union([z.string().min(0), z.null()]).optional(), activeAccessToken: z.union([z.string().min(0), z.null()]).optional(), activeAccessTokenClientId: z.union([z.string(), z.null()]).optional(), activeAccessTokenOrgId: z.union([z.string(), z.null()]).optional(), activeAccessTokenVariant: z.union([z.enum(['Webex', 'WebexGov', 'WebexDev']), z.null()]).optional(), activeAccessTokenExpiresAt: z.union([LuxonDateTimeSchema, z.null()]).optional(), activeAccessTokenRefreshAt: z.union([LuxonDateTimeSchema, z.null()]).optional(), activeAccessTokenScope: z.union([z.string(), z.null()]).optional(), activeAccessTokenType: z.union([z.string(), z.null()]).optional(), activeRefreshTokenExpiresAt: z.union([LuxonDateTimeSchema, z.null()]).optional(), activeRefreshTokenExpiresIn: z.union([z.number(), z.null()]).optional(), cdrEnabled: z.union([z.boolean(), z.null()]).optional(), meetingsEnabled: z.union([z.boolean(), z.null()]).optional() });
|
|
171
181
|
|
|
172
182
|
export interface RingCentralTracking {
|
|
173
183
|
phonesEnabled?: (boolean | null);
|
|
@@ -327,6 +337,21 @@ export interface RotateEncryptionKeyDto {
|
|
|
327
337
|
}
|
|
328
338
|
export const RotateEncryptionKeyDtoSchema = z.record(z.string(), z.unknown());
|
|
329
339
|
|
|
340
|
+
export interface UpdateWebexOauthTokenDto {
|
|
341
|
+
activeAccessToken?: (string | null);
|
|
342
|
+
activeAccessTokenClientId: string;
|
|
343
|
+
activeAccessTokenOrgId: string;
|
|
344
|
+
activeAccessTokenVariant: "Webex" | "WebexGov" | "WebexDev";
|
|
345
|
+
activeAccessTokenExpiresAt: LuxonDateTimeSchemaOutput;
|
|
346
|
+
activeAccessTokenRefreshAt: LuxonDateTimeSchemaOutput;
|
|
347
|
+
activeAccessTokenScope: string;
|
|
348
|
+
activeAccessTokenType: string;
|
|
349
|
+
activeRefreshTokenExpiresAt: LuxonDateTimeSchemaOutput;
|
|
350
|
+
activeRefreshTokenExpiresIn: number;
|
|
351
|
+
refreshToken?: (string | null);
|
|
352
|
+
}
|
|
353
|
+
export const UpdateWebexOauthTokenDtoSchema = z.object({ activeAccessToken: z.union([z.string(), z.null()]).optional(), activeAccessTokenClientId: z.string(), activeAccessTokenOrgId: z.string(), activeAccessTokenVariant: z.enum(['Webex', 'WebexGov', 'WebexDev']), activeAccessTokenExpiresAt: LuxonDateTimeSchema, activeAccessTokenRefreshAt: LuxonDateTimeSchema, activeAccessTokenScope: z.string(), activeAccessTokenType: z.string(), activeRefreshTokenExpiresAt: LuxonDateTimeSchema, activeRefreshTokenExpiresIn: z.number(), refreshToken: z.union([z.string(), z.null()]).optional() });
|
|
354
|
+
|
|
330
355
|
export interface PrivacyDocumentCreateDto {
|
|
331
356
|
customerId: ObjectIdSchemaOutput;
|
|
332
357
|
language: string;
|
|
@@ -971,6 +996,7 @@ type _AssertAzureCustomerEncryptionKey = _AssertEqual<AzureCustomerEncryptionKey
|
|
|
971
996
|
type _AssertAgentWebsiteEntryInput = _AssertEqual<AgentWebsiteEntryInput, z.infer<typeof AgentWebsiteEntryInputSchema>>;
|
|
972
997
|
type _AssertBulkOperationError = _AssertEqual<BulkOperationError, z.infer<typeof BulkOperationErrorSchema>>;
|
|
973
998
|
type _AssertRotateEncryptionKeyDto = _AssertEqual<RotateEncryptionKeyDto, z.infer<typeof RotateEncryptionKeyDtoSchema>>;
|
|
999
|
+
type _AssertUpdateWebexOauthTokenDto = _AssertEqual<UpdateWebexOauthTokenDto, z.infer<typeof UpdateWebexOauthTokenDtoSchema>>;
|
|
974
1000
|
type _AssertPrivacyDocumentCreateDto = _AssertEqual<PrivacyDocumentCreateDto, z.infer<typeof PrivacyDocumentCreateDtoSchema>>;
|
|
975
1001
|
type _AssertPrivacyDocument = _AssertEqual<PrivacyDocument, z.infer<typeof PrivacyDocumentSchema>>;
|
|
976
1002
|
type _AssertPrivacyDocumentUpdateDto = _AssertEqual<PrivacyDocumentUpdateDto, z.infer<typeof PrivacyDocumentUpdateDtoSchema>>;
|
|
@@ -1052,6 +1078,10 @@ export const PatchApiV1CustomersCustomeridWebsitesBulk200Response = BulkUpdateWe
|
|
|
1052
1078
|
export const PostApiV1CustomersCustomeridRotateEncryptionKeyParams = GetApiV1CustomersCustomeridParams;
|
|
1053
1079
|
export const PostApiV1CustomersCustomeridRotateEncryptionKeyBody = RotateEncryptionKeyDtoSchema;
|
|
1054
1080
|
export const PostApiV1CustomersCustomeridRotateEncryptionKey200Response = GetApiV1CustomersMe200Response;
|
|
1081
|
+
export const PatchApiV1CustomersCustomeridWebexTrackingOauthTokenParams = GetApiV1CustomersCustomeridParams;
|
|
1082
|
+
export const PatchApiV1CustomersCustomeridWebexTrackingOauthTokenBody = UpdateWebexOauthTokenDtoSchema;
|
|
1083
|
+
export const PatchApiV1CustomersCustomeridWebexTrackingOauthToken200Response = GetApiV1CustomersMe200Response;
|
|
1084
|
+
export const DeleteApiV1CustomersCustomeridWebexTrackingOauthTokenParams = GetApiV1CustomersCustomeridParams;
|
|
1055
1085
|
export const GetApiV1CustomersCustomeridPrivacyDocumentsParams = GetApiV1CustomersCustomeridParams;
|
|
1056
1086
|
export const GetApiV1CustomersCustomeridPrivacyDocuments200Response = z.array(PrivacyDocumentSchema);
|
|
1057
1087
|
export const PostApiV1CustomersCustomeridPrivacyDocumentsParams = GetApiV1CustomersCustomeridParams;
|
|
@@ -1189,6 +1219,15 @@ export const Request = {
|
|
|
1189
1219
|
body: PostApiV1CustomersCustomeridRotateEncryptionKeyBody,
|
|
1190
1220
|
},
|
|
1191
1221
|
},
|
|
1222
|
+
'/api/v1/customers/{customerId}/webex-tracking/oauth-token': {
|
|
1223
|
+
PATCH: {
|
|
1224
|
+
params: GetApiV1CustomersCustomeridParams,
|
|
1225
|
+
body: PatchApiV1CustomersCustomeridWebexTrackingOauthTokenBody,
|
|
1226
|
+
},
|
|
1227
|
+
DELETE: {
|
|
1228
|
+
params: GetApiV1CustomersCustomeridParams,
|
|
1229
|
+
},
|
|
1230
|
+
},
|
|
1192
1231
|
'/api/v1/customers/{customerId}/privacy-documents': {
|
|
1193
1232
|
GET: {
|
|
1194
1233
|
params: GetApiV1CustomersCustomeridParams,
|
|
@@ -1371,6 +1410,13 @@ export const Response = {
|
|
|
1371
1410
|
'200': GetApiV1CustomersMe200Response,
|
|
1372
1411
|
},
|
|
1373
1412
|
},
|
|
1413
|
+
'/api/v1/customers/{customerId}/webex-tracking/oauth-token': {
|
|
1414
|
+
PATCH: {
|
|
1415
|
+
'200': GetApiV1CustomersMe200Response,
|
|
1416
|
+
},
|
|
1417
|
+
DELETE: {
|
|
1418
|
+
},
|
|
1419
|
+
},
|
|
1374
1420
|
'/api/v1/customers/{customerId}/privacy-documents': {
|
|
1375
1421
|
GET: {
|
|
1376
1422
|
'200': GetApiV1CustomersCustomeridPrivacyDocuments200Response,
|