@marcoappio/marco-config 2.0.262 → 2.0.264

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/sdk/endpoints/index.d.ts +22 -1
  2. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  3. package/dist/sdk/endpoints/index.js +2 -0
  4. package/dist/sdk/endpoints/private/index.d.ts +0 -1
  5. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  6. package/dist/sdk/endpoints/private/sync/index.d.ts +0 -1
  7. package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
  8. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +0 -1
  9. package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
  10. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +0 -1
  11. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts.map +1 -1
  12. package/dist/sdk/endpoints/private/sync/pull/thread.js +0 -1
  13. package/dist/sdk/endpoints/webhook/index.d.ts +23 -0
  14. package/dist/sdk/endpoints/webhook/index.d.ts.map +1 -0
  15. package/dist/sdk/endpoints/webhook/index.js +4 -0
  16. package/dist/sdk/endpoints/webhook/oauth/google/accessToken.d.ts +18 -0
  17. package/dist/sdk/endpoints/webhook/oauth/google/accessToken.d.ts.map +1 -0
  18. package/dist/sdk/endpoints/webhook/oauth/google/accessToken.js +18 -0
  19. package/dist/sdk/endpoints/webhook/oauth/google/index.d.ts +19 -0
  20. package/dist/sdk/endpoints/webhook/oauth/google/index.d.ts.map +1 -0
  21. package/dist/sdk/endpoints/webhook/oauth/google/index.js +4 -0
  22. package/dist/sdk/endpoints/webhook/oauth/index.d.ts +21 -0
  23. package/dist/sdk/endpoints/webhook/oauth/index.d.ts.map +1 -0
  24. package/dist/sdk/endpoints/webhook/oauth/index.js +4 -0
  25. package/dist/sdk/index.d.ts +22 -1
  26. package/dist/sdk/index.d.ts.map +1 -1
  27. package/package.json +1 -1
@@ -201,7 +201,6 @@ export declare const endpoints: {
201
201
  readonly id: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
202
202
  readonly latestSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
203
203
  readonly order: import("valibot").StringSchema<undefined>;
204
- readonly version: import("valibot").NumberSchema<undefined>;
205
204
  readonly versionMax: import("valibot").NumberSchema<undefined>;
206
205
  readonly versionMin: import("valibot").NumberSchema<undefined>;
207
206
  }, undefined>, undefined>;
@@ -875,5 +874,27 @@ export declare const endpoints: {
875
874
  readonly status: import("valibot").LiteralSchema<200, undefined>;
876
875
  }, undefined>>;
877
876
  };
877
+ webhook: {
878
+ oauth: {
879
+ google: {
880
+ accessToken: EndpointConfig<"/v1/wh/oauth/google/access-token", import("valibot").ObjectSchema<{
881
+ readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
882
+ readonly state: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
883
+ }, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
884
+ readonly status: import("valibot").LiteralSchema<307, undefined>;
885
+ }, undefined>, import("valibot").ObjectSchema<{
886
+ readonly data: import("valibot").ObjectSchema<{
887
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
888
+ readonly issues: import("valibot").ObjectSchema<{
889
+ readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
890
+ readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
891
+ readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
892
+ }, undefined>;
893
+ }, undefined>;
894
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
895
+ }, undefined>], undefined>>;
896
+ };
897
+ };
898
+ };
878
899
  };
879
900
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIM,CAAA"}
@@ -1,6 +1,8 @@
1
1
  import { privateGroup } from './private';
2
2
  import { publicGroup } from './public';
3
+ import { webhookGroup } from './webhook';
3
4
  export const endpoints = {
4
5
  private: privateGroup,
5
6
  public: publicGroup,
7
+ webhook: webhookGroup,
6
8
  };
@@ -198,7 +198,6 @@ export declare const privateGroup: {
198
198
  readonly id: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
199
199
  readonly latestSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
200
200
  readonly order: import("valibot").StringSchema<undefined>;
201
- readonly version: import("valibot").NumberSchema<undefined>;
202
201
  readonly versionMax: import("valibot").NumberSchema<undefined>;
203
202
  readonly versionMin: import("valibot").NumberSchema<undefined>;
204
203
  }, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
@@ -165,7 +165,6 @@ export declare const sync: {
165
165
  readonly id: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
166
166
  readonly latestSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
167
167
  readonly order: import("valibot").StringSchema<undefined>;
168
- readonly version: import("valibot").NumberSchema<undefined>;
169
168
  readonly versionMax: import("valibot").NumberSchema<undefined>;
170
169
  readonly versionMin: import("valibot").NumberSchema<undefined>;
171
170
  }, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
@@ -164,7 +164,6 @@ export declare const pull: {
164
164
  readonly id: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
165
165
  readonly latestSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
166
166
  readonly order: import("valibot").StringSchema<undefined>;
167
- readonly version: import("valibot").NumberSchema<undefined>;
168
167
  readonly versionMax: import("valibot").NumberSchema<undefined>;
169
168
  readonly versionMin: import("valibot").NumberSchema<undefined>;
170
169
  }, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
@@ -6,7 +6,6 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
6
6
  readonly id: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UuidAction<string, undefined>]>, undefined>;
7
7
  readonly latestSentAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
8
8
  readonly order: v.StringSchema<undefined>;
9
- readonly version: v.NumberSchema<undefined>;
10
9
  readonly versionMax: v.NumberSchema<undefined>;
11
10
  readonly versionMin: v.NumberSchema<undefined>;
12
11
  }, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwCzB,CAAA"}
1
+ {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuCzB,CAAA"}
@@ -10,7 +10,6 @@ export const syncPullThread = createEndpoint({
10
10
  id: v.nullable(v.pipe(v.string(), v.uuid())),
11
11
  latestSentAt: v.nullable(v.number()),
12
12
  order: v.string(),
13
- version: v.number(),
14
13
  versionMax: v.number(),
15
14
  versionMin: v.number(),
16
15
  })),
@@ -0,0 +1,23 @@
1
+ export declare const webhookGroup: {
2
+ oauth: {
3
+ google: {
4
+ accessToken: import("../../..").EndpointConfig<"/v1/wh/oauth/google/access-token", import("valibot").ObjectSchema<{
5
+ readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
6
+ readonly state: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
7
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
8
+ readonly status: import("valibot").LiteralSchema<307, undefined>;
9
+ }, undefined>, import("valibot").ObjectSchema<{
10
+ readonly data: import("valibot").ObjectSchema<{
11
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
12
+ readonly issues: import("valibot").ObjectSchema<{
13
+ readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
14
+ readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
15
+ readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
16
+ }, undefined>;
17
+ }, undefined>;
18
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
19
+ }, undefined>], undefined>>;
20
+ };
21
+ };
22
+ };
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/webhook/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;CAExB,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { oauth } from './oauth';
2
+ export const webhookGroup = {
3
+ oauth,
4
+ };
@@ -0,0 +1,18 @@
1
+ import * as v from 'valibot';
2
+ export declare const accessToken: import("../../../../..").EndpointConfig<"/v1/wh/oauth/google/access-token", v.ObjectSchema<{
3
+ readonly code: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
4
+ readonly state: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
5
+ }, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
6
+ readonly status: v.LiteralSchema<307, undefined>;
7
+ }, undefined>, v.ObjectSchema<{
8
+ readonly data: v.ObjectSchema<{
9
+ readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
10
+ readonly issues: v.ObjectSchema<{
11
+ readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
12
+ readonly other: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
13
+ readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
14
+ }, undefined>;
15
+ }, undefined>;
16
+ readonly status: v.LiteralSchema<400, undefined>;
17
+ }, undefined>], undefined>>;
18
+ //# sourceMappingURL=accessToken.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessToken.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/webhook/oauth/google/accessToken.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;2BAatB,CAAA"}
@@ -0,0 +1,18 @@
1
+ import * as v from 'valibot';
2
+ import { marcoSchemas } from '../../../../../schemas';
3
+ import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
4
+ import { validationFailedErrorSchema } from '../../../../../sdk/validation/errors';
5
+ export const accessToken = createEndpoint({
6
+ body: v.object({
7
+ code: marcoSchemas.string.required(),
8
+ state: marcoSchemas.string.required(),
9
+ }),
10
+ method: 'GET',
11
+ path: '/v1/wh/oauth/google/access-token',
12
+ response: v.union([
13
+ v.object({
14
+ status: v.literal(307),
15
+ }),
16
+ validationFailedErrorSchema,
17
+ ]),
18
+ });
@@ -0,0 +1,19 @@
1
+ export declare const google: {
2
+ accessToken: import("../../../../..").EndpointConfig<"/v1/wh/oauth/google/access-token", import("valibot").ObjectSchema<{
3
+ readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
4
+ readonly state: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
5
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
6
+ readonly status: import("valibot").LiteralSchema<307, undefined>;
7
+ }, undefined>, import("valibot").ObjectSchema<{
8
+ readonly data: import("valibot").ObjectSchema<{
9
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
10
+ readonly issues: import("valibot").ObjectSchema<{
11
+ readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
12
+ readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
13
+ readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
14
+ }, undefined>;
15
+ }, undefined>;
16
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
17
+ }, undefined>], undefined>>;
18
+ };
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/webhook/oauth/google/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;CAElB,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { accessToken } from './accessToken';
2
+ export const google = {
3
+ accessToken,
4
+ };
@@ -0,0 +1,21 @@
1
+ export declare const oauth: {
2
+ google: {
3
+ accessToken: import("../../../..").EndpointConfig<"/v1/wh/oauth/google/access-token", import("valibot").ObjectSchema<{
4
+ readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
5
+ readonly state: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
6
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
7
+ readonly status: import("valibot").LiteralSchema<307, undefined>;
8
+ }, undefined>, import("valibot").ObjectSchema<{
9
+ readonly data: import("valibot").ObjectSchema<{
10
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
11
+ readonly issues: import("valibot").ObjectSchema<{
12
+ readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
13
+ readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
14
+ readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
15
+ }, undefined>;
16
+ }, undefined>;
17
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
18
+ }, undefined>], undefined>>;
19
+ };
20
+ };
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/webhook/oauth/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;CAEjB,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { google } from './google';
2
+ export const oauth = {
3
+ google,
4
+ };
@@ -200,7 +200,6 @@ export declare const marcoSDK: {
200
200
  readonly id: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
201
201
  readonly latestSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
202
202
  readonly order: import("valibot").StringSchema<undefined>;
203
- readonly version: import("valibot").NumberSchema<undefined>;
204
203
  readonly versionMax: import("valibot").NumberSchema<undefined>;
205
204
  readonly versionMin: import("valibot").NumberSchema<undefined>;
206
205
  }, undefined>, undefined>;
@@ -874,6 +873,28 @@ export declare const marcoSDK: {
874
873
  readonly status: import("valibot").LiteralSchema<200, undefined>;
875
874
  }, undefined>>;
876
875
  };
876
+ webhook: {
877
+ oauth: {
878
+ google: {
879
+ accessToken: import("..").EndpointConfig<"/v1/wh/oauth/google/access-token", import("valibot").ObjectSchema<{
880
+ readonly code: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
881
+ readonly state: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
882
+ }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
883
+ readonly status: import("valibot").LiteralSchema<307, undefined>;
884
+ }, undefined>, import("valibot").ObjectSchema<{
885
+ readonly data: import("valibot").ObjectSchema<{
886
+ readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
887
+ readonly issues: import("valibot").ObjectSchema<{
888
+ readonly nested: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
889
+ readonly other: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
890
+ readonly root: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
891
+ }, undefined>;
892
+ }, undefined>;
893
+ readonly status: import("valibot").LiteralSchema<400, undefined>;
894
+ }, undefined>], undefined>>;
895
+ };
896
+ };
897
+ };
877
898
  };
878
899
  validation: {
879
900
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
3
  "packageManager": "bun@1.2.0",
4
- "version": "2.0.262",
4
+ "version": "2.0.264",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",