@marcoappio/marco-config 2.0.560 → 2.0.561

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.
Files changed (27) hide show
  1. package/dist/schemas/index.d.ts +13 -0
  2. package/dist/schemas/index.d.ts.map +1 -1
  3. package/dist/schemas/mutators/mutatorSchemas.d.ts +13 -0
  4. package/dist/schemas/mutators/mutatorSchemas.d.ts.map +1 -1
  5. package/dist/schemas/mutators/mutatorSchemas.js +13 -0
  6. package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts +38 -0
  7. package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts.map +1 -0
  8. package/dist/sdk/endpoints/private/mutations/account/createLabel.js +19 -0
  9. package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts +43 -0
  10. package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts.map +1 -0
  11. package/dist/sdk/endpoints/private/mutations/account/deleteLabel.js +20 -0
  12. package/dist/sdk/endpoints/private/mutations/account/index.d.ts +3 -0
  13. package/dist/sdk/endpoints/private/mutations/account/index.d.ts.map +1 -1
  14. package/dist/sdk/endpoints/private/mutations/account/index.js +3 -0
  15. package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts +44 -0
  16. package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts.map +1 -0
  17. package/dist/sdk/endpoints/private/mutations/account/renameLabel.js +20 -0
  18. package/dist/sdk/index.d.ts +6 -0
  19. package/dist/sdk/index.d.ts.map +1 -1
  20. package/dist/sdk/validation/errors.d.ts +12 -0
  21. package/dist/sdk/validation/errors.d.ts.map +1 -1
  22. package/dist/sdk/validation/errors.js +5 -0
  23. package/dist/sdk/validation/index.d.ts +6 -0
  24. package/dist/sdk/validation/index.d.ts.map +1 -1
  25. package/dist/types/SDKError.d.ts +1 -1
  26. package/dist/types/SDKError.d.ts.map +1 -1
  27. package/package.json +1 -1
@@ -385,6 +385,10 @@ export declare const marcoSchemas: {
385
385
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
386
386
  }, undefined>;
387
387
  }, undefined>;
388
+ createLabel: import("valibot").ObjectSchema<{
389
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
390
+ readonly name: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>;
391
+ }, undefined>;
388
392
  deleteAccount: import("valibot").ObjectSchema<{
389
393
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
390
394
  }, undefined>;
@@ -392,6 +396,15 @@ export declare const marcoSchemas: {
392
396
  readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
393
397
  readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
394
398
  }, undefined>;
399
+ deleteLabel: import("valibot").ObjectSchema<{
400
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
401
+ readonly labelId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
402
+ }, undefined>;
403
+ renameLabel: import("valibot").ObjectSchema<{
404
+ readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
405
+ readonly labelId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
406
+ readonly name: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>;
407
+ }, undefined>;
395
408
  setAliasName: import("valibot").ObjectSchema<{
396
409
  readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
397
410
  readonly aliasId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AA4BA,OAAO,EAAE,KAAK,cAAc,EAAwB,MAAM,UAAU,CAAA;AAGpE,YAAY,EAAE,cAAc,EAAE,CAAA;AAE9B,YAAY,EACV,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,KAAK,EACL,eAAe,EACf,SAAS,EACT,MAAM,EACN,aAAa,EACb,uBAAuB,EACvB,sBAAsB,EACtB,IAAI,EACJ,yBAAyB,EACzB,QAAQ,GACT,MAAM,UA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B,IAAI,EACJ,yBAAyB,EACzB,QAAQ,GACT,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BxB,CAAA"}
@@ -15,6 +15,10 @@ export declare const mutatorSchemas: {
15
15
  readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
16
16
  }, undefined>;
17
17
  }, undefined>;
18
+ createLabel: v.ObjectSchema<{
19
+ readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
20
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
21
+ }, undefined>;
18
22
  deleteAccount: v.ObjectSchema<{
19
23
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
20
24
  }, undefined>;
@@ -22,6 +26,15 @@ export declare const mutatorSchemas: {
22
26
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
23
27
  readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
24
28
  }, undefined>;
29
+ deleteLabel: v.ObjectSchema<{
30
+ readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
31
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
32
+ }, undefined>;
33
+ renameLabel: v.ObjectSchema<{
34
+ readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
35
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
36
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
37
+ }, undefined>;
25
38
  setAliasName: v.ObjectSchema<{
26
39
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
27
40
  readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"mutatorSchemas.d.ts","sourceRoot":"","sources":["../../../src/schemas/mutators/mutatorSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAyF5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2J1B,CAAA"}
1
+ {"version":3,"file":"mutatorSchemas.d.ts","sourceRoot":"","sources":["../../../src/schemas/mutators/mutatorSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAyF5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwK1B,CAAA"}
@@ -74,6 +74,10 @@ export const mutatorSchemas = {
74
74
  accountId: string.required(),
75
75
  alias: accountAliasSchema,
76
76
  }),
77
+ createLabel: v.object({
78
+ accountId: string.required(),
79
+ name: v.pipe(v.string(), v.nonEmpty(), v.maxLength(255)),
80
+ }),
77
81
  deleteAccount: v.object({
78
82
  id: string.required(),
79
83
  }),
@@ -81,6 +85,15 @@ export const mutatorSchemas = {
81
85
  accountId: string.required(),
82
86
  aliasId: string.required(),
83
87
  }),
88
+ deleteLabel: v.object({
89
+ accountId: string.required(),
90
+ labelId: string.required(),
91
+ }),
92
+ renameLabel: v.object({
93
+ accountId: string.required(),
94
+ labelId: string.required(),
95
+ name: v.pipe(v.string(), v.nonEmpty(), v.maxLength(255)),
96
+ }),
84
97
  setAliasName: v.object({
85
98
  accountId: string.required(),
86
99
  aliasId: string.required(),
@@ -0,0 +1,38 @@
1
+ import * as v from 'valibot';
2
+ export declare const createLabel: import("../../../../..").EndpointConfig<"/v1/pv/models/account/:accountId/labels/create", v.ObjectSchema<{
3
+ readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
5
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
6
+ readonly data: v.ObjectSchema<{
7
+ readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
8
+ }, undefined>;
9
+ readonly status: v.LiteralSchema<401, undefined>;
10
+ }, undefined>, v.ObjectSchema<{
11
+ readonly data: v.ObjectSchema<{
12
+ readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
13
+ }, undefined>;
14
+ readonly status: v.LiteralSchema<404, undefined>;
15
+ }, undefined>, v.ObjectSchema<{
16
+ readonly data: v.ObjectSchema<{
17
+ readonly code: v.LiteralSchema<"ACCOUNT_NOT_FOUND", undefined>;
18
+ }, undefined>;
19
+ readonly status: v.LiteralSchema<404, undefined>;
20
+ }, undefined>, v.ObjectSchema<{
21
+ readonly data: v.ObjectSchema<{
22
+ readonly code: v.LiteralSchema<"LABEL_ALREADY_EXISTS", undefined>;
23
+ }, undefined>;
24
+ readonly status: v.LiteralSchema<409, undefined>;
25
+ }, undefined>, v.ObjectSchema<{
26
+ readonly data: v.ObjectSchema<{
27
+ readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
28
+ readonly issues: v.ObjectSchema<{
29
+ readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
30
+ readonly other: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
31
+ readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
32
+ }, undefined>;
33
+ }, undefined>;
34
+ readonly status: v.LiteralSchema<400, undefined>;
35
+ }, undefined>, v.ObjectSchema<{
36
+ readonly status: v.LiteralSchema<201, undefined>;
37
+ }, undefined>], undefined>>;
38
+ //# sourceMappingURL=createLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createLabel.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/account/createLabel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BActB,CAAA"}
@@ -0,0 +1,19 @@
1
+ import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
3
+ import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
4
+ import { accountNotFoundErrorSchema, authFailedErrorSchema, labelAlreadyExistsErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
5
+ export const createLabel = createEndpoint({
6
+ body: mutatorSchemas.account.createLabel,
7
+ method: 'POST',
8
+ path: '/v1/pv/models/account/:accountId/labels/create',
9
+ response: v.union([
10
+ authFailedErrorSchema,
11
+ userNotFoundErrorSchema,
12
+ accountNotFoundErrorSchema,
13
+ labelAlreadyExistsErrorSchema,
14
+ validationFailedErrorSchema,
15
+ v.object({
16
+ status: v.literal(201),
17
+ }),
18
+ ]),
19
+ });
@@ -0,0 +1,43 @@
1
+ import * as v from 'valibot';
2
+ export declare const deleteLabel: import("../../../../..").EndpointConfig<"/v1/pv/models/account/:accountId/labels/delete", v.ObjectSchema<{
3
+ readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
5
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
6
+ readonly data: v.ObjectSchema<{
7
+ readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
8
+ }, undefined>;
9
+ readonly status: v.LiteralSchema<401, undefined>;
10
+ }, undefined>, v.ObjectSchema<{
11
+ readonly data: v.ObjectSchema<{
12
+ readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
13
+ }, undefined>;
14
+ readonly status: v.LiteralSchema<404, undefined>;
15
+ }, undefined>, v.ObjectSchema<{
16
+ readonly data: v.ObjectSchema<{
17
+ readonly code: v.LiteralSchema<"ACCOUNT_NOT_FOUND", undefined>;
18
+ }, undefined>;
19
+ readonly status: v.LiteralSchema<404, undefined>;
20
+ }, undefined>, v.ObjectSchema<{
21
+ readonly data: v.ObjectSchema<{
22
+ readonly code: v.LiteralSchema<"LABEL_NOT_FOUND", undefined>;
23
+ }, undefined>;
24
+ readonly status: v.LiteralSchema<404, undefined>;
25
+ }, undefined>, v.ObjectSchema<{
26
+ readonly data: v.ObjectSchema<{
27
+ readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
28
+ }, undefined>;
29
+ readonly status: v.LiteralSchema<409, undefined>;
30
+ }, undefined>, v.ObjectSchema<{
31
+ readonly data: v.ObjectSchema<{
32
+ readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
33
+ readonly issues: v.ObjectSchema<{
34
+ readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
35
+ readonly other: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
36
+ readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
37
+ }, undefined>;
38
+ }, undefined>;
39
+ readonly status: v.LiteralSchema<400, undefined>;
40
+ }, undefined>, v.ObjectSchema<{
41
+ readonly status: v.LiteralSchema<204, undefined>;
42
+ }, undefined>], undefined>>;
43
+ //# sourceMappingURL=deleteLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteLabel.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/account/deleteLabel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAetB,CAAA"}
@@ -0,0 +1,20 @@
1
+ import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
3
+ import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
4
+ import { accountNotFoundErrorSchema, authFailedErrorSchema, labelNotFoundErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
5
+ export const deleteLabel = createEndpoint({
6
+ body: mutatorSchemas.account.deleteLabel,
7
+ method: 'DELETE',
8
+ path: '/v1/pv/models/account/:accountId/labels/delete',
9
+ response: v.union([
10
+ authFailedErrorSchema,
11
+ userNotFoundErrorSchema,
12
+ accountNotFoundErrorSchema,
13
+ labelNotFoundErrorSchema,
14
+ mutationRejectedErrorSchema,
15
+ validationFailedErrorSchema,
16
+ v.object({
17
+ status: v.literal(204),
18
+ }),
19
+ ]),
20
+ });
@@ -1,7 +1,10 @@
1
1
  export { createAccount } from './createAccount';
2
2
  export { createAlias } from './createAlias';
3
+ export { createLabel } from './createLabel';
3
4
  export { deleteAccount } from './deleteAccount';
4
5
  export { deleteAlias } from './deleteAlias';
6
+ export { deleteLabel } from './deleteLabel';
7
+ export { renameLabel } from './renameLabel';
5
8
  export { setAliasName } from './setAliasName';
6
9
  export { setAliasPrimary } from './setAliasPrimary';
7
10
  export { setAliasSignature } from './setAliasSignature';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/account/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/account/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA"}
@@ -1,7 +1,10 @@
1
1
  export { createAccount } from './createAccount';
2
2
  export { createAlias } from './createAlias';
3
+ export { createLabel } from './createLabel';
3
4
  export { deleteAccount } from './deleteAccount';
4
5
  export { deleteAlias } from './deleteAlias';
6
+ export { deleteLabel } from './deleteLabel';
7
+ export { renameLabel } from './renameLabel';
5
8
  export { setAliasName } from './setAliasName';
6
9
  export { setAliasPrimary } from './setAliasPrimary';
7
10
  export { setAliasSignature } from './setAliasSignature';
@@ -0,0 +1,44 @@
1
+ import * as v from 'valibot';
2
+ export declare const renameLabel: import("../../../../..").EndpointConfig<"/v1/pv/models/account/:accountId/labels/rename", v.ObjectSchema<{
3
+ readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
5
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
6
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
7
+ readonly data: v.ObjectSchema<{
8
+ readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
9
+ }, undefined>;
10
+ readonly status: v.LiteralSchema<401, undefined>;
11
+ }, undefined>, v.ObjectSchema<{
12
+ readonly data: v.ObjectSchema<{
13
+ readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
14
+ }, undefined>;
15
+ readonly status: v.LiteralSchema<404, undefined>;
16
+ }, undefined>, v.ObjectSchema<{
17
+ readonly data: v.ObjectSchema<{
18
+ readonly code: v.LiteralSchema<"ACCOUNT_NOT_FOUND", undefined>;
19
+ }, undefined>;
20
+ readonly status: v.LiteralSchema<404, undefined>;
21
+ }, undefined>, v.ObjectSchema<{
22
+ readonly data: v.ObjectSchema<{
23
+ readonly code: v.LiteralSchema<"LABEL_NOT_FOUND", undefined>;
24
+ }, undefined>;
25
+ readonly status: v.LiteralSchema<404, undefined>;
26
+ }, undefined>, v.ObjectSchema<{
27
+ readonly data: v.ObjectSchema<{
28
+ readonly code: v.LiteralSchema<"LABEL_ALREADY_EXISTS", undefined>;
29
+ }, undefined>;
30
+ readonly status: v.LiteralSchema<409, undefined>;
31
+ }, undefined>, v.ObjectSchema<{
32
+ readonly data: v.ObjectSchema<{
33
+ readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
34
+ readonly issues: v.ObjectSchema<{
35
+ readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
36
+ readonly other: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
37
+ readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
38
+ }, undefined>;
39
+ }, undefined>;
40
+ readonly status: v.LiteralSchema<400, undefined>;
41
+ }, undefined>, v.ObjectSchema<{
42
+ readonly status: v.LiteralSchema<200, undefined>;
43
+ }, undefined>], undefined>>;
44
+ //# sourceMappingURL=renameLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renameLabel.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/account/renameLabel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAetB,CAAA"}
@@ -0,0 +1,20 @@
1
+ import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
3
+ import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
4
+ import { accountNotFoundErrorSchema, authFailedErrorSchema, labelAlreadyExistsErrorSchema, labelNotFoundErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
5
+ export const renameLabel = createEndpoint({
6
+ body: mutatorSchemas.account.renameLabel,
7
+ method: 'PATCH',
8
+ path: '/v1/pv/models/account/:accountId/labels/rename',
9
+ response: v.union([
10
+ authFailedErrorSchema,
11
+ userNotFoundErrorSchema,
12
+ accountNotFoundErrorSchema,
13
+ labelNotFoundErrorSchema,
14
+ labelAlreadyExistsErrorSchema,
15
+ validationFailedErrorSchema,
16
+ v.object({
17
+ status: v.literal(200),
18
+ }),
19
+ ]),
20
+ });
@@ -408,6 +408,12 @@ export declare const marcoSDK: {
408
408
  }, undefined>;
409
409
  readonly status: import("valibot").LiteralSchema<404, undefined>;
410
410
  }, undefined>;
411
+ readonly labelAlreadyExistsErrorSchema: import("valibot").ObjectSchema<{
412
+ readonly data: import("valibot").ObjectSchema<{
413
+ readonly code: import("valibot").LiteralSchema<"LABEL_ALREADY_EXISTS", undefined>;
414
+ }, undefined>;
415
+ readonly status: import("valibot").LiteralSchema<409, undefined>;
416
+ }, undefined>;
411
417
  readonly labelNotFoundErrorSchema: import("valibot").ObjectSchema<{
412
418
  readonly data: import("valibot").ObjectSchema<{
413
419
  readonly code: import("valibot").LiteralSchema<"LABEL_NOT_FOUND", undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
@@ -107,6 +107,12 @@ export declare const contactNotFoundErrorSchema: v.ObjectSchema<{
107
107
  }, undefined>;
108
108
  readonly status: v.LiteralSchema<404, undefined>;
109
109
  }, undefined>;
110
+ export declare const labelAlreadyExistsErrorSchema: v.ObjectSchema<{
111
+ readonly data: v.ObjectSchema<{
112
+ readonly code: v.LiteralSchema<"LABEL_ALREADY_EXISTS", undefined>;
113
+ }, undefined>;
114
+ readonly status: v.LiteralSchema<409, undefined>;
115
+ }, undefined>;
110
116
  export declare const labelNotFoundErrorSchema: v.ObjectSchema<{
111
117
  readonly data: v.ObjectSchema<{
112
118
  readonly code: v.LiteralSchema<"LABEL_NOT_FOUND", undefined>;
@@ -263,6 +269,12 @@ export declare const errors: {
263
269
  }, undefined>;
264
270
  readonly status: v.LiteralSchema<404, undefined>;
265
271
  }, undefined>;
272
+ readonly labelAlreadyExistsErrorSchema: v.ObjectSchema<{
273
+ readonly data: v.ObjectSchema<{
274
+ readonly code: v.LiteralSchema<"LABEL_ALREADY_EXISTS", undefined>;
275
+ }, undefined>;
276
+ readonly status: v.LiteralSchema<409, undefined>;
277
+ }, undefined>;
266
278
  readonly labelNotFoundErrorSchema: v.ObjectSchema<{
267
279
  readonly data: v.ObjectSchema<{
268
280
  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,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,wBAAwB;;;;;aAGnC,CAAA;AAEF,eAAO,MAAM,wBAAw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,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,+BAA+B;;;;;aAG1C,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BT,CAAA"}
@@ -71,6 +71,10 @@ export const contactNotFoundErrorSchema = v.object({
71
71
  data: v.object({ code: v.literal('CONTACT_NOT_FOUND') }),
72
72
  status: v.literal(404),
73
73
  });
74
+ export const labelAlreadyExistsErrorSchema = v.object({
75
+ data: v.object({ code: v.literal('LABEL_ALREADY_EXISTS') }),
76
+ status: v.literal(409),
77
+ });
74
78
  export const labelNotFoundErrorSchema = v.object({
75
79
  data: v.object({ code: v.literal('LABEL_NOT_FOUND') }),
76
80
  status: v.literal(404),
@@ -128,6 +132,7 @@ export const errors = {
128
132
  invalidFileTypeErrorSchema,
129
133
  invalidImageDimensionsErrorSchema,
130
134
  inviteNotFoundErrorSchema,
135
+ labelAlreadyExistsErrorSchema,
131
136
  labelNotFoundErrorSchema,
132
137
  messageNotFoundErrorSchema,
133
138
  mutationRejectedErrorSchema,
@@ -102,6 +102,12 @@ export declare const validation: {
102
102
  }, undefined>;
103
103
  readonly status: import("valibot").LiteralSchema<404, undefined>;
104
104
  }, undefined>;
105
+ readonly labelAlreadyExistsErrorSchema: import("valibot").ObjectSchema<{
106
+ readonly data: import("valibot").ObjectSchema<{
107
+ readonly code: import("valibot").LiteralSchema<"LABEL_ALREADY_EXISTS", undefined>;
108
+ }, undefined>;
109
+ readonly status: import("valibot").LiteralSchema<409, undefined>;
110
+ }, undefined>;
105
111
  readonly labelNotFoundErrorSchema: import("valibot").ObjectSchema<{
106
112
  readonly data: import("valibot").ObjectSchema<{
107
113
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAA"}
@@ -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.attachmentStateInvalidErrorSchema> | 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.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> | v.InferOutput<typeof errors.subscriptionNotFoundErrorSchema>;
3
+ export type SDKError = v.InferOutput<typeof errors.accountNotFoundErrorSchema> | v.InferOutput<typeof errors.aliasNotFoundErrorSchema> | v.InferOutput<typeof errors.attachmentNotFoundErrorSchema> | v.InferOutput<typeof errors.attachmentStateInvalidErrorSchema> | 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> | v.InferOutput<typeof errors.subscriptionNotFoundErrorSchema>;
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,GA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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,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,+BAA+B,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.560",
3
+ "version": "2.0.561",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",