@ventrata/octo-types 0.0.8 → 0.0.10

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 (60) hide show
  1. package/dist/index.d.ts +46 -0
  2. package/dist/models/BookingConfirmationBody.d.ts +17 -1
  3. package/dist/models/BookingPickupBody.d.ts +18 -0
  4. package/dist/models/BookingReservationBody.d.ts +16 -0
  5. package/dist/models/BookingUpdateBody.d.ts +16 -0
  6. package/dist/models/CancelOrderBody.d.ts +6 -0
  7. package/dist/models/CancelOrderRequest_id.d.ts +4 -0
  8. package/dist/models/ConfirmOrderBody.d.ts +19 -0
  9. package/dist/models/ConfirmOrderPricingBody.d.ts +6 -0
  10. package/dist/models/ConfirmOrderRequest_id.d.ts +4 -0
  11. package/dist/models/CreateOrderBody.d.ts +19 -0
  12. package/dist/models/CreateOrderPricingBody.d.ts +6 -0
  13. package/dist/models/CreateOrderRequest_id.d.ts +4 -0
  14. package/dist/models/ExtendOrderBody.d.ts +3 -0
  15. package/dist/models/ExtendOrderRequest_id.d.ts +4 -0
  16. package/dist/models/GetMappingsQueryParams_optionId.d.ts +4 -0
  17. package/dist/models/GetMappingsQueryParams_productId.d.ts +4 -0
  18. package/dist/models/GetMappingsQueryParams_resellerReference.d.ts +4 -0
  19. package/dist/models/GetMappingsQueryParams_resellerStatus.d.ts +5 -0
  20. package/dist/models/GetMappingsRequest.d.ts +19 -0
  21. package/dist/models/GetOrderRequest_id.d.ts +4 -0
  22. package/dist/models/MappingToUpdate.d.ts +31 -0
  23. package/dist/models/OrderPathParams.d.ts +6 -0
  24. package/dist/models/Product.d.ts +1 -1
  25. package/dist/models/ProductGoogle.d.ts +1 -1
  26. package/dist/models/UpdateMappingsRequest.d.ts +4 -0
  27. package/dist/models/UpdateOrderBody.d.ts +19 -0
  28. package/dist/models/UpdateOrderPricingBody.d.ts +6 -0
  29. package/dist/models/UpdateOrderRequest_id.d.ts +4 -0
  30. package/dist/schemas/BookingConfirmationBody.d.ts +22 -10
  31. package/dist/schemas/BookingConfirmationRequest.d.ts +38 -18
  32. package/dist/schemas/BookingPickupBody.d.ts +17 -0
  33. package/dist/schemas/BookingReservationBody.d.ts +12 -0
  34. package/dist/schemas/BookingReservationRequest.d.ts +20 -0
  35. package/dist/schemas/BookingUpdateBody.d.ts +12 -0
  36. package/dist/schemas/BookingUpdateRequest.d.ts +20 -0
  37. package/dist/schemas/CancelOrderBody.d.ts +8 -0
  38. package/dist/schemas/CancelOrderRequest_id.d.ts +2 -0
  39. package/dist/schemas/ConfirmOrderBody.d.ts +92 -0
  40. package/dist/schemas/ConfirmOrderPricingBody.d.ts +8 -0
  41. package/dist/schemas/ConfirmOrderRequest_id.d.ts +2 -0
  42. package/dist/schemas/CreateOrderBody.d.ts +92 -0
  43. package/dist/schemas/CreateOrderPricingBody.d.ts +8 -0
  44. package/dist/schemas/CreateOrderRequest_id.d.ts +2 -0
  45. package/dist/schemas/ExtendOrderBody.d.ts +8 -0
  46. package/dist/schemas/ExtendOrderRequest_id.d.ts +2 -0
  47. package/dist/schemas/GetMappingsQueryParams_optionId.d.ts +2 -0
  48. package/dist/schemas/GetMappingsQueryParams_productId.d.ts +2 -0
  49. package/dist/schemas/GetMappingsQueryParams_resellerReference.d.ts +2 -0
  50. package/dist/schemas/GetMappingsQueryParams_resellerStatus.d.ts +1 -0
  51. package/dist/schemas/GetMappingsRequest.d.ts +17 -0
  52. package/dist/schemas/GetOrderRequest_id.d.ts +2 -0
  53. package/dist/schemas/MappingToUpdate.d.ts +26 -0
  54. package/dist/schemas/OrderPathParams.d.ts +8 -0
  55. package/dist/schemas/ProductGoogle.d.ts +4 -4
  56. package/dist/schemas/UpdateMappingsRequest.d.ts +48 -0
  57. package/dist/schemas/UpdateOrderBody.d.ts +92 -0
  58. package/dist/schemas/UpdateOrderPricingBody.d.ts +8 -0
  59. package/dist/schemas/UpdateOrderRequest_id.d.ts +2 -0
  60. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const productGoogleSchema: z.ZodObject<{
3
- googleOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3
+ googleOptions: z.ZodOptional<z.ZodObject<{
4
4
  operator: z.ZodNullable<z.ZodObject<{
5
5
  name: z.ZodString;
6
6
  google_business_profile_name: z.ZodObject<{
@@ -214,7 +214,7 @@ export declare const productGoogleSchema: z.ZodObject<{
214
214
  };
215
215
  relation_type: string;
216
216
  }[];
217
- }>, "many">>;
217
+ }>>;
218
218
  }, "strip", z.ZodTypeAny, {
219
219
  googleOptions?: {
220
220
  operator: {
@@ -254,7 +254,7 @@ export declare const productGoogleSchema: z.ZodObject<{
254
254
  };
255
255
  relation_type: string;
256
256
  }[];
257
- }[] | undefined;
257
+ } | undefined;
258
258
  }, {
259
259
  googleOptions?: {
260
260
  operator: {
@@ -294,5 +294,5 @@ export declare const productGoogleSchema: z.ZodObject<{
294
294
  };
295
295
  relation_type: string;
296
296
  }[];
297
- }[] | undefined;
297
+ } | undefined;
298
298
  }>;
@@ -0,0 +1,48 @@
1
+ import { z } from 'zod';
2
+ export declare const updateMappingsRequestSchema: z.ZodObject<{
3
+ body: z.ZodArray<z.ZodObject<{
4
+ resellerReference: z.ZodString;
5
+ resellerStatus: z.ZodNativeEnum<typeof import("..").ResellerStatus>;
6
+ title: z.ZodString;
7
+ url: z.ZodString;
8
+ webhookUrl: z.ZodNullable<z.ZodString>;
9
+ optionRequired: z.ZodBoolean;
10
+ unitRequired: z.ZodBoolean;
11
+ }, "strip", z.ZodTypeAny, {
12
+ title: string;
13
+ url: string;
14
+ resellerReference: string;
15
+ resellerStatus: import("..").ResellerStatus;
16
+ webhookUrl: string | null;
17
+ optionRequired: boolean;
18
+ unitRequired: boolean;
19
+ }, {
20
+ title: string;
21
+ url: string;
22
+ resellerReference: string;
23
+ resellerStatus: import("..").ResellerStatus;
24
+ webhookUrl: string | null;
25
+ optionRequired: boolean;
26
+ unitRequired: boolean;
27
+ }>, "many">;
28
+ }, "strip", z.ZodTypeAny, {
29
+ body: {
30
+ title: string;
31
+ url: string;
32
+ resellerReference: string;
33
+ resellerStatus: import("..").ResellerStatus;
34
+ webhookUrl: string | null;
35
+ optionRequired: boolean;
36
+ unitRequired: boolean;
37
+ }[];
38
+ }, {
39
+ body: {
40
+ title: string;
41
+ url: string;
42
+ resellerReference: string;
43
+ resellerStatus: import("..").ResellerStatus;
44
+ webhookUrl: string | null;
45
+ optionRequired: boolean;
46
+ unitRequired: boolean;
47
+ }[];
48
+ }>;
@@ -0,0 +1,92 @@
1
+ import { z } from 'zod';
2
+ export declare const updateOrderBodySchema: z.ZodObject<{
3
+ expirationMinutes: z.ZodOptional<z.ZodNumber>;
4
+ emailReceipt: z.ZodOptional<z.ZodBoolean>;
5
+ contact: z.ZodOptional<z.ZodObject<{
6
+ fullName: z.ZodOptional<z.ZodString>;
7
+ firstName: z.ZodOptional<z.ZodString>;
8
+ lastName: z.ZodOptional<z.ZodString>;
9
+ emailAddress: z.ZodOptional<z.ZodString>;
10
+ phoneNumber: z.ZodOptional<z.ZodString>;
11
+ locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12
+ postalCode: z.ZodOptional<z.ZodString>;
13
+ country: z.ZodOptional<z.ZodString>;
14
+ notes: z.ZodOptional<z.ZodString>;
15
+ taxId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16
+ streetAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17
+ city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18
+ state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19
+ allowMarketing: z.ZodOptional<z.ZodBoolean>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ firstName?: string | undefined;
22
+ lastName?: string | undefined;
23
+ emailAddress?: string | undefined;
24
+ phoneNumber?: string | undefined;
25
+ country?: string | undefined;
26
+ notes?: string | undefined;
27
+ locales?: string[] | undefined;
28
+ allowMarketing?: boolean | undefined;
29
+ postalCode?: string | undefined;
30
+ state?: string | null | undefined;
31
+ fullName?: string | undefined;
32
+ taxId?: string | null | undefined;
33
+ streetAddress?: string | null | undefined;
34
+ city?: string | null | undefined;
35
+ }, {
36
+ firstName?: string | undefined;
37
+ lastName?: string | undefined;
38
+ emailAddress?: string | undefined;
39
+ phoneNumber?: string | undefined;
40
+ country?: string | undefined;
41
+ notes?: string | undefined;
42
+ locales?: string[] | undefined;
43
+ allowMarketing?: boolean | undefined;
44
+ postalCode?: string | undefined;
45
+ state?: string | null | undefined;
46
+ fullName?: string | undefined;
47
+ taxId?: string | null | undefined;
48
+ streetAddress?: string | null | undefined;
49
+ city?: string | null | undefined;
50
+ }>>;
51
+ currency: z.ZodOptional<z.ZodString>;
52
+ }, "strip", z.ZodTypeAny, {
53
+ currency?: string | undefined;
54
+ contact?: {
55
+ firstName?: string | undefined;
56
+ lastName?: string | undefined;
57
+ emailAddress?: string | undefined;
58
+ phoneNumber?: string | undefined;
59
+ country?: string | undefined;
60
+ notes?: string | undefined;
61
+ locales?: string[] | undefined;
62
+ allowMarketing?: boolean | undefined;
63
+ postalCode?: string | undefined;
64
+ state?: string | null | undefined;
65
+ fullName?: string | undefined;
66
+ taxId?: string | null | undefined;
67
+ streetAddress?: string | null | undefined;
68
+ city?: string | null | undefined;
69
+ } | undefined;
70
+ emailReceipt?: boolean | undefined;
71
+ expirationMinutes?: number | undefined;
72
+ }, {
73
+ currency?: string | undefined;
74
+ contact?: {
75
+ firstName?: string | undefined;
76
+ lastName?: string | undefined;
77
+ emailAddress?: string | undefined;
78
+ phoneNumber?: string | undefined;
79
+ country?: string | undefined;
80
+ notes?: string | undefined;
81
+ locales?: string[] | undefined;
82
+ allowMarketing?: boolean | undefined;
83
+ postalCode?: string | undefined;
84
+ state?: string | null | undefined;
85
+ fullName?: string | undefined;
86
+ taxId?: string | null | undefined;
87
+ streetAddress?: string | null | undefined;
88
+ city?: string | null | undefined;
89
+ } | undefined;
90
+ emailReceipt?: boolean | undefined;
91
+ expirationMinutes?: number | undefined;
92
+ }>;
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const updateOrderPricingBodySchema: z.ZodObject<{
3
+ currency: z.ZodOptional<z.ZodString>;
4
+ }, "strip", z.ZodTypeAny, {
5
+ currency?: string | undefined;
6
+ }, {
7
+ currency?: string | undefined;
8
+ }>;
@@ -0,0 +1,2 @@
1
+ import { z } from 'zod';
2
+ export declare const updateOrderRequest_idSchema: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ventrata/octo-types",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "private": false,
5
5
  "license": "ISC",
6
6
  "files": [