@snokam/platform-client 3.0.0 → 3.1.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/CHANGELOG.md +11 -0
- package/README.md +7 -2
- package/dist/apis/PlatformClient.d.ts +37 -3
- package/dist/apis/PlatformClient.js +94 -2
- package/dist/esm/apis/PlatformClient.d.ts +37 -3
- package/dist/esm/apis/PlatformClient.js +94 -2
- package/dist/esm/models/index.d.ts +87 -12
- package/dist/models/index.d.ts +87 -12
- package/docs/AuthorizationPreview.md +15 -0
- package/docs/AuthorizationRequest.md +18 -0
- package/docs/IssuedAuthorizationCode.md +14 -0
- package/docs/PatchEmployee.md +1 -1
- package/docs/PlatformClient.md +147 -1
- package/docs/ProtectedEmployee.md +1 -1
- package/docs/SanityEmployeeGroupsInner.md +1 -0
- package/package.json +1 -1
- package/src/apis/PlatformClient.ts +121 -2
- package/src/models/index.ts +87 -12
package/src/models/index.ts
CHANGED
|
@@ -279,6 +279,62 @@ export interface ApproveDeviceRequest {
|
|
|
279
279
|
*/
|
|
280
280
|
name?: string | null;
|
|
281
281
|
}
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
* @export
|
|
285
|
+
* @interface AuthorizationPreview
|
|
286
|
+
*/
|
|
287
|
+
export interface AuthorizationPreview {
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof AuthorizationPreview
|
|
292
|
+
*/
|
|
293
|
+
businessName?: string | null;
|
|
294
|
+
/**
|
|
295
|
+
*
|
|
296
|
+
* @type {string}
|
|
297
|
+
* @memberof AuthorizationPreview
|
|
298
|
+
*/
|
|
299
|
+
clientName?: string | null;
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
* @export
|
|
304
|
+
* @interface AuthorizationRequest
|
|
305
|
+
*/
|
|
306
|
+
export interface AuthorizationRequest {
|
|
307
|
+
/**
|
|
308
|
+
*
|
|
309
|
+
* @type {string}
|
|
310
|
+
* @memberof AuthorizationRequest
|
|
311
|
+
*/
|
|
312
|
+
clientId?: string | null;
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* @type {string}
|
|
316
|
+
* @memberof AuthorizationRequest
|
|
317
|
+
*/
|
|
318
|
+
codeChallenge?: string | null;
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @type {string}
|
|
322
|
+
* @memberof AuthorizationRequest
|
|
323
|
+
*/
|
|
324
|
+
codeChallengeMethod?: string | null;
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @type {string}
|
|
328
|
+
* @memberof AuthorizationRequest
|
|
329
|
+
*/
|
|
330
|
+
redirectUri?: string | null;
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @type {string}
|
|
334
|
+
* @memberof AuthorizationRequest
|
|
335
|
+
*/
|
|
336
|
+
resource?: string | null;
|
|
337
|
+
}
|
|
282
338
|
/**
|
|
283
339
|
*
|
|
284
340
|
* @export
|
|
@@ -2398,6 +2454,19 @@ export interface InvoiceBasisLine {
|
|
|
2398
2454
|
*/
|
|
2399
2455
|
unitPriceOre?: number | null;
|
|
2400
2456
|
}
|
|
2457
|
+
/**
|
|
2458
|
+
*
|
|
2459
|
+
* @export
|
|
2460
|
+
* @interface IssuedAuthorizationCode
|
|
2461
|
+
*/
|
|
2462
|
+
export interface IssuedAuthorizationCode {
|
|
2463
|
+
/**
|
|
2464
|
+
*
|
|
2465
|
+
* @type {string}
|
|
2466
|
+
* @memberof IssuedAuthorizationCode
|
|
2467
|
+
*/
|
|
2468
|
+
code?: string | null;
|
|
2469
|
+
}
|
|
2401
2470
|
/**
|
|
2402
2471
|
*
|
|
2403
2472
|
* @export
|
|
@@ -3342,6 +3411,12 @@ export interface PatchEmployee {
|
|
|
3342
3411
|
* @memberof PatchEmployee
|
|
3343
3412
|
*/
|
|
3344
3413
|
isSeekingProject?: boolean | null;
|
|
3414
|
+
/**
|
|
3415
|
+
*
|
|
3416
|
+
* @type {boolean}
|
|
3417
|
+
* @memberof PatchEmployee
|
|
3418
|
+
*/
|
|
3419
|
+
leadershipGroupMember?: boolean | null;
|
|
3345
3420
|
/**
|
|
3346
3421
|
*
|
|
3347
3422
|
* @type {string}
|
|
@@ -3390,12 +3465,6 @@ export interface PatchEmployee {
|
|
|
3390
3465
|
* @memberof PatchEmployee
|
|
3391
3466
|
*/
|
|
3392
3467
|
parentalLeaveCoverage?: PatchEmployeeParentalLeaveCoverageEnum | null;
|
|
3393
|
-
/**
|
|
3394
|
-
*
|
|
3395
|
-
* @type {string}
|
|
3396
|
-
* @memberof PatchEmployee
|
|
3397
|
-
*/
|
|
3398
|
-
parentalLeaveStartDate?: string;
|
|
3399
3468
|
/**
|
|
3400
3469
|
*
|
|
3401
3470
|
* @type {string}
|
|
@@ -4122,6 +4191,12 @@ export interface ProtectedEmployee {
|
|
|
4122
4191
|
* @memberof ProtectedEmployee
|
|
4123
4192
|
*/
|
|
4124
4193
|
isSeekingProject?: boolean;
|
|
4194
|
+
/**
|
|
4195
|
+
*
|
|
4196
|
+
* @type {boolean}
|
|
4197
|
+
* @memberof ProtectedEmployee
|
|
4198
|
+
*/
|
|
4199
|
+
leadershipGroupMember?: boolean;
|
|
4125
4200
|
/**
|
|
4126
4201
|
*
|
|
4127
4202
|
* @type {string}
|
|
@@ -4170,12 +4245,6 @@ export interface ProtectedEmployee {
|
|
|
4170
4245
|
* @memberof ProtectedEmployee
|
|
4171
4246
|
*/
|
|
4172
4247
|
parentalLeaveCoverage?: ProtectedEmployeeParentalLeaveCoverageEnum | null;
|
|
4173
|
-
/**
|
|
4174
|
-
*
|
|
4175
|
-
* @type {string}
|
|
4176
|
-
* @memberof ProtectedEmployee
|
|
4177
|
-
*/
|
|
4178
|
-
parentalLeaveStartDate?: string;
|
|
4179
4248
|
/**
|
|
4180
4249
|
*
|
|
4181
4250
|
* @type {string}
|
|
@@ -4955,6 +5024,12 @@ export interface SanityEmployeeGroupsInner {
|
|
|
4955
5024
|
* @memberof SanityEmployeeGroupsInner
|
|
4956
5025
|
*/
|
|
4957
5026
|
scopeGrants?: Array<string>;
|
|
5027
|
+
/**
|
|
5028
|
+
*
|
|
5029
|
+
* @type {string}
|
|
5030
|
+
* @memberof SanityEmployeeGroupsInner
|
|
5031
|
+
*/
|
|
5032
|
+
slackChannel?: string;
|
|
4958
5033
|
}
|
|
4959
5034
|
|
|
4960
5035
|
|