@kl1/contracts 1.1.45-uat → 1.1.46-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.
@@ -9623,13 +9623,13 @@ export declare const apiContract: {
9623
9623
  updateSla: {
9624
9624
  body: import("zod").ZodObject<{
9625
9625
  roomId: import("zod").ZodString;
9626
- slaStatus: import("zod").ZodEnum<["meet", "unmeet"]>;
9626
+ slaStatus: import("zod").ZodEnum<["meet", "unmeet", "-"]>;
9627
9627
  }, "strip", import("zod").ZodTypeAny, {
9628
9628
  roomId: string;
9629
- slaStatus: "meet" | "unmeet";
9629
+ slaStatus: "meet" | "unmeet" | "-";
9630
9630
  }, {
9631
9631
  roomId: string;
9632
- slaStatus: "meet" | "unmeet";
9632
+ slaStatus: "meet" | "unmeet" | "-";
9633
9633
  }>;
9634
9634
  method: "POST";
9635
9635
  responses: {
@@ -32084,6 +32084,334 @@ export declare const apiContract: {
32084
32084
  path: "/bots/";
32085
32085
  };
32086
32086
  };
32087
+ subscription: {
32088
+ getSubscription: {
32089
+ method: "GET";
32090
+ query: null;
32091
+ responses: {
32092
+ 200: import("zod").ZodObject<{
32093
+ requestId: import("zod").ZodString;
32094
+ subscription: import("zod").ZodObject<{
32095
+ id: import("zod").ZodString;
32096
+ createdAt: import("zod").ZodDate;
32097
+ updatedAt: import("zod").ZodDate;
32098
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32099
+ provider: import("zod").ZodString;
32100
+ type: import("zod").ZodString;
32101
+ subscriptionId: import("zod").ZodString;
32102
+ interval: import("zod").ZodString;
32103
+ quantity: import("zod").ZodNumber;
32104
+ amount: import("zod").ZodNumber;
32105
+ startAt: import("zod").ZodNullable<import("zod").ZodDate>;
32106
+ expireAt: import("zod").ZodDate;
32107
+ status: import("zod").ZodString;
32108
+ name: import("zod").ZodNullable<import("zod").ZodString>;
32109
+ subscriptionProducts: import("zod").ZodArray<import("zod").ZodObject<{
32110
+ id: import("zod").ZodString;
32111
+ createdAt: import("zod").ZodDate;
32112
+ updatedAt: import("zod").ZodDate;
32113
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32114
+ limit: import("zod").ZodNumber;
32115
+ subscriptionItemId: import("zod").ZodString;
32116
+ usage: import("zod").ZodNullable<import("zod").ZodNumber>;
32117
+ product: import("zod").ZodObject<{
32118
+ id: import("zod").ZodString;
32119
+ createdAt: import("zod").ZodDate;
32120
+ updatedAt: import("zod").ZodDate;
32121
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
32122
+ provider: import("zod").ZodString;
32123
+ productId: import("zod").ZodString;
32124
+ name: import("zod").ZodString;
32125
+ type: import("zod").ZodString;
32126
+ omnichannel: import("zod").ZodString;
32127
+ usageType: import("zod").ZodNullable<import("zod").ZodString>;
32128
+ }, "strip", import("zod").ZodTypeAny, {
32129
+ type: string;
32130
+ id: string;
32131
+ name: string;
32132
+ createdAt: Date;
32133
+ updatedAt: Date;
32134
+ deletedAt: Date | null;
32135
+ provider: string;
32136
+ productId: string;
32137
+ omnichannel: string;
32138
+ usageType: string | null;
32139
+ }, {
32140
+ type: string;
32141
+ id: string;
32142
+ name: string;
32143
+ createdAt: Date;
32144
+ updatedAt: Date;
32145
+ deletedAt: Date | null;
32146
+ provider: string;
32147
+ productId: string;
32148
+ omnichannel: string;
32149
+ usageType: string | null;
32150
+ }>;
32151
+ }, "strip", import("zod").ZodTypeAny, {
32152
+ id: string;
32153
+ product: {
32154
+ type: string;
32155
+ id: string;
32156
+ name: string;
32157
+ createdAt: Date;
32158
+ updatedAt: Date;
32159
+ deletedAt: Date | null;
32160
+ provider: string;
32161
+ productId: string;
32162
+ omnichannel: string;
32163
+ usageType: string | null;
32164
+ };
32165
+ createdAt: Date;
32166
+ updatedAt: Date;
32167
+ deletedAt: Date | null;
32168
+ limit: number;
32169
+ subscriptionItemId: string;
32170
+ usage: number | null;
32171
+ }, {
32172
+ id: string;
32173
+ product: {
32174
+ type: string;
32175
+ id: string;
32176
+ name: string;
32177
+ createdAt: Date;
32178
+ updatedAt: Date;
32179
+ deletedAt: Date | null;
32180
+ provider: string;
32181
+ productId: string;
32182
+ omnichannel: string;
32183
+ usageType: string | null;
32184
+ };
32185
+ createdAt: Date;
32186
+ updatedAt: Date;
32187
+ deletedAt: Date | null;
32188
+ limit: number;
32189
+ subscriptionItemId: string;
32190
+ usage: number | null;
32191
+ }>, "many">;
32192
+ }, "strip", import("zod").ZodTypeAny, {
32193
+ type: string;
32194
+ interval: string;
32195
+ id: string;
32196
+ name: string | null;
32197
+ status: string;
32198
+ createdAt: Date;
32199
+ updatedAt: Date;
32200
+ deletedAt: Date | null;
32201
+ provider: string;
32202
+ subscriptionId: string;
32203
+ quantity: number;
32204
+ amount: number;
32205
+ startAt: Date | null;
32206
+ expireAt: Date;
32207
+ subscriptionProducts: {
32208
+ id: string;
32209
+ product: {
32210
+ type: string;
32211
+ id: string;
32212
+ name: string;
32213
+ createdAt: Date;
32214
+ updatedAt: Date;
32215
+ deletedAt: Date | null;
32216
+ provider: string;
32217
+ productId: string;
32218
+ omnichannel: string;
32219
+ usageType: string | null;
32220
+ };
32221
+ createdAt: Date;
32222
+ updatedAt: Date;
32223
+ deletedAt: Date | null;
32224
+ limit: number;
32225
+ subscriptionItemId: string;
32226
+ usage: number | null;
32227
+ }[];
32228
+ }, {
32229
+ type: string;
32230
+ interval: string;
32231
+ id: string;
32232
+ name: string | null;
32233
+ status: string;
32234
+ createdAt: Date;
32235
+ updatedAt: Date;
32236
+ deletedAt: Date | null;
32237
+ provider: string;
32238
+ subscriptionId: string;
32239
+ quantity: number;
32240
+ amount: number;
32241
+ startAt: Date | null;
32242
+ expireAt: Date;
32243
+ subscriptionProducts: {
32244
+ id: string;
32245
+ product: {
32246
+ type: string;
32247
+ id: string;
32248
+ name: string;
32249
+ createdAt: Date;
32250
+ updatedAt: Date;
32251
+ deletedAt: Date | null;
32252
+ provider: string;
32253
+ productId: string;
32254
+ omnichannel: string;
32255
+ usageType: string | null;
32256
+ };
32257
+ createdAt: Date;
32258
+ updatedAt: Date;
32259
+ deletedAt: Date | null;
32260
+ limit: number;
32261
+ subscriptionItemId: string;
32262
+ usage: number | null;
32263
+ }[];
32264
+ }>;
32265
+ }, "strip", import("zod").ZodTypeAny, {
32266
+ requestId: string;
32267
+ subscription: {
32268
+ type: string;
32269
+ interval: string;
32270
+ id: string;
32271
+ name: string | null;
32272
+ status: string;
32273
+ createdAt: Date;
32274
+ updatedAt: Date;
32275
+ deletedAt: Date | null;
32276
+ provider: string;
32277
+ subscriptionId: string;
32278
+ quantity: number;
32279
+ amount: number;
32280
+ startAt: Date | null;
32281
+ expireAt: Date;
32282
+ subscriptionProducts: {
32283
+ id: string;
32284
+ product: {
32285
+ type: string;
32286
+ id: string;
32287
+ name: string;
32288
+ createdAt: Date;
32289
+ updatedAt: Date;
32290
+ deletedAt: Date | null;
32291
+ provider: string;
32292
+ productId: string;
32293
+ omnichannel: string;
32294
+ usageType: string | null;
32295
+ };
32296
+ createdAt: Date;
32297
+ updatedAt: Date;
32298
+ deletedAt: Date | null;
32299
+ limit: number;
32300
+ subscriptionItemId: string;
32301
+ usage: number | null;
32302
+ }[];
32303
+ };
32304
+ }, {
32305
+ requestId: string;
32306
+ subscription: {
32307
+ type: string;
32308
+ interval: string;
32309
+ id: string;
32310
+ name: string | null;
32311
+ status: string;
32312
+ createdAt: Date;
32313
+ updatedAt: Date;
32314
+ deletedAt: Date | null;
32315
+ provider: string;
32316
+ subscriptionId: string;
32317
+ quantity: number;
32318
+ amount: number;
32319
+ startAt: Date | null;
32320
+ expireAt: Date;
32321
+ subscriptionProducts: {
32322
+ id: string;
32323
+ product: {
32324
+ type: string;
32325
+ id: string;
32326
+ name: string;
32327
+ createdAt: Date;
32328
+ updatedAt: Date;
32329
+ deletedAt: Date | null;
32330
+ provider: string;
32331
+ productId: string;
32332
+ omnichannel: string;
32333
+ usageType: string | null;
32334
+ };
32335
+ createdAt: Date;
32336
+ updatedAt: Date;
32337
+ deletedAt: Date | null;
32338
+ limit: number;
32339
+ subscriptionItemId: string;
32340
+ usage: number | null;
32341
+ }[];
32342
+ };
32343
+ }>;
32344
+ 500: import("zod").ZodObject<{
32345
+ message: import("zod").ZodString;
32346
+ error: import("zod").ZodAny;
32347
+ }, "strip", import("zod").ZodTypeAny, {
32348
+ message: string;
32349
+ error?: any;
32350
+ }, {
32351
+ message: string;
32352
+ error?: any;
32353
+ }>;
32354
+ };
32355
+ path: "subscriptions/";
32356
+ };
32357
+ updateSubscription: {
32358
+ body: import("zod").ZodObject<{
32359
+ subscriptionId: import("zod").ZodString;
32360
+ subscriptionProducts: import("zod").ZodArray<import("zod").ZodObject<{
32361
+ productId: import("zod").ZodString;
32362
+ quantity: import("zod").ZodNumber;
32363
+ }, "strip", import("zod").ZodTypeAny, {
32364
+ productId: string;
32365
+ quantity: number;
32366
+ }, {
32367
+ productId: string;
32368
+ quantity: number;
32369
+ }>, "many">;
32370
+ }, "strip", import("zod").ZodTypeAny, {
32371
+ subscriptionId: string;
32372
+ subscriptionProducts: {
32373
+ productId: string;
32374
+ quantity: number;
32375
+ }[];
32376
+ }, {
32377
+ subscriptionId: string;
32378
+ subscriptionProducts: {
32379
+ productId: string;
32380
+ quantity: number;
32381
+ }[];
32382
+ }>;
32383
+ method: "PATCH";
32384
+ responses: {
32385
+ 200: import("zod").ZodObject<{
32386
+ requestId: import("zod").ZodString;
32387
+ message: import("zod").ZodString;
32388
+ requireCheckout: import("zod").ZodBoolean;
32389
+ checkoutUrl: import("zod").ZodNullable<import("zod").ZodString>;
32390
+ }, "strip", import("zod").ZodTypeAny, {
32391
+ message: string;
32392
+ requestId: string;
32393
+ requireCheckout: boolean;
32394
+ checkoutUrl: string | null;
32395
+ }, {
32396
+ message: string;
32397
+ requestId: string;
32398
+ requireCheckout: boolean;
32399
+ checkoutUrl: string | null;
32400
+ }>;
32401
+ 500: import("zod").ZodObject<{
32402
+ message: import("zod").ZodString;
32403
+ error: import("zod").ZodAny;
32404
+ }, "strip", import("zod").ZodTypeAny, {
32405
+ message: string;
32406
+ error?: any;
32407
+ }, {
32408
+ message: string;
32409
+ error?: any;
32410
+ }>;
32411
+ };
32412
+ path: "subscriptions/";
32413
+ };
32414
+ };
32087
32415
  };
32088
32416
  export declare const contactContract: {
32089
32417
  contact: {
@@ -122097,7 +122425,9 @@ export declare const telephonyContract: {
122097
122425
  agentCallsOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
122098
122426
  page: import("zod").ZodOptional<import("zod").ZodNumber>;
122099
122427
  pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
122428
+ module: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"cdrs">, import("zod").ZodLiteral<"call-logs">]>>>;
122100
122429
  }, "strip", import("zod").ZodTypeAny, {
122430
+ module: "cdrs" | "call-logs";
122101
122431
  type?: string[] | undefined;
122102
122432
  status?: string[] | undefined;
122103
122433
  userId?: string | undefined;
@@ -122125,6 +122455,7 @@ export declare const telephonyContract: {
122125
122455
  agentCallsOnly?: boolean | undefined;
122126
122456
  page?: number | undefined;
122127
122457
  pageSize?: number | undefined;
122458
+ module?: "cdrs" | "call-logs" | undefined;
122128
122459
  }>;
122129
122460
  responses: {
122130
122461
  200: null;