@gscdump/contracts 2.0.4 → 2.0.6
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/v1/operations.d.mts
CHANGED
|
@@ -9760,7 +9760,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
9760
9760
|
};
|
|
9761
9761
|
readonly request: {
|
|
9762
9762
|
readonly params: z.ZodObject<{
|
|
9763
|
-
teamId: z.ZodString
|
|
9763
|
+
teamId: z.ZodUnion<readonly [z.ZodString, z.ZodUUID]>;
|
|
9764
9764
|
}, z.core.$strict>;
|
|
9765
9765
|
readonly query: null;
|
|
9766
9766
|
readonly headers: z.ZodObject<{
|
|
@@ -9889,7 +9889,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
9889
9889
|
};
|
|
9890
9890
|
readonly request: {
|
|
9891
9891
|
readonly params: z.ZodObject<{
|
|
9892
|
-
teamId: z.ZodString
|
|
9892
|
+
teamId: z.ZodUnion<readonly [z.ZodString, z.ZodUUID]>;
|
|
9893
9893
|
}, z.core.$strict>;
|
|
9894
9894
|
readonly query: null;
|
|
9895
9895
|
readonly headers: z.ZodObject<{
|
|
@@ -10010,7 +10010,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
10010
10010
|
};
|
|
10011
10011
|
readonly request: {
|
|
10012
10012
|
readonly params: z.ZodObject<{
|
|
10013
|
-
teamId: z.ZodString
|
|
10013
|
+
teamId: z.ZodUnion<readonly [z.ZodString, z.ZodUUID]>;
|
|
10014
10014
|
}, z.core.$strict>;
|
|
10015
10015
|
readonly query: null;
|
|
10016
10016
|
readonly headers: z.ZodObject<{
|
|
@@ -10152,7 +10152,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
10152
10152
|
};
|
|
10153
10153
|
readonly request: {
|
|
10154
10154
|
readonly params: z.ZodObject<{
|
|
10155
|
-
teamId: z.ZodString
|
|
10155
|
+
teamId: z.ZodUnion<readonly [z.ZodString, z.ZodUUID]>;
|
|
10156
10156
|
}, z.core.$strict>;
|
|
10157
10157
|
readonly query: null;
|
|
10158
10158
|
readonly headers: z.ZodObject<{
|
|
@@ -10297,7 +10297,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
10297
10297
|
};
|
|
10298
10298
|
readonly request: {
|
|
10299
10299
|
readonly params: z.ZodObject<{
|
|
10300
|
-
teamId: z.ZodString
|
|
10300
|
+
teamId: z.ZodUnion<readonly [z.ZodString, z.ZodUUID]>;
|
|
10301
10301
|
userId: z.ZodString;
|
|
10302
10302
|
}, z.core.$strict>;
|
|
10303
10303
|
readonly query: null;
|
|
@@ -10446,7 +10446,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
10446
10446
|
};
|
|
10447
10447
|
readonly request: {
|
|
10448
10448
|
readonly params: z.ZodObject<{
|
|
10449
|
-
teamId: z.ZodString
|
|
10449
|
+
teamId: z.ZodUnion<readonly [z.ZodString, z.ZodUUID]>;
|
|
10450
10450
|
userId: z.ZodString;
|
|
10451
10451
|
}, z.core.$strict>;
|
|
10452
10452
|
readonly query: null;
|
|
@@ -10704,7 +10704,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
10704
10704
|
};
|
|
10705
10705
|
readonly request: {
|
|
10706
10706
|
readonly params: z.ZodObject<{
|
|
10707
|
-
teamId: z.ZodString
|
|
10707
|
+
teamId: z.ZodUnion<readonly [z.ZodString, z.ZodUUID]>;
|
|
10708
10708
|
}, z.core.$strict>;
|
|
10709
10709
|
readonly query: null;
|
|
10710
10710
|
readonly headers: z.ZodObject<{
|
|
@@ -10846,7 +10846,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
10846
10846
|
};
|
|
10847
10847
|
readonly request: {
|
|
10848
10848
|
readonly params: z.ZodObject<{
|
|
10849
|
-
teamId: z.ZodString
|
|
10849
|
+
teamId: z.ZodUnion<readonly [z.ZodString, z.ZodUUID]>;
|
|
10850
10850
|
}, z.core.$strict>;
|
|
10851
10851
|
readonly query: null;
|
|
10852
10852
|
readonly headers: z.ZodObject<{
|
package/dist/v1/operations.mjs
CHANGED
|
@@ -30,6 +30,7 @@ function createGscdumpV1Protocol() {
|
|
|
30
30
|
"analytics",
|
|
31
31
|
"realtime"
|
|
32
32
|
]);
|
|
33
|
+
const partnerTeamPathId = z.union([realtimeSchemas.publicTeamId, z.uuid()]);
|
|
33
34
|
const responseMeta = defineResponseObject({
|
|
34
35
|
requestId: realtimeSchemas.publicRequestId,
|
|
35
36
|
surface: surfaceSchema,
|
|
@@ -3024,7 +3025,7 @@ function createGscdumpV1Protocol() {
|
|
|
3024
3025
|
}]
|
|
3025
3026
|
},
|
|
3026
3027
|
request: {
|
|
3027
|
-
params: z.strictObject({ teamId:
|
|
3028
|
+
params: z.strictObject({ teamId: partnerTeamPathId }),
|
|
3028
3029
|
query: null,
|
|
3029
3030
|
headers: requestHeaders,
|
|
3030
3031
|
body: renameTeamRequest
|
|
@@ -3087,7 +3088,7 @@ function createGscdumpV1Protocol() {
|
|
|
3087
3088
|
}]
|
|
3088
3089
|
},
|
|
3089
3090
|
request: {
|
|
3090
|
-
params: z.strictObject({ teamId:
|
|
3091
|
+
params: z.strictObject({ teamId: partnerTeamPathId }),
|
|
3091
3092
|
query: null,
|
|
3092
3093
|
headers: requestHeaders,
|
|
3093
3094
|
body: null
|
|
@@ -3144,7 +3145,7 @@ function createGscdumpV1Protocol() {
|
|
|
3144
3145
|
}]
|
|
3145
3146
|
},
|
|
3146
3147
|
request: {
|
|
3147
|
-
params: z.strictObject({ teamId:
|
|
3148
|
+
params: z.strictObject({ teamId: partnerTeamPathId }),
|
|
3148
3149
|
query: null,
|
|
3149
3150
|
headers: requestHeaders,
|
|
3150
3151
|
body: null
|
|
@@ -3198,7 +3199,7 @@ function createGscdumpV1Protocol() {
|
|
|
3198
3199
|
}]
|
|
3199
3200
|
},
|
|
3200
3201
|
request: {
|
|
3201
|
-
params: z.strictObject({ teamId:
|
|
3202
|
+
params: z.strictObject({ teamId: partnerTeamPathId }),
|
|
3202
3203
|
query: null,
|
|
3203
3204
|
headers: requestHeaders,
|
|
3204
3205
|
body: addTeamMemberRequest
|
|
@@ -3265,7 +3266,7 @@ function createGscdumpV1Protocol() {
|
|
|
3265
3266
|
},
|
|
3266
3267
|
request: {
|
|
3267
3268
|
params: z.strictObject({
|
|
3268
|
-
teamId:
|
|
3269
|
+
teamId: partnerTeamPathId,
|
|
3269
3270
|
userId: realtimeSchemas.publicUserId
|
|
3270
3271
|
}),
|
|
3271
3272
|
query: null,
|
|
@@ -3340,7 +3341,7 @@ function createGscdumpV1Protocol() {
|
|
|
3340
3341
|
},
|
|
3341
3342
|
request: {
|
|
3342
3343
|
params: z.strictObject({
|
|
3343
|
-
teamId:
|
|
3344
|
+
teamId: partnerTeamPathId,
|
|
3344
3345
|
userId: realtimeSchemas.publicUserId
|
|
3345
3346
|
}),
|
|
3346
3347
|
query: null,
|
|
@@ -3471,7 +3472,7 @@ function createGscdumpV1Protocol() {
|
|
|
3471
3472
|
}]
|
|
3472
3473
|
},
|
|
3473
3474
|
request: {
|
|
3474
|
-
params: z.strictObject({ teamId:
|
|
3475
|
+
params: z.strictObject({ teamId: partnerTeamPathId }),
|
|
3475
3476
|
query: null,
|
|
3476
3477
|
headers: requestHeaders,
|
|
3477
3478
|
body: null
|
|
@@ -3535,7 +3536,7 @@ function createGscdumpV1Protocol() {
|
|
|
3535
3536
|
}]
|
|
3536
3537
|
},
|
|
3537
3538
|
request: {
|
|
3538
|
-
params: z.strictObject({ teamId:
|
|
3539
|
+
params: z.strictObject({ teamId: partnerTeamPathId }),
|
|
3539
3540
|
query: null,
|
|
3540
3541
|
headers: requestHeaders,
|
|
3541
3542
|
body: bindTeamCatalogRequest
|