@marcoappio/marco-config 2.0.562 → 2.0.564

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.
@@ -142,7 +142,7 @@ export declare const marcoSchemas: {
142
142
  readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
143
143
  readonly userId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
144
144
  }, undefined>;
145
- stripeUserDataSchema: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
145
+ stripeUserDataSchema: import("valibot").ObjectSchema<{
146
146
  readonly customer: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
147
147
  readonly deleted: import("valibot").OptionalSchema<import("valibot").NeverSchema<undefined>, undefined>;
148
148
  readonly email: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -181,7 +181,7 @@ export declare const marcoSchemas: {
181
181
  readonly trialStart: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
182
182
  }, undefined>, undefined>;
183
183
  readonly subscriptionTier: import("valibot").NullableSchema<import("valibot").PicklistSchema<readonly ["tier1"], undefined>, undefined>;
184
- }, undefined>, undefined>;
184
+ }, undefined>;
185
185
  threadFullSchema: import("valibot").ObjectSchema<{
186
186
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
187
187
  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>;
@@ -313,7 +313,7 @@ export declare const marcoSchemas: {
313
313
  readonly token: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
314
314
  readonly userId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
315
315
  }, undefined>, undefined>;
316
- readonly stripe: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
316
+ readonly stripe: import("valibot").ObjectSchema<{
317
317
  readonly customer: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
318
318
  readonly deleted: import("valibot").OptionalSchema<import("valibot").NeverSchema<undefined>, undefined>;
319
319
  readonly email: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
@@ -352,7 +352,7 @@ export declare const marcoSchemas: {
352
352
  readonly trialStart: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
353
353
  }, undefined>, undefined>;
354
354
  readonly subscriptionTier: import("valibot").NullableSchema<import("valibot").PicklistSchema<readonly ["tier1"], undefined>, undefined>;
355
- }, undefined>, undefined>, undefined>;
355
+ }, undefined>;
356
356
  readonly trialEndsAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
357
357
  readonly undoSendEnabled: import("valibot").BooleanSchema<undefined>;
358
358
  readonly views: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
@@ -387,6 +387,7 @@ export declare const marcoSchemas: {
387
387
  }, undefined>;
388
388
  createLabel: import("valibot").ObjectSchema<{
389
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 labelId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
390
391
  readonly name: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>;
391
392
  }, undefined>;
392
393
  deleteAccount: import("valibot").ObjectSchema<{
@@ -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,UAAU,CAAA;AACjB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BxB,CAAA"}
@@ -21,7 +21,7 @@ export declare const userSchema: v.ObjectSchema<{
21
21
  readonly token: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
22
22
  readonly userId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
23
23
  }, undefined>, undefined>;
24
- readonly stripe: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
24
+ readonly stripe: v.ObjectSchema<{
25
25
  readonly customer: v.UnionSchema<[v.ObjectSchema<{
26
26
  readonly deleted: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
27
27
  readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -60,7 +60,7 @@ export declare const userSchema: v.ObjectSchema<{
60
60
  readonly trialStart: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
61
61
  }, undefined>, undefined>;
62
62
  readonly subscriptionTier: v.NullableSchema<v.PicklistSchema<readonly ["tier1"], undefined>, undefined>;
63
- }, undefined>, undefined>, undefined>;
63
+ }, undefined>;
64
64
  readonly trialEndsAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
65
65
  readonly undoSendEnabled: v.BooleanSchema<undefined>;
66
66
  readonly views: v.ArraySchema<v.ObjectSchema<{
@@ -20,7 +20,7 @@ export const userSchema = v.object({
20
20
  name: string.nullable(),
21
21
  profilePicture: string.nullable(),
22
22
  pushNotificationTokens: v.array(userPushNotificationTokenSchema),
23
- stripe: v.optional(stripeUserDataSchema),
23
+ stripe: stripeUserDataSchema,
24
24
  trialEndsAt: number.nullable(),
25
25
  undoSendEnabled: v.boolean(),
26
26
  views: v.array(userViewSchema),
@@ -17,6 +17,7 @@ export declare const mutatorSchemas: {
17
17
  }, undefined>;
18
18
  createLabel: v.ObjectSchema<{
19
19
  readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
20
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
20
21
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
21
22
  }, undefined>;
22
23
  deleteAccount: v.ObjectSchema<{
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwK1B,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyK1B,CAAA"}
@@ -76,6 +76,7 @@ export const mutatorSchemas = {
76
76
  }),
77
77
  createLabel: v.object({
78
78
  accountId: string.required(),
79
+ labelId: string.required(),
79
80
  name: v.pipe(v.string(), v.nonEmpty(), v.maxLength(255)),
80
81
  }),
81
82
  deleteAccount: v.object({
@@ -1,5 +1,5 @@
1
1
  import * as v from 'valibot';
2
- export declare const stripeUserDataSchema: v.NullableSchema<v.ObjectSchema<{
2
+ export declare const stripeUserDataSchema: v.ObjectSchema<{
3
3
  readonly customer: v.UnionSchema<[v.ObjectSchema<{
4
4
  readonly deleted: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
5
5
  readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -38,6 +38,6 @@ export declare const stripeUserDataSchema: v.NullableSchema<v.ObjectSchema<{
38
38
  readonly trialStart: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
39
39
  }, undefined>, undefined>;
40
40
  readonly subscriptionTier: v.NullableSchema<v.PicklistSchema<readonly ["tier1"], undefined>, undefined>;
41
- }, undefined>, undefined>;
41
+ }, undefined>;
42
42
  export type StripeUserData = v.InferOutput<typeof stripeUserDataSchema>;
43
43
  //# sourceMappingURL=stripe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stripe.d.ts","sourceRoot":"","sources":["../../src/schemas/stripe.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAwE5B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAOhC,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
1
+ {"version":3,"file":"stripe.d.ts","sourceRoot":"","sources":["../../src/schemas/stripe.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAwE5B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAK/B,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
@@ -40,9 +40,9 @@ const stripeSubscriptionSchema = v.object({
40
40
  trialEnd: v.nullable(v.number()),
41
41
  trialStart: v.nullable(v.number()),
42
42
  });
43
- export const stripeUserDataSchema = v.nullable(v.object({
43
+ export const stripeUserDataSchema = v.object({
44
44
  customer: v.union([stripeCustomerSchema, stripeDeletedCustomerSchema]),
45
45
  product: v.nullable(stripeProductSchema),
46
46
  subscription: v.nullable(stripeSubscriptionSchema),
47
47
  subscriptionTier: v.nullable(v.picklist(SUBSCRIPTION_TIERS)),
48
- }));
48
+ });
@@ -20,7 +20,7 @@ export declare const getUser: import("../../../../..").EndpointConfig<"/v1/pv/mo
20
20
  readonly token: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
21
21
  readonly userId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
22
22
  }, undefined>, undefined>;
23
- readonly stripe: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
23
+ readonly stripe: v.ObjectSchema<{
24
24
  readonly customer: v.UnionSchema<[v.ObjectSchema<{
25
25
  readonly deleted: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
26
26
  readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -59,7 +59,7 @@ export declare const getUser: import("../../../../..").EndpointConfig<"/v1/pv/mo
59
59
  readonly trialStart: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
60
60
  }, undefined>, undefined>;
61
61
  readonly subscriptionTier: v.NullableSchema<v.PicklistSchema<readonly ["tier1"], undefined>, undefined>;
62
- }, undefined>, undefined>, undefined>;
62
+ }, undefined>;
63
63
  readonly trialEndsAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
64
64
  readonly undoSendEnabled: v.BooleanSchema<undefined>;
65
65
  readonly views: v.ArraySchema<v.ObjectSchema<{
@@ -1,6 +1,7 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const createLabel: import("../../../../..").EndpointConfig<"/v1/pv/models/account/:accountId/labels/create", v.ObjectSchema<{
3
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>;
4
5
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
5
6
  }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
6
7
  readonly data: v.ObjectSchema<{
@@ -1 +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;AAa5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAetB,CAAA"}
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;AAa5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAetB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.562",
3
+ "version": "2.0.564",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",