@marcoappio/marco-config 9.0.0 → 10.0.1
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/schemas/index.d.ts +102 -9
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/models/thread.d.ts +102 -9
- package/dist/schemas/models/thread.d.ts.map +1 -1
- package/dist/schemas/models/thread.js +38 -7
- package/dist/sdk/endpoints/private/models/thread/getThread.d.ts +34 -3
- package/dist/sdk/endpoints/private/models/thread/getThread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts +34 -3
- package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts +34 -3
- package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/models/thread/getThreadMessages.d.ts +3 -3
- package/dist/sdk/endpoints/private/mutations/thread/index.d.ts +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/mutations/thread/index.js +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/settleLabelMove.d.ts +44 -0
- package/dist/sdk/endpoints/private/mutations/thread/settleLabelMove.d.ts.map +1 -0
- package/dist/sdk/endpoints/private/mutations/thread/settleLabelMove.js +19 -0
- package/dist/sdk/index.d.ts +12 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/validation/errors.d.ts +24 -0
- package/dist/sdk/validation/errors.d.ts.map +1 -1
- package/dist/sdk/validation/errors.js +10 -0
- package/dist/sdk/validation/index.d.ts +12 -0
- package/dist/sdk/validation/index.d.ts.map +1 -1
- package/dist/types/SDKError.d.ts +1 -1
- package/dist/types/SDKError.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/schemas/index.d.ts
CHANGED
|
@@ -193,18 +193,49 @@ export declare const marcoSchemas: {
|
|
|
193
193
|
}, undefined>;
|
|
194
194
|
labelMoveSchema: import("valibot").VariantSchema<"status", [import("valibot").StrictObjectSchema<{
|
|
195
195
|
readonly canRetry: import("valibot").LiteralSchema<false, undefined>;
|
|
196
|
+
readonly canSettle: import("valibot").LiteralSchema<false, undefined>;
|
|
196
197
|
readonly failureCode: import("valibot").NullSchema<undefined>;
|
|
198
|
+
readonly settledAt: import("valibot").NullSchema<undefined>;
|
|
197
199
|
readonly status: import("valibot").LiteralSchema<"pending", undefined>;
|
|
198
200
|
readonly affectedThreadCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
|
|
199
201
|
readonly mutationToken: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
200
202
|
readonly target: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
201
203
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
202
204
|
readonly canRetry: import("valibot").BooleanSchema<undefined>;
|
|
205
|
+
readonly canSettle: import("valibot").BooleanSchema<undefined>;
|
|
203
206
|
readonly failureCode: import("valibot").PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
207
|
+
readonly settledAt: import("valibot").NullSchema<undefined>;
|
|
204
208
|
readonly status: import("valibot").LiteralSchema<"failed", undefined>;
|
|
205
209
|
readonly affectedThreadCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
|
|
206
210
|
readonly mutationToken: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
207
211
|
readonly target: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
212
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
213
|
+
readonly canRetry: import("valibot").LiteralSchema<false, undefined>;
|
|
214
|
+
readonly canSettle: import("valibot").LiteralSchema<false, undefined>;
|
|
215
|
+
readonly failureCode: import("valibot").PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
216
|
+
readonly settledAt: import("valibot").NullSchema<undefined>;
|
|
217
|
+
readonly status: import("valibot").LiteralSchema<"settling", undefined>;
|
|
218
|
+
readonly affectedThreadCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
|
|
219
|
+
readonly mutationToken: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
220
|
+
readonly target: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
221
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
222
|
+
readonly canRetry: import("valibot").LiteralSchema<false, undefined>;
|
|
223
|
+
readonly canSettle: import("valibot").LiteralSchema<true, undefined>;
|
|
224
|
+
readonly failureCode: import("valibot").PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
225
|
+
readonly settledAt: import("valibot").NullSchema<undefined>;
|
|
226
|
+
readonly status: import("valibot").LiteralSchema<"settlement_failed", undefined>;
|
|
227
|
+
readonly affectedThreadCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
|
|
228
|
+
readonly mutationToken: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
229
|
+
readonly target: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
230
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
231
|
+
readonly canRetry: import("valibot").LiteralSchema<false, undefined>;
|
|
232
|
+
readonly canSettle: import("valibot").LiteralSchema<false, undefined>;
|
|
233
|
+
readonly failureCode: import("valibot").PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
234
|
+
readonly settledAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
235
|
+
readonly status: import("valibot").LiteralSchema<"settled", undefined>;
|
|
236
|
+
readonly affectedThreadCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
|
|
237
|
+
readonly mutationToken: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
238
|
+
readonly target: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
208
239
|
}, undefined>], undefined>;
|
|
209
240
|
threadListSchema: import("valibot").StrictObjectSchema<{
|
|
210
241
|
accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
|
|
@@ -214,28 +245,59 @@ export declare const marcoSchemas: {
|
|
|
214
245
|
labelIdList: import("valibot").StringSchema<undefined>;
|
|
215
246
|
labelMove: import("valibot").NullableSchema<import("valibot").VariantSchema<"status", [import("valibot").StrictObjectSchema<{
|
|
216
247
|
readonly canRetry: import("valibot").LiteralSchema<false, undefined>;
|
|
248
|
+
readonly canSettle: import("valibot").LiteralSchema<false, undefined>;
|
|
217
249
|
readonly failureCode: import("valibot").NullSchema<undefined>;
|
|
250
|
+
readonly settledAt: import("valibot").NullSchema<undefined>;
|
|
218
251
|
readonly status: import("valibot").LiteralSchema<"pending", undefined>;
|
|
219
252
|
readonly affectedThreadCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
|
|
220
253
|
readonly mutationToken: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
221
254
|
readonly target: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
222
255
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
223
256
|
readonly canRetry: import("valibot").BooleanSchema<undefined>;
|
|
257
|
+
readonly canSettle: import("valibot").BooleanSchema<undefined>;
|
|
224
258
|
readonly failureCode: import("valibot").PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
259
|
+
readonly settledAt: import("valibot").NullSchema<undefined>;
|
|
225
260
|
readonly status: import("valibot").LiteralSchema<"failed", undefined>;
|
|
226
261
|
readonly affectedThreadCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
|
|
227
262
|
readonly mutationToken: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
228
263
|
readonly target: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
264
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
265
|
+
readonly canRetry: import("valibot").LiteralSchema<false, undefined>;
|
|
266
|
+
readonly canSettle: import("valibot").LiteralSchema<false, undefined>;
|
|
267
|
+
readonly failureCode: import("valibot").PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
268
|
+
readonly settledAt: import("valibot").NullSchema<undefined>;
|
|
269
|
+
readonly status: import("valibot").LiteralSchema<"settling", undefined>;
|
|
270
|
+
readonly affectedThreadCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
|
|
271
|
+
readonly mutationToken: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
272
|
+
readonly target: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
273
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
274
|
+
readonly canRetry: import("valibot").LiteralSchema<false, undefined>;
|
|
275
|
+
readonly canSettle: import("valibot").LiteralSchema<true, undefined>;
|
|
276
|
+
readonly failureCode: import("valibot").PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
277
|
+
readonly settledAt: import("valibot").NullSchema<undefined>;
|
|
278
|
+
readonly status: import("valibot").LiteralSchema<"settlement_failed", undefined>;
|
|
279
|
+
readonly affectedThreadCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
|
|
280
|
+
readonly mutationToken: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
281
|
+
readonly target: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
282
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
283
|
+
readonly canRetry: import("valibot").LiteralSchema<false, undefined>;
|
|
284
|
+
readonly canSettle: import("valibot").LiteralSchema<false, undefined>;
|
|
285
|
+
readonly failureCode: import("valibot").PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
286
|
+
readonly settledAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
287
|
+
readonly status: import("valibot").LiteralSchema<"settled", undefined>;
|
|
288
|
+
readonly affectedThreadCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
|
|
289
|
+
readonly mutationToken: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
290
|
+
readonly target: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
229
291
|
}, undefined>], undefined>, undefined>;
|
|
230
292
|
latestMessageDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
231
293
|
latestMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
|
|
232
294
|
messageCount: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
233
|
-
previewText: import("valibot").
|
|
295
|
+
previewText: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>;
|
|
234
296
|
seen: import("valibot").BooleanSchema<undefined>;
|
|
235
297
|
senderEmail: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
236
|
-
senderName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
298
|
+
senderName: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"", undefined>, import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
237
299
|
snoozedUntil: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
238
|
-
subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
300
|
+
subject: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"", undefined>, import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
239
301
|
userId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
|
|
240
302
|
words: import("valibot").StringSchema<undefined>;
|
|
241
303
|
}, undefined>;
|
|
@@ -256,11 +318,11 @@ export declare const marcoSchemas: {
|
|
|
256
318
|
threadMessageSchema: import("valibot").ObjectSchema<{
|
|
257
319
|
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "AccountId">]>, undefined>;
|
|
258
320
|
readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
259
|
-
readonly envelopeSubject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
321
|
+
readonly envelopeSubject: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"", undefined>, import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
260
322
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
|
|
261
|
-
readonly previewText: import("valibot").
|
|
323
|
+
readonly previewText: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>;
|
|
262
324
|
readonly senderEmail: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
263
|
-
readonly senderName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
325
|
+
readonly senderName: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"", undefined>, import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
264
326
|
readonly threadId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "ThreadId">]>, undefined>;
|
|
265
327
|
readonly unsubscribeUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
266
328
|
}, undefined>;
|
|
@@ -272,28 +334,59 @@ export declare const marcoSchemas: {
|
|
|
272
334
|
labelIdList: import("valibot").StringSchema<undefined>;
|
|
273
335
|
labelMove: import("valibot").NullableSchema<import("valibot").VariantSchema<"status", [import("valibot").StrictObjectSchema<{
|
|
274
336
|
readonly canRetry: import("valibot").LiteralSchema<false, undefined>;
|
|
337
|
+
readonly canSettle: import("valibot").LiteralSchema<false, undefined>;
|
|
275
338
|
readonly failureCode: import("valibot").NullSchema<undefined>;
|
|
339
|
+
readonly settledAt: import("valibot").NullSchema<undefined>;
|
|
276
340
|
readonly status: import("valibot").LiteralSchema<"pending", undefined>;
|
|
277
341
|
readonly affectedThreadCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
|
|
278
342
|
readonly mutationToken: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
279
343
|
readonly target: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
280
344
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
281
345
|
readonly canRetry: import("valibot").BooleanSchema<undefined>;
|
|
346
|
+
readonly canSettle: import("valibot").BooleanSchema<undefined>;
|
|
282
347
|
readonly failureCode: import("valibot").PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
348
|
+
readonly settledAt: import("valibot").NullSchema<undefined>;
|
|
283
349
|
readonly status: import("valibot").LiteralSchema<"failed", undefined>;
|
|
284
350
|
readonly affectedThreadCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
|
|
285
351
|
readonly mutationToken: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
286
352
|
readonly target: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
353
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
354
|
+
readonly canRetry: import("valibot").LiteralSchema<false, undefined>;
|
|
355
|
+
readonly canSettle: import("valibot").LiteralSchema<false, undefined>;
|
|
356
|
+
readonly failureCode: import("valibot").PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
357
|
+
readonly settledAt: import("valibot").NullSchema<undefined>;
|
|
358
|
+
readonly status: import("valibot").LiteralSchema<"settling", undefined>;
|
|
359
|
+
readonly affectedThreadCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
|
|
360
|
+
readonly mutationToken: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
361
|
+
readonly target: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
362
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
363
|
+
readonly canRetry: import("valibot").LiteralSchema<false, undefined>;
|
|
364
|
+
readonly canSettle: import("valibot").LiteralSchema<true, undefined>;
|
|
365
|
+
readonly failureCode: import("valibot").PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
366
|
+
readonly settledAt: import("valibot").NullSchema<undefined>;
|
|
367
|
+
readonly status: import("valibot").LiteralSchema<"settlement_failed", undefined>;
|
|
368
|
+
readonly affectedThreadCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
|
|
369
|
+
readonly mutationToken: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
370
|
+
readonly target: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
371
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
372
|
+
readonly canRetry: import("valibot").LiteralSchema<false, undefined>;
|
|
373
|
+
readonly canSettle: import("valibot").LiteralSchema<false, undefined>;
|
|
374
|
+
readonly failureCode: import("valibot").PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
375
|
+
readonly settledAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
376
|
+
readonly status: import("valibot").LiteralSchema<"settled", undefined>;
|
|
377
|
+
readonly affectedThreadCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>;
|
|
378
|
+
readonly mutationToken: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
|
|
379
|
+
readonly target: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
287
380
|
}, undefined>], undefined>, undefined>;
|
|
288
381
|
latestMessageDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
289
382
|
latestMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "MessageId">]>, undefined>;
|
|
290
383
|
messageCount: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
291
|
-
previewText: import("valibot").
|
|
384
|
+
previewText: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>;
|
|
292
385
|
seen: import("valibot").BooleanSchema<undefined>;
|
|
293
386
|
senderEmail: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
294
|
-
senderName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
387
|
+
senderName: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"", undefined>, import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
295
388
|
snoozedUntil: import("valibot").NullableSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
296
|
-
subject: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
389
|
+
subject: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"", undefined>, import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
297
390
|
userId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>, import("valibot").BrandAction<string, "UserId">]>, undefined>;
|
|
298
391
|
words: import("valibot").StringSchema<undefined>;
|
|
299
392
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AA+BA,YAAY,EACV,SAAS,EACT,OAAO,EACP,YAAY,EACZ,SAAS,EACT,OAAO,EACP,OAAO,EACP,SAAS,EACT,uBAAuB,EACvB,WAAW,EACX,QAAQ,EACR,MAAM,EACN,MAAM,GACP,MAAM,MAAM,CAAA;AACb,YAAY,EACV,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,KAAK,EACL,eAAe,EACf,SAAS,EACT,SAAS,EACT,MAAM,EACN,aAAa,EACb,uBAAuB,EACvB,sBAAsB,EACtB,IAAI,EACJ,yBAAyB,EACzB,QAAQ,GACT,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE3C,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AA+BA,YAAY,EACV,SAAS,EACT,OAAO,EACP,YAAY,EACZ,SAAS,EACT,OAAO,EACP,OAAO,EACP,SAAS,EACT,uBAAuB,EACvB,WAAW,EACX,QAAQ,EACR,MAAM,EACN,MAAM,GACP,MAAM,MAAM,CAAA;AACb,YAAY,EACV,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,KAAK,EACL,eAAe,EACf,SAAS,EACT,SAAS,EACT,MAAM,EACN,aAAa,EACb,uBAAuB,EACvB,sBAAsB,EACtB,IAAI,EACJ,yBAAyB,EACzB,QAAQ,GACT,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BxB,CAAA"}
|
|
@@ -16,29 +16,60 @@ export declare const threadMessageRecipientSchema: v.ObjectSchema<{
|
|
|
16
16
|
export declare const threadMessageSchema: v.ObjectSchema<{
|
|
17
17
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
18
18
|
readonly envelopeDate: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
19
|
-
readonly envelopeSubject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
19
|
+
readonly envelopeSubject: v.UnionSchema<[v.LiteralSchema<"", undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
20
20
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>;
|
|
21
|
-
readonly previewText: v.
|
|
21
|
+
readonly previewText: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
22
22
|
readonly senderEmail: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
23
|
-
readonly senderName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
23
|
+
readonly senderName: v.UnionSchema<[v.LiteralSchema<"", undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
24
24
|
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>;
|
|
25
25
|
readonly unsubscribeUrl: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
26
26
|
}, undefined>;
|
|
27
27
|
export declare const labelMoveMutationTokenSchema: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
28
28
|
export declare const labelMoveSchema: v.VariantSchema<"status", [v.StrictObjectSchema<{
|
|
29
29
|
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
30
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
30
31
|
readonly failureCode: v.NullSchema<undefined>;
|
|
32
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
31
33
|
readonly status: v.LiteralSchema<"pending", undefined>;
|
|
32
34
|
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
33
35
|
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
34
36
|
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
35
37
|
}, undefined>, v.StrictObjectSchema<{
|
|
36
38
|
readonly canRetry: v.BooleanSchema<undefined>;
|
|
39
|
+
readonly canSettle: v.BooleanSchema<undefined>;
|
|
37
40
|
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
41
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
38
42
|
readonly status: v.LiteralSchema<"failed", undefined>;
|
|
39
43
|
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
40
44
|
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
41
45
|
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
46
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
47
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
48
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
49
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
50
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
51
|
+
readonly status: v.LiteralSchema<"settling", undefined>;
|
|
52
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
53
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
54
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
55
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
56
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
57
|
+
readonly canSettle: v.LiteralSchema<true, undefined>;
|
|
58
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
59
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
60
|
+
readonly status: v.LiteralSchema<"settlement_failed", undefined>;
|
|
61
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
62
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
63
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
64
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
65
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
66
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
67
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
68
|
+
readonly settledAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
69
|
+
readonly status: v.LiteralSchema<"settled", undefined>;
|
|
70
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
71
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
72
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
42
73
|
}, undefined>], undefined>;
|
|
43
74
|
export type LabelMove = v.InferOutput<typeof labelMoveSchema>;
|
|
44
75
|
export declare const threadSchema: v.StrictObjectSchema<{
|
|
@@ -49,28 +80,59 @@ export declare const threadSchema: v.StrictObjectSchema<{
|
|
|
49
80
|
labelIdList: v.StringSchema<undefined>;
|
|
50
81
|
labelMove: v.NullableSchema<v.VariantSchema<"status", [v.StrictObjectSchema<{
|
|
51
82
|
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
83
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
52
84
|
readonly failureCode: v.NullSchema<undefined>;
|
|
85
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
53
86
|
readonly status: v.LiteralSchema<"pending", undefined>;
|
|
54
87
|
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
55
88
|
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
56
89
|
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
57
90
|
}, undefined>, v.StrictObjectSchema<{
|
|
58
91
|
readonly canRetry: v.BooleanSchema<undefined>;
|
|
92
|
+
readonly canSettle: v.BooleanSchema<undefined>;
|
|
59
93
|
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
94
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
60
95
|
readonly status: v.LiteralSchema<"failed", undefined>;
|
|
61
96
|
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
62
97
|
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
63
98
|
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
99
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
100
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
101
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
102
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
103
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
104
|
+
readonly status: v.LiteralSchema<"settling", undefined>;
|
|
105
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
106
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
107
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
108
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
109
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
110
|
+
readonly canSettle: v.LiteralSchema<true, undefined>;
|
|
111
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
112
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
113
|
+
readonly status: v.LiteralSchema<"settlement_failed", undefined>;
|
|
114
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
115
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
116
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
117
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
118
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
119
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
120
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
121
|
+
readonly settledAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
122
|
+
readonly status: v.LiteralSchema<"settled", undefined>;
|
|
123
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
124
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
125
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
64
126
|
}, undefined>], undefined>, undefined>;
|
|
65
127
|
latestMessageDate: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
66
128
|
latestMessageId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>;
|
|
67
129
|
messageCount: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
68
|
-
previewText: v.
|
|
130
|
+
previewText: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
69
131
|
seen: v.BooleanSchema<undefined>;
|
|
70
132
|
senderEmail: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
71
|
-
senderName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
133
|
+
senderName: v.UnionSchema<[v.LiteralSchema<"", undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
72
134
|
snoozedUntil: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
73
|
-
subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
135
|
+
subject: v.UnionSchema<[v.LiteralSchema<"", undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
74
136
|
userId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "UserId">]>, undefined>;
|
|
75
137
|
words: v.StringSchema<undefined>;
|
|
76
138
|
}, undefined>;
|
|
@@ -82,28 +144,59 @@ export declare const threadListSchema: v.StrictObjectSchema<{
|
|
|
82
144
|
labelIdList: v.StringSchema<undefined>;
|
|
83
145
|
labelMove: v.NullableSchema<v.VariantSchema<"status", [v.StrictObjectSchema<{
|
|
84
146
|
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
147
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
85
148
|
readonly failureCode: v.NullSchema<undefined>;
|
|
149
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
86
150
|
readonly status: v.LiteralSchema<"pending", undefined>;
|
|
87
151
|
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
88
152
|
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
89
153
|
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
90
154
|
}, undefined>, v.StrictObjectSchema<{
|
|
91
155
|
readonly canRetry: v.BooleanSchema<undefined>;
|
|
156
|
+
readonly canSettle: v.BooleanSchema<undefined>;
|
|
92
157
|
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
158
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
93
159
|
readonly status: v.LiteralSchema<"failed", undefined>;
|
|
94
160
|
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
95
161
|
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
96
162
|
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
163
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
164
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
165
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
166
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
167
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
168
|
+
readonly status: v.LiteralSchema<"settling", undefined>;
|
|
169
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
170
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
171
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
172
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
173
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
174
|
+
readonly canSettle: v.LiteralSchema<true, undefined>;
|
|
175
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
176
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
177
|
+
readonly status: v.LiteralSchema<"settlement_failed", undefined>;
|
|
178
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
179
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
180
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
181
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
182
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
183
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
184
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
185
|
+
readonly settledAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
186
|
+
readonly status: v.LiteralSchema<"settled", undefined>;
|
|
187
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
188
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
189
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
97
190
|
}, undefined>], undefined>, undefined>;
|
|
98
191
|
latestMessageDate: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
99
192
|
latestMessageId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>;
|
|
100
193
|
messageCount: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
101
|
-
previewText: v.
|
|
194
|
+
previewText: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
102
195
|
seen: v.BooleanSchema<undefined>;
|
|
103
196
|
senderEmail: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
104
|
-
senderName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
197
|
+
senderName: v.UnionSchema<[v.LiteralSchema<"", undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
105
198
|
snoozedUntil: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
106
|
-
subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
199
|
+
subject: v.UnionSchema<[v.LiteralSchema<"", undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
107
200
|
userId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "UserId">]>, undefined>;
|
|
108
201
|
words: v.StringSchema<undefined>;
|
|
109
202
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../src/schemas/models/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../src/schemas/models/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,6BAA6B;;;;;;aAMxC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;aAMvC,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;aAU9B,CAAA;AAEF,eAAO,MAAM,4BAA4B,yFAA+B,CAAA;AASxE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAyC1B,CAAA;AAEF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,CAAA;AAsB7D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAAoC,CAAA;AAE7D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAAe,CAAA;AAE5C,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,YAAY,CAAC,CAAA;AACvD,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,gBAAgB,CAAC,CAAA;AACnE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,mBAAmB,CAAC,CAAA;AACrE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,6BAA6B,CAAC,CAAA;AACzF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,4BAA4B,CAAC,CAAA"}
|
|
@@ -4,6 +4,8 @@ import { id } from '../../schemas/id';
|
|
|
4
4
|
import { number } from '../../schemas/number';
|
|
5
5
|
import { string } from '../../schemas/string';
|
|
6
6
|
import { MESSAGE_RECIPIENT_TYPES } from '../../types';
|
|
7
|
+
const previewTextSchema = v.pipe(v.string(), v.maxLength(messages.PREVIEW_TEXT_MAX_LENGTH));
|
|
8
|
+
const nullableDisplayTextSchema = v.union([v.literal(''), string.nullable()]);
|
|
7
9
|
export const threadMessageAttachmentSchema = v.object({
|
|
8
10
|
fileName: string.required(),
|
|
9
11
|
id: id.attachmentId.required(),
|
|
@@ -21,15 +23,16 @@ export const threadMessageRecipientSchema = v.object({
|
|
|
21
23
|
export const threadMessageSchema = v.object({
|
|
22
24
|
accountId: id.accountId.required(),
|
|
23
25
|
envelopeDate: number.positiveInteger(),
|
|
24
|
-
envelopeSubject:
|
|
26
|
+
envelopeSubject: nullableDisplayTextSchema,
|
|
25
27
|
id: id.messageId.required(),
|
|
26
|
-
previewText:
|
|
28
|
+
previewText: previewTextSchema,
|
|
27
29
|
senderEmail: string.required(),
|
|
28
|
-
senderName:
|
|
30
|
+
senderName: nullableDisplayTextSchema,
|
|
29
31
|
threadId: id.threadId.required(),
|
|
30
32
|
unsubscribeUrl: string.nullable(),
|
|
31
33
|
});
|
|
32
34
|
export const labelMoveMutationTokenSchema = v.pipe(v.string(), v.uuid());
|
|
35
|
+
const labelMoveFailureCodeSchema = v.picklist(['MOVE_RECONCILIATION_FAILED', 'MOVE_RECOVERY_UNAVAILABLE']);
|
|
33
36
|
const labelMoveEntries = {
|
|
34
37
|
affectedThreadCount: v.pipe(number.positiveInteger(), v.minValue(1)),
|
|
35
38
|
mutationToken: labelMoveMutationTokenSchema,
|
|
@@ -39,15 +42,43 @@ export const labelMoveSchema = v.variant('status', [
|
|
|
39
42
|
v.strictObject({
|
|
40
43
|
...labelMoveEntries,
|
|
41
44
|
canRetry: v.literal(false),
|
|
45
|
+
canSettle: v.literal(false),
|
|
42
46
|
failureCode: v.null(),
|
|
47
|
+
settledAt: v.null(),
|
|
43
48
|
status: v.literal('pending'),
|
|
44
49
|
}),
|
|
45
50
|
v.strictObject({
|
|
46
51
|
...labelMoveEntries,
|
|
47
52
|
canRetry: v.boolean(),
|
|
48
|
-
|
|
53
|
+
canSettle: v.boolean(),
|
|
54
|
+
failureCode: labelMoveFailureCodeSchema,
|
|
55
|
+
settledAt: v.null(),
|
|
49
56
|
status: v.literal('failed'),
|
|
50
57
|
}),
|
|
58
|
+
v.strictObject({
|
|
59
|
+
...labelMoveEntries,
|
|
60
|
+
canRetry: v.literal(false),
|
|
61
|
+
canSettle: v.literal(false),
|
|
62
|
+
failureCode: labelMoveFailureCodeSchema,
|
|
63
|
+
settledAt: v.null(),
|
|
64
|
+
status: v.literal('settling'),
|
|
65
|
+
}),
|
|
66
|
+
v.strictObject({
|
|
67
|
+
...labelMoveEntries,
|
|
68
|
+
canRetry: v.literal(false),
|
|
69
|
+
canSettle: v.literal(true),
|
|
70
|
+
failureCode: labelMoveFailureCodeSchema,
|
|
71
|
+
settledAt: v.null(),
|
|
72
|
+
status: v.literal('settlement_failed'),
|
|
73
|
+
}),
|
|
74
|
+
v.strictObject({
|
|
75
|
+
...labelMoveEntries,
|
|
76
|
+
canRetry: v.literal(false),
|
|
77
|
+
canSettle: v.literal(false),
|
|
78
|
+
failureCode: labelMoveFailureCodeSchema,
|
|
79
|
+
settledAt: number.positiveInteger(),
|
|
80
|
+
status: v.literal('settled'),
|
|
81
|
+
}),
|
|
51
82
|
]);
|
|
52
83
|
const threadBaseEntries = {
|
|
53
84
|
accountId: id.accountId.required(),
|
|
@@ -59,12 +90,12 @@ const threadBaseEntries = {
|
|
|
59
90
|
latestMessageDate: number.positiveInteger(),
|
|
60
91
|
latestMessageId: id.messageId.required(),
|
|
61
92
|
messageCount: number.positiveInteger(),
|
|
62
|
-
previewText:
|
|
93
|
+
previewText: previewTextSchema,
|
|
63
94
|
seen: v.boolean(),
|
|
64
95
|
senderEmail: string.required(),
|
|
65
|
-
senderName:
|
|
96
|
+
senderName: nullableDisplayTextSchema,
|
|
66
97
|
snoozedUntil: v.nullable(number.positiveInteger()),
|
|
67
|
-
subject:
|
|
98
|
+
subject: nullableDisplayTextSchema,
|
|
68
99
|
userId: id.userId.required(),
|
|
69
100
|
words: v.string(),
|
|
70
101
|
};
|
|
@@ -23,28 +23,59 @@ export declare const getThread: import("../../../../..").EndpointConfig<"/v1/pv/
|
|
|
23
23
|
labelIdList: v.StringSchema<undefined>;
|
|
24
24
|
labelMove: v.NullableSchema<v.VariantSchema<"status", [v.StrictObjectSchema<{
|
|
25
25
|
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
26
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
26
27
|
readonly failureCode: v.NullSchema<undefined>;
|
|
28
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
27
29
|
readonly status: v.LiteralSchema<"pending", undefined>;
|
|
28
30
|
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
29
31
|
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
30
32
|
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
31
33
|
}, undefined>, v.StrictObjectSchema<{
|
|
32
34
|
readonly canRetry: v.BooleanSchema<undefined>;
|
|
35
|
+
readonly canSettle: v.BooleanSchema<undefined>;
|
|
33
36
|
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
37
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
34
38
|
readonly status: v.LiteralSchema<"failed", undefined>;
|
|
35
39
|
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
36
40
|
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
37
41
|
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
42
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
43
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
44
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
45
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
46
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
47
|
+
readonly status: v.LiteralSchema<"settling", undefined>;
|
|
48
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
49
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
50
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
51
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
52
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
53
|
+
readonly canSettle: v.LiteralSchema<true, undefined>;
|
|
54
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
55
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
56
|
+
readonly status: v.LiteralSchema<"settlement_failed", undefined>;
|
|
57
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
58
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
59
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
60
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
61
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
62
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
63
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
64
|
+
readonly settledAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
65
|
+
readonly status: v.LiteralSchema<"settled", undefined>;
|
|
66
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
67
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
68
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
38
69
|
}, undefined>], undefined>, undefined>;
|
|
39
70
|
latestMessageDate: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
40
71
|
latestMessageId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>;
|
|
41
72
|
messageCount: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
42
|
-
previewText: v.
|
|
73
|
+
previewText: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
43
74
|
seen: v.BooleanSchema<undefined>;
|
|
44
75
|
senderEmail: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
45
|
-
senderName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
76
|
+
senderName: v.UnionSchema<[v.LiteralSchema<"", undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
46
77
|
snoozedUntil: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
47
|
-
subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
78
|
+
subject: v.UnionSchema<[v.LiteralSchema<"", undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
48
79
|
userId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "UserId">]>, undefined>;
|
|
49
80
|
words: v.StringSchema<undefined>;
|
|
50
81
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"getThread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAYpB,CAAA"}
|
|
@@ -23,28 +23,59 @@ export declare const getThreadByMessageId: import("../../../../..").EndpointConf
|
|
|
23
23
|
labelIdList: v.StringSchema<undefined>;
|
|
24
24
|
labelMove: v.NullableSchema<v.VariantSchema<"status", [v.StrictObjectSchema<{
|
|
25
25
|
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
26
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
26
27
|
readonly failureCode: v.NullSchema<undefined>;
|
|
28
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
27
29
|
readonly status: v.LiteralSchema<"pending", undefined>;
|
|
28
30
|
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
29
31
|
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
30
32
|
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
31
33
|
}, undefined>, v.StrictObjectSchema<{
|
|
32
34
|
readonly canRetry: v.BooleanSchema<undefined>;
|
|
35
|
+
readonly canSettle: v.BooleanSchema<undefined>;
|
|
33
36
|
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
37
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
34
38
|
readonly status: v.LiteralSchema<"failed", undefined>;
|
|
35
39
|
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
36
40
|
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
37
41
|
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
42
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
43
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
44
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
45
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
46
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
47
|
+
readonly status: v.LiteralSchema<"settling", undefined>;
|
|
48
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
49
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
50
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
51
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
52
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
53
|
+
readonly canSettle: v.LiteralSchema<true, undefined>;
|
|
54
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
55
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
56
|
+
readonly status: v.LiteralSchema<"settlement_failed", undefined>;
|
|
57
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
58
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
59
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
60
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
61
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
62
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
63
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
64
|
+
readonly settledAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
65
|
+
readonly status: v.LiteralSchema<"settled", undefined>;
|
|
66
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
67
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
68
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
38
69
|
}, undefined>], undefined>, undefined>;
|
|
39
70
|
latestMessageDate: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
40
71
|
latestMessageId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>;
|
|
41
72
|
messageCount: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
42
|
-
previewText: v.
|
|
73
|
+
previewText: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
43
74
|
seen: v.BooleanSchema<undefined>;
|
|
44
75
|
senderEmail: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
45
|
-
senderName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
76
|
+
senderName: v.UnionSchema<[v.LiteralSchema<"", undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
46
77
|
snoozedUntil: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
47
|
-
subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
78
|
+
subject: v.UnionSchema<[v.LiteralSchema<"", undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
48
79
|
userId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "UserId">]>, undefined>;
|
|
49
80
|
words: v.StringSchema<undefined>;
|
|
50
81
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThreadByMessageId.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThreadByMessageId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"getThreadByMessageId.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThreadByMessageId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAY/B,CAAA"}
|
|
@@ -62,28 +62,59 @@ export declare const getThreadList: import("../../../../..").EndpointConfig<"/v1
|
|
|
62
62
|
labelIdList: v.StringSchema<undefined>;
|
|
63
63
|
labelMove: v.NullableSchema<v.VariantSchema<"status", [v.StrictObjectSchema<{
|
|
64
64
|
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
65
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
65
66
|
readonly failureCode: v.NullSchema<undefined>;
|
|
67
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
66
68
|
readonly status: v.LiteralSchema<"pending", undefined>;
|
|
67
69
|
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
68
70
|
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
69
71
|
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
70
72
|
}, undefined>, v.StrictObjectSchema<{
|
|
71
73
|
readonly canRetry: v.BooleanSchema<undefined>;
|
|
74
|
+
readonly canSettle: v.BooleanSchema<undefined>;
|
|
72
75
|
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
76
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
73
77
|
readonly status: v.LiteralSchema<"failed", undefined>;
|
|
74
78
|
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
75
79
|
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
76
80
|
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
81
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
82
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
83
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
84
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
85
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
86
|
+
readonly status: v.LiteralSchema<"settling", undefined>;
|
|
87
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
88
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
89
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
90
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
91
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
92
|
+
readonly canSettle: v.LiteralSchema<true, undefined>;
|
|
93
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
94
|
+
readonly settledAt: v.NullSchema<undefined>;
|
|
95
|
+
readonly status: v.LiteralSchema<"settlement_failed", undefined>;
|
|
96
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
97
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
98
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
99
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
100
|
+
readonly canRetry: v.LiteralSchema<false, undefined>;
|
|
101
|
+
readonly canSettle: v.LiteralSchema<false, undefined>;
|
|
102
|
+
readonly failureCode: v.PicklistSchema<["MOVE_RECONCILIATION_FAILED", "MOVE_RECOVERY_UNAVAILABLE"], undefined>;
|
|
103
|
+
readonly settledAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
104
|
+
readonly status: v.LiteralSchema<"settled", undefined>;
|
|
105
|
+
readonly affectedThreadCount: v.SchemaWithPipe<readonly [v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
106
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
107
|
+
readonly target: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
77
108
|
}, undefined>], undefined>, undefined>;
|
|
78
109
|
latestMessageDate: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
79
110
|
latestMessageId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>;
|
|
80
111
|
messageCount: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
81
|
-
previewText: v.
|
|
112
|
+
previewText: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
82
113
|
seen: v.BooleanSchema<undefined>;
|
|
83
114
|
senderEmail: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
84
|
-
senderName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
115
|
+
senderName: v.UnionSchema<[v.LiteralSchema<"", undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
85
116
|
snoozedUntil: v.NullableSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
86
|
-
subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
117
|
+
subject: v.UnionSchema<[v.LiteralSchema<"", undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
87
118
|
userId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "UserId">]>, undefined>;
|
|
88
119
|
words: v.StringSchema<undefined>;
|
|
89
120
|
}, undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThreadList.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThreadList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA4C5B,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"getThreadList.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/thread/getThreadList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA4C5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAaxB,CAAA"}
|
|
@@ -32,11 +32,11 @@ export declare const getThreadMessages: import("../../../../..").EndpointConfig<
|
|
|
32
32
|
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
33
33
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
|
|
34
34
|
readonly envelopeDate: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
35
|
-
readonly envelopeSubject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
35
|
+
readonly envelopeSubject: v.UnionSchema<[v.LiteralSchema<"", undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
36
36
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "MessageId">]>, undefined>;
|
|
37
|
-
readonly previewText: v.
|
|
37
|
+
readonly previewText: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
38
38
|
readonly senderEmail: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
39
|
-
readonly senderName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
39
|
+
readonly senderName: v.UnionSchema<[v.LiteralSchema<"", undefined>, v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>], undefined>;
|
|
40
40
|
readonly threadId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "ThreadId">]>, undefined>;
|
|
41
41
|
readonly unsubscribeUrl: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
42
42
|
}, undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/thread/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const settleLabelMove: import("../../../../..").EndpointConfig<"/v1/pv/models/thread/:threadId/settle-label-move", v.StrictObjectSchema<{
|
|
3
|
+
readonly mutationToken: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UuidAction<string, undefined>]>;
|
|
4
|
+
}, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
5
|
+
readonly data: v.ObjectSchema<{
|
|
6
|
+
readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
|
|
7
|
+
}, undefined>;
|
|
8
|
+
readonly status: v.LiteralSchema<401, undefined>;
|
|
9
|
+
}, undefined>, v.ObjectSchema<{
|
|
10
|
+
readonly data: v.ObjectSchema<{
|
|
11
|
+
readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
|
|
12
|
+
}, undefined>;
|
|
13
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
14
|
+
}, undefined>, v.ObjectSchema<{
|
|
15
|
+
readonly data: v.ObjectSchema<{
|
|
16
|
+
readonly code: v.LiteralSchema<"THREAD_NOT_FOUND", undefined>;
|
|
17
|
+
}, undefined>;
|
|
18
|
+
readonly status: v.LiteralSchema<404, undefined>;
|
|
19
|
+
}, undefined>, v.ObjectSchema<{
|
|
20
|
+
readonly data: v.ObjectSchema<{
|
|
21
|
+
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
22
|
+
readonly issues: v.ObjectSchema<{
|
|
23
|
+
readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
|
|
24
|
+
readonly other: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
25
|
+
readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
26
|
+
}, undefined>;
|
|
27
|
+
}, undefined>;
|
|
28
|
+
readonly status: v.LiteralSchema<400, undefined>;
|
|
29
|
+
}, undefined>, v.ObjectSchema<{
|
|
30
|
+
readonly data: v.ObjectSchema<{
|
|
31
|
+
readonly code: v.PicklistSchema<["MOVE_INTENT_STALE", "MOVE_STILL_ACTIVE"], undefined>;
|
|
32
|
+
}, undefined>;
|
|
33
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
34
|
+
}, undefined>, v.ObjectSchema<{
|
|
35
|
+
readonly data: v.ObjectSchema<{
|
|
36
|
+
readonly code: v.LiteralSchema<"MOVE_EVIDENCE_UNAVAILABLE", undefined>;
|
|
37
|
+
}, undefined>;
|
|
38
|
+
readonly status: v.LiteralSchema<503, undefined>;
|
|
39
|
+
}, undefined>, v.ObjectSchema<{
|
|
40
|
+
readonly status: v.LiteralSchema<200, undefined>;
|
|
41
|
+
}, undefined>, v.ObjectSchema<{
|
|
42
|
+
readonly status: v.LiteralSchema<202, undefined>;
|
|
43
|
+
}, undefined>], undefined>>;
|
|
44
|
+
//# sourceMappingURL=settleLabelMove.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settleLabelMove.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/thread/settleLabelMove.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAc1B,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
import { labelMoveMutationTokenSchema } from '../../../../../schemas/models/thread';
|
|
3
|
+
import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
|
|
4
|
+
import { errors } from '../../../../../sdk/validation/errors';
|
|
5
|
+
export const settleLabelMove = createEndpoint({
|
|
6
|
+
body: v.strictObject({ mutationToken: labelMoveMutationTokenSchema }),
|
|
7
|
+
method: 'POST',
|
|
8
|
+
path: '/v1/pv/models/thread/:threadId/settle-label-move',
|
|
9
|
+
response: v.union([
|
|
10
|
+
errors.authFailedErrorSchema,
|
|
11
|
+
errors.userNotFoundErrorSchema,
|
|
12
|
+
errors.threadNotFoundErrorSchema,
|
|
13
|
+
errors.validationFailedErrorSchema,
|
|
14
|
+
errors.labelMoveConflictErrorSchema,
|
|
15
|
+
errors.labelMoveEvidenceUnavailableErrorSchema,
|
|
16
|
+
v.object({ status: v.literal(200) }),
|
|
17
|
+
v.object({ status: v.literal(202) }),
|
|
18
|
+
]),
|
|
19
|
+
});
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -505,6 +505,18 @@ export declare const marcoSDK: {
|
|
|
505
505
|
}, undefined>;
|
|
506
506
|
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
507
507
|
}, undefined>;
|
|
508
|
+
readonly labelMoveConflictErrorSchema: import("valibot").ObjectSchema<{
|
|
509
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
510
|
+
readonly code: import("valibot").PicklistSchema<["MOVE_INTENT_STALE", "MOVE_STILL_ACTIVE"], undefined>;
|
|
511
|
+
}, undefined>;
|
|
512
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
513
|
+
}, undefined>;
|
|
514
|
+
readonly labelMoveEvidenceUnavailableErrorSchema: import("valibot").ObjectSchema<{
|
|
515
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
516
|
+
readonly code: import("valibot").LiteralSchema<"MOVE_EVIDENCE_UNAVAILABLE", undefined>;
|
|
517
|
+
}, undefined>;
|
|
518
|
+
readonly status: import("valibot").LiteralSchema<503, undefined>;
|
|
519
|
+
}, undefined>;
|
|
508
520
|
readonly labelNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
509
521
|
readonly data: import("valibot").ObjectSchema<{
|
|
510
522
|
readonly code: import("valibot").LiteralSchema<"LABEL_NOT_FOUND", undefined>;
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|
|
@@ -101,6 +101,18 @@ export declare const mutationRejectedErrorSchema: v.ObjectSchema<{
|
|
|
101
101
|
}, undefined>;
|
|
102
102
|
readonly status: v.LiteralSchema<409, undefined>;
|
|
103
103
|
}, undefined>;
|
|
104
|
+
export declare const labelMoveConflictErrorSchema: v.ObjectSchema<{
|
|
105
|
+
readonly data: v.ObjectSchema<{
|
|
106
|
+
readonly code: v.PicklistSchema<["MOVE_INTENT_STALE", "MOVE_STILL_ACTIVE"], undefined>;
|
|
107
|
+
}, undefined>;
|
|
108
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
109
|
+
}, undefined>;
|
|
110
|
+
export declare const labelMoveEvidenceUnavailableErrorSchema: v.ObjectSchema<{
|
|
111
|
+
readonly data: v.ObjectSchema<{
|
|
112
|
+
readonly code: v.LiteralSchema<"MOVE_EVIDENCE_UNAVAILABLE", undefined>;
|
|
113
|
+
}, undefined>;
|
|
114
|
+
readonly status: v.LiteralSchema<503, undefined>;
|
|
115
|
+
}, undefined>;
|
|
104
116
|
export declare const threadNotFoundErrorSchema: v.ObjectSchema<{
|
|
105
117
|
readonly data: v.ObjectSchema<{
|
|
106
118
|
readonly code: v.LiteralSchema<"THREAD_NOT_FOUND", undefined>;
|
|
@@ -293,6 +305,18 @@ export declare const errors: {
|
|
|
293
305
|
}, undefined>;
|
|
294
306
|
readonly status: v.LiteralSchema<409, undefined>;
|
|
295
307
|
}, undefined>;
|
|
308
|
+
readonly labelMoveConflictErrorSchema: v.ObjectSchema<{
|
|
309
|
+
readonly data: v.ObjectSchema<{
|
|
310
|
+
readonly code: v.PicklistSchema<["MOVE_INTENT_STALE", "MOVE_STILL_ACTIVE"], undefined>;
|
|
311
|
+
}, undefined>;
|
|
312
|
+
readonly status: v.LiteralSchema<409, undefined>;
|
|
313
|
+
}, undefined>;
|
|
314
|
+
readonly labelMoveEvidenceUnavailableErrorSchema: v.ObjectSchema<{
|
|
315
|
+
readonly data: v.ObjectSchema<{
|
|
316
|
+
readonly code: v.LiteralSchema<"MOVE_EVIDENCE_UNAVAILABLE", undefined>;
|
|
317
|
+
}, undefined>;
|
|
318
|
+
readonly status: v.LiteralSchema<503, undefined>;
|
|
319
|
+
}, undefined>;
|
|
296
320
|
readonly labelNotFoundErrorSchema: v.ObjectSchema<{
|
|
297
321
|
readonly data: v.ObjectSchema<{
|
|
298
322
|
readonly code: v.LiteralSchema<"LABEL_NOT_FOUND", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;aAGzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;aAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;aAG3C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;aAGxC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;aAGtC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;aAGxC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;aAGzC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;aAGhC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;aAG3C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;aAGxC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;aAGtC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;aAGvC,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;aAGlD,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;aAGpC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;aAGxC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;aAUtC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;aAGlC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;aAGrC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;aAG5C,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BT,CAAA"}
|
|
@@ -67,6 +67,14 @@ export const mutationRejectedErrorSchema = v.object({
|
|
|
67
67
|
data: v.object({ code: v.literal('MUTATION_REJECTED') }),
|
|
68
68
|
status: v.literal(409),
|
|
69
69
|
});
|
|
70
|
+
export const labelMoveConflictErrorSchema = v.object({
|
|
71
|
+
data: v.object({ code: v.picklist(['MOVE_INTENT_STALE', 'MOVE_STILL_ACTIVE']) }),
|
|
72
|
+
status: v.literal(409),
|
|
73
|
+
});
|
|
74
|
+
export const labelMoveEvidenceUnavailableErrorSchema = v.object({
|
|
75
|
+
data: v.object({ code: v.literal('MOVE_EVIDENCE_UNAVAILABLE') }),
|
|
76
|
+
status: v.literal(503),
|
|
77
|
+
});
|
|
70
78
|
export const threadNotFoundErrorSchema = v.object({
|
|
71
79
|
data: v.object({ code: v.literal('THREAD_NOT_FOUND') }),
|
|
72
80
|
status: v.literal(404),
|
|
@@ -139,6 +147,8 @@ export const errors = {
|
|
|
139
147
|
invalidImageDimensionsErrorSchema,
|
|
140
148
|
inviteNotFoundErrorSchema,
|
|
141
149
|
labelAlreadyExistsErrorSchema,
|
|
150
|
+
labelMoveConflictErrorSchema,
|
|
151
|
+
labelMoveEvidenceUnavailableErrorSchema,
|
|
142
152
|
labelNotFoundErrorSchema,
|
|
143
153
|
messageNotFoundErrorSchema,
|
|
144
154
|
mutationRejectedErrorSchema,
|
|
@@ -120,6 +120,18 @@ export declare const validation: {
|
|
|
120
120
|
}, undefined>;
|
|
121
121
|
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
122
122
|
}, undefined>;
|
|
123
|
+
readonly labelMoveConflictErrorSchema: import("valibot").ObjectSchema<{
|
|
124
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
125
|
+
readonly code: import("valibot").PicklistSchema<["MOVE_INTENT_STALE", "MOVE_STILL_ACTIVE"], undefined>;
|
|
126
|
+
}, undefined>;
|
|
127
|
+
readonly status: import("valibot").LiteralSchema<409, undefined>;
|
|
128
|
+
}, undefined>;
|
|
129
|
+
readonly labelMoveEvidenceUnavailableErrorSchema: import("valibot").ObjectSchema<{
|
|
130
|
+
readonly data: import("valibot").ObjectSchema<{
|
|
131
|
+
readonly code: import("valibot").LiteralSchema<"MOVE_EVIDENCE_UNAVAILABLE", undefined>;
|
|
132
|
+
}, undefined>;
|
|
133
|
+
readonly status: import("valibot").LiteralSchema<503, undefined>;
|
|
134
|
+
}, undefined>;
|
|
123
135
|
readonly labelNotFoundErrorSchema: import("valibot").ObjectSchema<{
|
|
124
136
|
readonly data: import("valibot").ObjectSchema<{
|
|
125
137
|
readonly code: import("valibot").LiteralSchema<"LABEL_NOT_FOUND", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAA"}
|
package/dist/types/SDKError.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type * as v from 'valibot';
|
|
2
2
|
import type { errors } from '../sdk/validation/errors';
|
|
3
|
-
export type SDKError = v.InferOutput<typeof errors.accountNotFoundErrorSchema> | v.InferOutput<typeof errors.aliasNotFoundErrorSchema> | v.InferOutput<typeof errors.attachmentNotFoundErrorSchema> | v.InferOutput<typeof errors.attachmentSizeMismatchErrorSchema> | v.InferOutput<typeof errors.attachmentStateInvalidErrorSchema> | v.InferOutput<typeof errors.attachmentUploadFailedErrorSchema> | v.InferOutput<typeof errors.authCodeExpiredErrorSchema> | v.InferOutput<typeof errors.authCodeInvalidErrorSchema> | v.InferOutput<typeof errors.authCodePreviouslyUsedErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.authRefreshTokenInvalid> | v.InferOutput<typeof errors.authServerResponseUnexpectedErrorSchema> | v.InferOutput<typeof errors.authTooManyAttemptsErrorSchema> | v.InferOutput<typeof errors.contactNotFoundErrorSchema> | v.InferOutput<typeof errors.draftNotFoundErrorSchema> | v.InferOutput<typeof errors.fileTooLargeErrorSchema> | v.InferOutput<typeof errors.invalidFileTypeErrorSchema> | v.InferOutput<typeof errors.invalidImageDimensionsErrorSchema> | v.InferOutput<typeof errors.inviteNotFoundErrorSchema> | v.InferOutput<typeof errors.labelAlreadyExistsErrorSchema> | v.InferOutput<typeof errors.labelNotFoundErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.mutationRejectedErrorSchema> | v.InferOutput<typeof errors.threadNotFoundErrorSchema> | v.InferOutput<typeof errors.userMarkedForDeletionErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.viewNotFoundErrorSchema>;
|
|
3
|
+
export type SDKError = v.InferOutput<typeof errors.accountNotFoundErrorSchema> | v.InferOutput<typeof errors.aliasNotFoundErrorSchema> | v.InferOutput<typeof errors.attachmentNotFoundErrorSchema> | v.InferOutput<typeof errors.attachmentSizeMismatchErrorSchema> | v.InferOutput<typeof errors.attachmentStateInvalidErrorSchema> | v.InferOutput<typeof errors.attachmentUploadFailedErrorSchema> | v.InferOutput<typeof errors.authCodeExpiredErrorSchema> | v.InferOutput<typeof errors.authCodeInvalidErrorSchema> | v.InferOutput<typeof errors.authCodePreviouslyUsedErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.authRefreshTokenInvalid> | v.InferOutput<typeof errors.authServerResponseUnexpectedErrorSchema> | v.InferOutput<typeof errors.authTooManyAttemptsErrorSchema> | v.InferOutput<typeof errors.contactNotFoundErrorSchema> | v.InferOutput<typeof errors.draftNotFoundErrorSchema> | v.InferOutput<typeof errors.fileTooLargeErrorSchema> | v.InferOutput<typeof errors.invalidFileTypeErrorSchema> | v.InferOutput<typeof errors.invalidImageDimensionsErrorSchema> | v.InferOutput<typeof errors.inviteNotFoundErrorSchema> | v.InferOutput<typeof errors.labelAlreadyExistsErrorSchema> | v.InferOutput<typeof errors.labelMoveConflictErrorSchema> | v.InferOutput<typeof errors.labelMoveEvidenceUnavailableErrorSchema> | v.InferOutput<typeof errors.labelNotFoundErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.mutationRejectedErrorSchema> | v.InferOutput<typeof errors.threadNotFoundErrorSchema> | v.InferOutput<typeof errors.userMarkedForDeletionErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.viewNotFoundErrorSchema>;
|
|
4
4
|
//# sourceMappingURL=SDKError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SDKError.d.ts","sourceRoot":"","sources":["../../src/types/SDKError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AAEjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAEjE,MAAM,MAAM,QAAQ,GAChB,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,wBAAwB,CAAC,GACrD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,6BAA6B,CAAC,GAC1D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,qBAAqB,CAAC,GAClD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uCAAuC,CAAC,GACpE,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,8BAA8B,CAAC,GAC3D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,wBAAwB,CAAC,GACrD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,yBAAyB,CAAC,GACtD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,6BAA6B,CAAC,GAC1D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,wBAAwB,CAAC,GACrD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,GACxD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,yBAAyB,CAAC,GACtD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,gCAAgC,CAAC,GAC7D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,GACxD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"SDKError.d.ts","sourceRoot":"","sources":["../../src/types/SDKError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AAEjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAEjE,MAAM,MAAM,QAAQ,GAChB,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,wBAAwB,CAAC,GACrD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,6BAA6B,CAAC,GAC1D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,qBAAqB,CAAC,GAClD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uCAAuC,CAAC,GACpE,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,8BAA8B,CAAC,GAC3D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,wBAAwB,CAAC,GACrD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,yBAAyB,CAAC,GACtD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,6BAA6B,CAAC,GAC1D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,4BAA4B,CAAC,GACzD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uCAAuC,CAAC,GACpE,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,wBAAwB,CAAC,GACrD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,GACxD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,yBAAyB,CAAC,GACtD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,gCAAgC,CAAC,GAC7D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,GACxD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,CAAA"}
|