@kl1/contracts 1.1.22 → 1.1.23-uat

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.
@@ -21,4 +21,5 @@ export * from './permission';
21
21
  export * from './chat';
22
22
  export * from './channel';
23
23
  export * from './notification';
24
+ export * from './snippet';
24
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAE3B,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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAE3B,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"}
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/line/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS7B,CAAA"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/line/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/line/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8DhC,CAAC"}
@@ -100,8 +100,71 @@ export declare const accountContract: {
100
100
  'x-client-timezone'?: string | undefined;
101
101
  }>>>;
102
102
  };
103
+ sync: {
104
+ summary: "Sync all accounts state from email engine to system";
105
+ method: "GET";
106
+ responses: {
107
+ 401: z.ZodObject<{
108
+ message: z.ZodString;
109
+ error: z.ZodAny;
110
+ }, "strip", z.ZodTypeAny, {
111
+ message: string;
112
+ error?: any;
113
+ }, {
114
+ message: string;
115
+ error?: any;
116
+ }>;
117
+ 404: z.ZodObject<{
118
+ message: z.ZodString;
119
+ error: z.ZodAny;
120
+ }, "strip", z.ZodTypeAny, {
121
+ message: string;
122
+ error?: any;
123
+ }, {
124
+ message: string;
125
+ error?: any;
126
+ }>;
127
+ 422: z.ZodObject<{
128
+ message: z.ZodString;
129
+ error: z.ZodAny;
130
+ }, "strip", z.ZodTypeAny, {
131
+ message: string;
132
+ error?: any;
133
+ }, {
134
+ message: string;
135
+ error?: any;
136
+ }>;
137
+ 200: z.ZodObject<{
138
+ requestId: z.ZodString;
139
+ message: z.ZodString;
140
+ }, "strip", z.ZodTypeAny, {
141
+ message: string;
142
+ requestId: string;
143
+ }, {
144
+ message: string;
145
+ requestId: string;
146
+ }>;
147
+ };
148
+ path: "mail/account/sync";
149
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
150
+ 'x-tenant': z.ZodString;
151
+ authorization: z.ZodString;
152
+ 'x-code': z.ZodOptional<z.ZodString>;
153
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
154
+ }, "strip", z.ZodTypeAny, {
155
+ 'x-tenant': string;
156
+ authorization: string;
157
+ 'x-client-timezone': string;
158
+ 'x-code'?: string | undefined;
159
+ }, {
160
+ 'x-tenant': string;
161
+ authorization: string;
162
+ 'x-code'?: string | undefined;
163
+ 'x-client-timezone'?: string | undefined;
164
+ }>>>;
165
+ };
103
166
  getById: {
104
- summary: "Get a account by id";
167
+ summary: "Get an account by id";
105
168
  method: "GET";
106
169
  pathParams: z.ZodObject<{
107
170
  id: z.ZodString;
@@ -326,6 +389,16 @@ export declare const accountContract: {
326
389
  getAll: {
327
390
  summary: "Get all accounts";
328
391
  method: "GET";
392
+ query: z.ZodOptional<z.ZodObject<{
393
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">]>>;
394
+ withDeleted: z.ZodDefault<z.ZodBoolean>;
395
+ }, "strip", z.ZodTypeAny, {
396
+ withDeleted: boolean;
397
+ state?: "connected" | "disconnected" | undefined;
398
+ }, {
399
+ state?: "connected" | "disconnected" | undefined;
400
+ withDeleted?: boolean | undefined;
401
+ }>>;
329
402
  responses: {
330
403
  401: z.ZodObject<{
331
404
  message: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"account-contract.d.ts","sourceRoot":"","sources":["../../../src/mail/account-contract.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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