@kl1/contracts 1.3.66 → 1.3.68

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,4 +33,5 @@ export * from './botpress';
33
33
  export * from './cx-intelligence';
34
34
  export * from './hold-label';
35
35
  export * from './export';
36
+ export * from './invoice';
36
37
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
@@ -0,0 +1,108 @@
1
+ import { z } from 'zod';
2
+ import { InvoiceSchema } from './schema';
3
+ export type Invoice = z.infer<typeof InvoiceSchema>;
4
+ export declare const invoiceContract: {
5
+ getInvoices: {
6
+ method: "GET";
7
+ query: null;
8
+ responses: {
9
+ 200: z.ZodObject<{
10
+ requestId: z.ZodString;
11
+ invoices: z.ZodArray<z.ZodObject<{
12
+ id: z.ZodString;
13
+ createdAt: z.ZodDate;
14
+ updatedAt: z.ZodDate;
15
+ deletedAt: z.ZodNullable<z.ZodDate>;
16
+ invoiceId: z.ZodString;
17
+ amountPaid: z.ZodNumber;
18
+ billingReason: z.ZodString;
19
+ collectionMethod: z.ZodString;
20
+ created: z.ZodNumber;
21
+ currency: z.ZodString;
22
+ hostedInvoiceUrl: z.ZodString;
23
+ invoicePdf: z.ZodString;
24
+ number: z.ZodString;
25
+ paid: z.ZodBoolean;
26
+ }, "strip", z.ZodTypeAny, {
27
+ number: string;
28
+ currency: string;
29
+ id: string;
30
+ createdAt: Date;
31
+ updatedAt: Date;
32
+ deletedAt: Date | null;
33
+ invoiceId: string;
34
+ amountPaid: number;
35
+ billingReason: string;
36
+ collectionMethod: string;
37
+ created: number;
38
+ hostedInvoiceUrl: string;
39
+ invoicePdf: string;
40
+ paid: boolean;
41
+ }, {
42
+ number: string;
43
+ currency: string;
44
+ id: string;
45
+ createdAt: Date;
46
+ updatedAt: Date;
47
+ deletedAt: Date | null;
48
+ invoiceId: string;
49
+ amountPaid: number;
50
+ billingReason: string;
51
+ collectionMethod: string;
52
+ created: number;
53
+ hostedInvoiceUrl: string;
54
+ invoicePdf: string;
55
+ paid: boolean;
56
+ }>, "many">;
57
+ }, "strip", z.ZodTypeAny, {
58
+ requestId: string;
59
+ invoices: {
60
+ number: string;
61
+ currency: string;
62
+ id: string;
63
+ createdAt: Date;
64
+ updatedAt: Date;
65
+ deletedAt: Date | null;
66
+ invoiceId: string;
67
+ amountPaid: number;
68
+ billingReason: string;
69
+ collectionMethod: string;
70
+ created: number;
71
+ hostedInvoiceUrl: string;
72
+ invoicePdf: string;
73
+ paid: boolean;
74
+ }[];
75
+ }, {
76
+ requestId: string;
77
+ invoices: {
78
+ number: string;
79
+ currency: string;
80
+ id: string;
81
+ createdAt: Date;
82
+ updatedAt: Date;
83
+ deletedAt: Date | null;
84
+ invoiceId: string;
85
+ amountPaid: number;
86
+ billingReason: string;
87
+ collectionMethod: string;
88
+ created: number;
89
+ hostedInvoiceUrl: string;
90
+ invoicePdf: string;
91
+ paid: boolean;
92
+ }[];
93
+ }>;
94
+ 500: z.ZodObject<{
95
+ message: z.ZodString;
96
+ error: z.ZodAny;
97
+ }, "strip", z.ZodTypeAny, {
98
+ message: string;
99
+ error?: any;
100
+ }, {
101
+ message: string;
102
+ error?: any;
103
+ }>;
104
+ };
105
+ path: "ms/invoices/";
106
+ };
107
+ };
108
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/invoice/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AACpD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiB3B,CAAC"}
@@ -0,0 +1,48 @@
1
+ import z from 'zod';
2
+ export declare const InvoiceSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ createdAt: z.ZodDate;
5
+ updatedAt: z.ZodDate;
6
+ deletedAt: z.ZodNullable<z.ZodDate>;
7
+ invoiceId: z.ZodString;
8
+ amountPaid: z.ZodNumber;
9
+ billingReason: z.ZodString;
10
+ collectionMethod: z.ZodString;
11
+ created: z.ZodNumber;
12
+ currency: z.ZodString;
13
+ hostedInvoiceUrl: z.ZodString;
14
+ invoicePdf: z.ZodString;
15
+ number: z.ZodString;
16
+ paid: z.ZodBoolean;
17
+ }, "strip", z.ZodTypeAny, {
18
+ number: string;
19
+ currency: string;
20
+ id: string;
21
+ createdAt: Date;
22
+ updatedAt: Date;
23
+ deletedAt: Date | null;
24
+ invoiceId: string;
25
+ amountPaid: number;
26
+ billingReason: string;
27
+ collectionMethod: string;
28
+ created: number;
29
+ hostedInvoiceUrl: string;
30
+ invoicePdf: string;
31
+ paid: boolean;
32
+ }, {
33
+ number: string;
34
+ currency: string;
35
+ id: string;
36
+ createdAt: Date;
37
+ updatedAt: Date;
38
+ deletedAt: Date | null;
39
+ invoiceId: string;
40
+ amountPaid: number;
41
+ billingReason: string;
42
+ collectionMethod: string;
43
+ created: number;
44
+ hostedInvoiceUrl: string;
45
+ invoicePdf: string;
46
+ paid: boolean;
47
+ }>;
48
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/invoice/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWxB,CAAC"}
@@ -37916,9 +37916,9 @@ export declare const mailContract: {
37916
37916
  clientId: string;
37917
37917
  provider: string;
37918
37918
  updated: string;
37919
+ created: string;
37919
37920
  enabled: boolean;
37920
37921
  legacy: boolean;
37921
- created: string;
37922
37922
  includeInListing: boolean;
37923
37923
  clientSecret: string;
37924
37924
  authority: string;
@@ -37935,9 +37935,9 @@ export declare const mailContract: {
37935
37935
  clientId: string;
37936
37936
  provider: string;
37937
37937
  updated: string;
37938
+ created: string;
37938
37939
  enabled: boolean;
37939
37940
  legacy: boolean;
37940
- created: string;
37941
37941
  includeInListing: boolean;
37942
37942
  clientSecret: string;
37943
37943
  authority: string;
@@ -37959,9 +37959,9 @@ export declare const mailContract: {
37959
37959
  clientId: string;
37960
37960
  provider: string;
37961
37961
  updated: string;
37962
+ created: string;
37962
37963
  enabled: boolean;
37963
37964
  legacy: boolean;
37964
- created: string;
37965
37965
  includeInListing: boolean;
37966
37966
  clientSecret: string;
37967
37967
  authority: string;
@@ -37983,9 +37983,9 @@ export declare const mailContract: {
37983
37983
  clientId: string;
37984
37984
  provider: string;
37985
37985
  updated: string;
37986
+ created: string;
37986
37987
  enabled: boolean;
37987
37988
  legacy: boolean;
37988
- created: string;
37989
37989
  includeInListing: boolean;
37990
37990
  clientSecret: string;
37991
37991
  authority: string;
@@ -38009,9 +38009,9 @@ export declare const mailContract: {
38009
38009
  clientId: string;
38010
38010
  provider: string;
38011
38011
  updated: string;
38012
+ created: string;
38012
38013
  enabled: boolean;
38013
38014
  legacy: boolean;
38014
- created: string;
38015
38015
  includeInListing: boolean;
38016
38016
  clientSecret: string;
38017
38017
  authority: string;
@@ -38036,9 +38036,9 @@ export declare const mailContract: {
38036
38036
  clientId: string;
38037
38037
  provider: string;
38038
38038
  updated: string;
38039
+ created: string;
38039
38040
  enabled: boolean;
38040
38041
  legacy: boolean;
38041
- created: string;
38042
38042
  includeInListing: boolean;
38043
38043
  clientSecret: string;
38044
38044
  authority: string;
@@ -217,9 +217,9 @@ export declare const serverContract: {
217
217
  clientId: string;
218
218
  provider: string;
219
219
  updated: string;
220
+ created: string;
220
221
  enabled: boolean;
221
222
  legacy: boolean;
222
- created: string;
223
223
  includeInListing: boolean;
224
224
  clientSecret: string;
225
225
  authority: string;
@@ -236,9 +236,9 @@ export declare const serverContract: {
236
236
  clientId: string;
237
237
  provider: string;
238
238
  updated: string;
239
+ created: string;
239
240
  enabled: boolean;
240
241
  legacy: boolean;
241
- created: string;
242
242
  includeInListing: boolean;
243
243
  clientSecret: string;
244
244
  authority: string;
@@ -260,9 +260,9 @@ export declare const serverContract: {
260
260
  clientId: string;
261
261
  provider: string;
262
262
  updated: string;
263
+ created: string;
263
264
  enabled: boolean;
264
265
  legacy: boolean;
265
- created: string;
266
266
  includeInListing: boolean;
267
267
  clientSecret: string;
268
268
  authority: string;
@@ -284,9 +284,9 @@ export declare const serverContract: {
284
284
  clientId: string;
285
285
  provider: string;
286
286
  updated: string;
287
+ created: string;
287
288
  enabled: boolean;
288
289
  legacy: boolean;
289
- created: string;
290
290
  includeInListing: boolean;
291
291
  clientSecret: string;
292
292
  authority: string;
@@ -310,9 +310,9 @@ export declare const serverContract: {
310
310
  clientId: string;
311
311
  provider: string;
312
312
  updated: string;
313
+ created: string;
313
314
  enabled: boolean;
314
315
  legacy: boolean;
315
- created: string;
316
316
  includeInListing: boolean;
317
317
  clientSecret: string;
318
318
  authority: string;
@@ -337,9 +337,9 @@ export declare const serverContract: {
337
337
  clientId: string;
338
338
  provider: string;
339
339
  updated: string;
340
+ created: string;
340
341
  enabled: boolean;
341
342
  legacy: boolean;
342
- created: string;
343
343
  includeInListing: boolean;
344
344
  clientSecret: string;
345
345
  authority: string;
@@ -173,9 +173,9 @@ export declare const OAuth2AppSchema: z.ZodObject<{
173
173
  clientId: string;
174
174
  provider: string;
175
175
  updated: string;
176
+ created: string;
176
177
  enabled: boolean;
177
178
  legacy: boolean;
178
- created: string;
179
179
  includeInListing: boolean;
180
180
  clientSecret: string;
181
181
  authority: string;
@@ -192,9 +192,9 @@ export declare const OAuth2AppSchema: z.ZodObject<{
192
192
  clientId: string;
193
193
  provider: string;
194
194
  updated: string;
195
+ created: string;
195
196
  enabled: boolean;
196
197
  legacy: boolean;
197
- created: string;
198
198
  includeInListing: boolean;
199
199
  clientSecret: string;
200
200
  authority: string;