@seamapi/types 1.243.0 → 1.244.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 +79 -241
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +116 -417
- package/lib/seam/connect/models/acs/acs-user.d.ts +45 -100
- package/lib/seam/connect/models/acs/acs-user.js +4 -8
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +65 -282
- package/lib/seam/connect/openapi.js +75 -233
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +21 -63
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-user.ts +4 -8
- package/src/lib/seam/connect/openapi.ts +75 -242
- package/src/lib/seam/connect/route-types.ts +21 -70
|
@@ -2341,12 +2341,6 @@ export interface Routes {
|
|
|
2341
2341
|
created_at: string;
|
|
2342
2342
|
message: string;
|
|
2343
2343
|
warning_code: 'being_deleted';
|
|
2344
|
-
} | {
|
|
2345
|
-
/** Date and time at which Seam created the error. */
|
|
2346
|
-
created_at: string;
|
|
2347
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2348
|
-
message: string;
|
|
2349
|
-
warning_code: 'failed_to_update_on_acs_system';
|
|
2350
2344
|
} | {
|
|
2351
2345
|
created_at: string;
|
|
2352
2346
|
message: string;
|
|
@@ -2369,19 +2363,19 @@ export interface Routes {
|
|
|
2369
2363
|
created_at: string;
|
|
2370
2364
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2371
2365
|
message: string;
|
|
2372
|
-
|
|
2366
|
+
error_code: 'failed_to_create_on_acs_system';
|
|
2373
2367
|
} | {
|
|
2374
2368
|
/** Date and time at which Seam created the error. */
|
|
2375
2369
|
created_at: string;
|
|
2376
2370
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2377
2371
|
message: string;
|
|
2378
|
-
|
|
2372
|
+
error_code: 'failed_to_update_on_acs_system';
|
|
2379
2373
|
} | {
|
|
2380
2374
|
/** Date and time at which Seam created the error. */
|
|
2381
2375
|
created_at: string;
|
|
2382
2376
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2383
2377
|
message: string;
|
|
2384
|
-
|
|
2378
|
+
error_code: 'failed_to_delete_on_acs_system';
|
|
2385
2379
|
}>;
|
|
2386
2380
|
full_name?: string | undefined;
|
|
2387
2381
|
/**
|
|
@@ -3474,12 +3468,6 @@ export interface Routes {
|
|
|
3474
3468
|
created_at: string;
|
|
3475
3469
|
message: string;
|
|
3476
3470
|
warning_code: 'being_deleted';
|
|
3477
|
-
} | {
|
|
3478
|
-
/** Date and time at which Seam created the error. */
|
|
3479
|
-
created_at: string;
|
|
3480
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3481
|
-
message: string;
|
|
3482
|
-
warning_code: 'failed_to_update_on_acs_system';
|
|
3483
3471
|
} | {
|
|
3484
3472
|
created_at: string;
|
|
3485
3473
|
message: string;
|
|
@@ -3502,19 +3490,19 @@ export interface Routes {
|
|
|
3502
3490
|
created_at: string;
|
|
3503
3491
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3504
3492
|
message: string;
|
|
3505
|
-
|
|
3493
|
+
error_code: 'failed_to_create_on_acs_system';
|
|
3506
3494
|
} | {
|
|
3507
3495
|
/** Date and time at which Seam created the error. */
|
|
3508
3496
|
created_at: string;
|
|
3509
3497
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3510
3498
|
message: string;
|
|
3511
|
-
|
|
3499
|
+
error_code: 'failed_to_update_on_acs_system';
|
|
3512
3500
|
} | {
|
|
3513
3501
|
/** Date and time at which Seam created the error. */
|
|
3514
3502
|
created_at: string;
|
|
3515
3503
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3516
3504
|
message: string;
|
|
3517
|
-
|
|
3505
|
+
error_code: 'failed_to_delete_on_acs_system';
|
|
3518
3506
|
}>;
|
|
3519
3507
|
full_name?: string | undefined;
|
|
3520
3508
|
/**
|
|
@@ -3571,12 +3559,6 @@ export interface Routes {
|
|
|
3571
3559
|
created_at: string;
|
|
3572
3560
|
message: string;
|
|
3573
3561
|
warning_code: 'being_deleted';
|
|
3574
|
-
} | {
|
|
3575
|
-
/** Date and time at which Seam created the error. */
|
|
3576
|
-
created_at: string;
|
|
3577
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3578
|
-
message: string;
|
|
3579
|
-
warning_code: 'failed_to_update_on_acs_system';
|
|
3580
3562
|
} | {
|
|
3581
3563
|
created_at: string;
|
|
3582
3564
|
message: string;
|
|
@@ -3599,19 +3581,19 @@ export interface Routes {
|
|
|
3599
3581
|
created_at: string;
|
|
3600
3582
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3601
3583
|
message: string;
|
|
3602
|
-
|
|
3584
|
+
error_code: 'failed_to_create_on_acs_system';
|
|
3603
3585
|
} | {
|
|
3604
3586
|
/** Date and time at which Seam created the error. */
|
|
3605
3587
|
created_at: string;
|
|
3606
3588
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3607
3589
|
message: string;
|
|
3608
|
-
|
|
3590
|
+
error_code: 'failed_to_update_on_acs_system';
|
|
3609
3591
|
} | {
|
|
3610
3592
|
/** Date and time at which Seam created the error. */
|
|
3611
3593
|
created_at: string;
|
|
3612
3594
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3613
3595
|
message: string;
|
|
3614
|
-
|
|
3596
|
+
error_code: 'failed_to_delete_on_acs_system';
|
|
3615
3597
|
}>;
|
|
3616
3598
|
full_name?: string | undefined;
|
|
3617
3599
|
/**
|
|
@@ -3662,12 +3644,6 @@ export interface Routes {
|
|
|
3662
3644
|
created_at: string;
|
|
3663
3645
|
message: string;
|
|
3664
3646
|
warning_code: 'being_deleted';
|
|
3665
|
-
} | {
|
|
3666
|
-
/** Date and time at which Seam created the error. */
|
|
3667
|
-
created_at: string;
|
|
3668
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3669
|
-
message: string;
|
|
3670
|
-
warning_code: 'failed_to_update_on_acs_system';
|
|
3671
3647
|
} | {
|
|
3672
3648
|
created_at: string;
|
|
3673
3649
|
message: string;
|
|
@@ -3690,19 +3666,19 @@ export interface Routes {
|
|
|
3690
3666
|
created_at: string;
|
|
3691
3667
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3692
3668
|
message: string;
|
|
3693
|
-
|
|
3669
|
+
error_code: 'failed_to_create_on_acs_system';
|
|
3694
3670
|
} | {
|
|
3695
3671
|
/** Date and time at which Seam created the error. */
|
|
3696
3672
|
created_at: string;
|
|
3697
3673
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3698
3674
|
message: string;
|
|
3699
|
-
|
|
3675
|
+
error_code: 'failed_to_update_on_acs_system';
|
|
3700
3676
|
} | {
|
|
3701
3677
|
/** Date and time at which Seam created the error. */
|
|
3702
3678
|
created_at: string;
|
|
3703
3679
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3704
3680
|
message: string;
|
|
3705
|
-
|
|
3681
|
+
error_code: 'failed_to_delete_on_acs_system';
|
|
3706
3682
|
}>;
|
|
3707
3683
|
full_name?: string | undefined;
|
|
3708
3684
|
/**
|
|
@@ -3818,12 +3794,6 @@ export interface Routes {
|
|
|
3818
3794
|
created_at: string;
|
|
3819
3795
|
message: string;
|
|
3820
3796
|
warning_code: 'being_deleted';
|
|
3821
|
-
} | {
|
|
3822
|
-
/** Date and time at which Seam created the error. */
|
|
3823
|
-
created_at: string;
|
|
3824
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3825
|
-
message: string;
|
|
3826
|
-
warning_code: 'failed_to_update_on_acs_system';
|
|
3827
3797
|
} | {
|
|
3828
3798
|
created_at: string;
|
|
3829
3799
|
message: string;
|
|
@@ -3846,19 +3816,19 @@ export interface Routes {
|
|
|
3846
3816
|
created_at: string;
|
|
3847
3817
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3848
3818
|
message: string;
|
|
3849
|
-
|
|
3819
|
+
error_code: 'failed_to_create_on_acs_system';
|
|
3850
3820
|
} | {
|
|
3851
3821
|
/** Date and time at which Seam created the error. */
|
|
3852
3822
|
created_at: string;
|
|
3853
3823
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3854
3824
|
message: string;
|
|
3855
|
-
|
|
3825
|
+
error_code: 'failed_to_update_on_acs_system';
|
|
3856
3826
|
} | {
|
|
3857
3827
|
/** Date and time at which Seam created the error. */
|
|
3858
3828
|
created_at: string;
|
|
3859
3829
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3860
3830
|
message: string;
|
|
3861
|
-
|
|
3831
|
+
error_code: 'failed_to_delete_on_acs_system';
|
|
3862
3832
|
}>;
|
|
3863
3833
|
full_name?: string | undefined;
|
|
3864
3834
|
/**
|
|
@@ -3908,12 +3878,6 @@ export interface Routes {
|
|
|
3908
3878
|
created_at: string;
|
|
3909
3879
|
message: string;
|
|
3910
3880
|
warning_code: 'being_deleted';
|
|
3911
|
-
} | {
|
|
3912
|
-
/** Date and time at which Seam created the error. */
|
|
3913
|
-
created_at: string;
|
|
3914
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3915
|
-
message: string;
|
|
3916
|
-
warning_code: 'failed_to_update_on_acs_system';
|
|
3917
3881
|
} | {
|
|
3918
3882
|
created_at: string;
|
|
3919
3883
|
message: string;
|
|
@@ -3936,19 +3900,19 @@ export interface Routes {
|
|
|
3936
3900
|
created_at: string;
|
|
3937
3901
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3938
3902
|
message: string;
|
|
3939
|
-
|
|
3903
|
+
error_code: 'failed_to_create_on_acs_system';
|
|
3940
3904
|
} | {
|
|
3941
3905
|
/** Date and time at which Seam created the error. */
|
|
3942
3906
|
created_at: string;
|
|
3943
3907
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3944
3908
|
message: string;
|
|
3945
|
-
|
|
3909
|
+
error_code: 'failed_to_update_on_acs_system';
|
|
3946
3910
|
} | {
|
|
3947
3911
|
/** Date and time at which Seam created the error. */
|
|
3948
3912
|
created_at: string;
|
|
3949
3913
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3950
3914
|
message: string;
|
|
3951
|
-
|
|
3915
|
+
error_code: 'failed_to_delete_on_acs_system';
|
|
3952
3916
|
}>;
|
|
3953
3917
|
full_name?: string | undefined;
|
|
3954
3918
|
/**
|
|
@@ -16121,12 +16085,6 @@ export interface Routes {
|
|
|
16121
16085
|
created_at: string;
|
|
16122
16086
|
message: string;
|
|
16123
16087
|
warning_code: 'being_deleted';
|
|
16124
|
-
} | {
|
|
16125
|
-
/** Date and time at which Seam created the error. */
|
|
16126
|
-
created_at: string;
|
|
16127
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
16128
|
-
message: string;
|
|
16129
|
-
warning_code: 'failed_to_update_on_acs_system';
|
|
16130
16088
|
} | {
|
|
16131
16089
|
created_at: string;
|
|
16132
16090
|
message: string;
|
|
@@ -16149,19 +16107,19 @@ export interface Routes {
|
|
|
16149
16107
|
created_at: string;
|
|
16150
16108
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
16151
16109
|
message: string;
|
|
16152
|
-
|
|
16110
|
+
error_code: 'failed_to_create_on_acs_system';
|
|
16153
16111
|
} | {
|
|
16154
16112
|
/** Date and time at which Seam created the error. */
|
|
16155
16113
|
created_at: string;
|
|
16156
16114
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
16157
16115
|
message: string;
|
|
16158
|
-
|
|
16116
|
+
error_code: 'failed_to_update_on_acs_system';
|
|
16159
16117
|
} | {
|
|
16160
16118
|
/** Date and time at which Seam created the error. */
|
|
16161
16119
|
created_at: string;
|
|
16162
16120
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
16163
16121
|
message: string;
|
|
16164
|
-
|
|
16122
|
+
error_code: 'failed_to_delete_on_acs_system';
|
|
16165
16123
|
}>;
|
|
16166
16124
|
full_name?: string | undefined;
|
|
16167
16125
|
/**
|
package/package.json
CHANGED
|
@@ -43,7 +43,7 @@ const acs_users_salto_ks_subscription_limit_exceeded = common_acs_user_error
|
|
|
43
43
|
|
|
44
44
|
const acs_users_failed_to_create_on_acs_system = common_acs_user_error
|
|
45
45
|
.extend({
|
|
46
|
-
|
|
46
|
+
error_code: z.literal('failed_to_create_on_acs_system'),
|
|
47
47
|
})
|
|
48
48
|
.describe(
|
|
49
49
|
`Indicates that the user was not created on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`,
|
|
@@ -51,7 +51,7 @@ const acs_users_failed_to_create_on_acs_system = common_acs_user_error
|
|
|
51
51
|
|
|
52
52
|
const acs_users_failed_to_update_on_acs_system = common_acs_user_error
|
|
53
53
|
.extend({
|
|
54
|
-
|
|
54
|
+
error_code: z.literal('failed_to_update_on_acs_system'),
|
|
55
55
|
})
|
|
56
56
|
.describe(
|
|
57
57
|
`Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`,
|
|
@@ -59,7 +59,7 @@ const acs_users_failed_to_update_on_acs_system = common_acs_user_error
|
|
|
59
59
|
|
|
60
60
|
const acs_users_failed_to_delete_on_acs_system = common_acs_user_error
|
|
61
61
|
.extend({
|
|
62
|
-
|
|
62
|
+
error_code: z.literal('failed_to_delete_on_acs_system'),
|
|
63
63
|
})
|
|
64
64
|
.describe(
|
|
65
65
|
`Indicates that the user was not deleted on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`,
|
|
@@ -121,11 +121,7 @@ export const acs_users_warning_map = z.object({
|
|
|
121
121
|
})
|
|
122
122
|
|
|
123
123
|
export const acs_users_warnings = z
|
|
124
|
-
.union([
|
|
125
|
-
acs_users_being_deleted,
|
|
126
|
-
acs_users_failed_to_update_on_acs_system,
|
|
127
|
-
acs_users_salto_ks_user_not_subscribed,
|
|
128
|
-
])
|
|
124
|
+
.union([acs_users_being_deleted, acs_users_salto_ks_user_not_subscribed])
|
|
129
125
|
.describe('Warning associated with the `acs_user`.')
|
|
130
126
|
|
|
131
127
|
export type AcsUsersWarningMap = z.infer<typeof acs_users_warning_map>
|