@kl1/contracts 1.3.57 → 1.3.58

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,4 +34,5 @@ export * from './cx-intelligence';
34
34
  export * from './hold-label';
35
35
  export * from './widget';
36
36
  export * from './export';
37
+ export * from './invoice';
37
38
  //# 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;AACzB,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,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
@@ -0,0 +1,106 @@
1
+ import { z } from 'zod';
2
+ export declare const invoiceContract: {
3
+ getInvoices: {
4
+ method: "GET";
5
+ query: null;
6
+ responses: {
7
+ 200: z.ZodObject<{
8
+ requestId: z.ZodString;
9
+ invoices: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodString;
11
+ createdAt: z.ZodDate;
12
+ updatedAt: z.ZodDate;
13
+ deletedAt: z.ZodNullable<z.ZodDate>;
14
+ invoiceId: z.ZodString;
15
+ amountPaid: z.ZodNumber;
16
+ billingReason: z.ZodString;
17
+ collectionMethod: z.ZodString;
18
+ created: z.ZodNumber;
19
+ currency: z.ZodString;
20
+ hostedInvoiceUrl: z.ZodString;
21
+ invoicePdf: z.ZodString;
22
+ number: z.ZodString;
23
+ paid: z.ZodBoolean;
24
+ }, "strip", z.ZodTypeAny, {
25
+ number: string;
26
+ currency: string;
27
+ id: string;
28
+ createdAt: Date;
29
+ updatedAt: Date;
30
+ deletedAt: Date | null;
31
+ invoiceId: string;
32
+ amountPaid: number;
33
+ billingReason: string;
34
+ collectionMethod: string;
35
+ created: number;
36
+ hostedInvoiceUrl: string;
37
+ invoicePdf: string;
38
+ paid: boolean;
39
+ }, {
40
+ number: string;
41
+ currency: string;
42
+ id: string;
43
+ createdAt: Date;
44
+ updatedAt: Date;
45
+ deletedAt: Date | null;
46
+ invoiceId: string;
47
+ amountPaid: number;
48
+ billingReason: string;
49
+ collectionMethod: string;
50
+ created: number;
51
+ hostedInvoiceUrl: string;
52
+ invoicePdf: string;
53
+ paid: boolean;
54
+ }>, "many">;
55
+ }, "strip", z.ZodTypeAny, {
56
+ requestId: string;
57
+ invoices: {
58
+ number: string;
59
+ currency: string;
60
+ id: string;
61
+ createdAt: Date;
62
+ updatedAt: Date;
63
+ deletedAt: Date | null;
64
+ invoiceId: string;
65
+ amountPaid: number;
66
+ billingReason: string;
67
+ collectionMethod: string;
68
+ created: number;
69
+ hostedInvoiceUrl: string;
70
+ invoicePdf: string;
71
+ paid: boolean;
72
+ }[];
73
+ }, {
74
+ requestId: string;
75
+ invoices: {
76
+ number: string;
77
+ currency: string;
78
+ id: string;
79
+ createdAt: Date;
80
+ updatedAt: Date;
81
+ deletedAt: Date | null;
82
+ invoiceId: string;
83
+ amountPaid: number;
84
+ billingReason: string;
85
+ collectionMethod: string;
86
+ created: number;
87
+ hostedInvoiceUrl: string;
88
+ invoicePdf: string;
89
+ paid: boolean;
90
+ }[];
91
+ }>;
92
+ 500: z.ZodObject<{
93
+ message: z.ZodString;
94
+ error: z.ZodAny;
95
+ }, "strip", z.ZodTypeAny, {
96
+ message: string;
97
+ error?: any;
98
+ }, {
99
+ message: string;
100
+ error?: any;
101
+ }>;
102
+ };
103
+ path: "ms/invoices/";
104
+ };
105
+ };
106
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/invoice/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAO,CAAC,EAAE,MAAM,KAAK,CAAC;AAK7B,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;