@kl1/contracts 1.1.16-uat → 1.1.17-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.
- package/dist/index.js +335 -178
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +334 -178
- package/dist/index.mjs.map +1 -1
- package/dist/src/contract.d.ts +728 -0
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/snippet/index.d.ts +740 -0
- package/dist/src/snippet/index.d.ts.map +1 -0
- package/dist/src/snippet/schema.d.ts +131 -0
- package/dist/src/snippet/schema.d.ts.map +1 -0
- package/dist/src/snippet/validation.d.ts +80 -0
- package/dist/src/snippet/validation.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/src/contract.d.ts
CHANGED
@@ -41071,6 +41071,734 @@ export declare const apiContract: {
|
|
41071
41071
|
}>>>;
|
41072
41072
|
};
|
41073
41073
|
};
|
41074
|
+
snippet: {
|
41075
|
+
createSnippetGroup: {
|
41076
|
+
body: import("zod").ZodObject<{
|
41077
|
+
name: import("zod").ZodString;
|
41078
|
+
platformType: import("zod").ZodString;
|
41079
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41080
|
+
name: string;
|
41081
|
+
platformType: string;
|
41082
|
+
}, {
|
41083
|
+
name: string;
|
41084
|
+
platformType: string;
|
41085
|
+
}>;
|
41086
|
+
method: "POST";
|
41087
|
+
responses: {
|
41088
|
+
201: import("zod").ZodObject<{
|
41089
|
+
requestId: import("zod").ZodString;
|
41090
|
+
snippetgroup: import("zod").ZodObject<{
|
41091
|
+
id: import("zod").ZodString;
|
41092
|
+
createdAt: import("zod").ZodDate;
|
41093
|
+
updatedAt: import("zod").ZodDate;
|
41094
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41095
|
+
name: import("zod").ZodString;
|
41096
|
+
platformType: import("zod").ZodString;
|
41097
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41098
|
+
id: string;
|
41099
|
+
name: string;
|
41100
|
+
createdAt: Date;
|
41101
|
+
updatedAt: Date;
|
41102
|
+
deletedAt: Date | null;
|
41103
|
+
platformType: string;
|
41104
|
+
}, {
|
41105
|
+
id: string;
|
41106
|
+
name: string;
|
41107
|
+
createdAt: Date;
|
41108
|
+
updatedAt: Date;
|
41109
|
+
deletedAt: Date | null;
|
41110
|
+
platformType: string;
|
41111
|
+
}>;
|
41112
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41113
|
+
requestId: string;
|
41114
|
+
snippetgroup: {
|
41115
|
+
id: string;
|
41116
|
+
name: string;
|
41117
|
+
createdAt: Date;
|
41118
|
+
updatedAt: Date;
|
41119
|
+
deletedAt: Date | null;
|
41120
|
+
platformType: string;
|
41121
|
+
};
|
41122
|
+
}, {
|
41123
|
+
requestId: string;
|
41124
|
+
snippetgroup: {
|
41125
|
+
id: string;
|
41126
|
+
name: string;
|
41127
|
+
createdAt: Date;
|
41128
|
+
updatedAt: Date;
|
41129
|
+
deletedAt: Date | null;
|
41130
|
+
platformType: string;
|
41131
|
+
};
|
41132
|
+
}>;
|
41133
|
+
500: import("zod").ZodObject<{
|
41134
|
+
message: import("zod").ZodString;
|
41135
|
+
error: import("zod").ZodAny;
|
41136
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41137
|
+
message: string;
|
41138
|
+
error?: any;
|
41139
|
+
}, {
|
41140
|
+
message: string;
|
41141
|
+
error?: any;
|
41142
|
+
}>;
|
41143
|
+
};
|
41144
|
+
path: "snippets/groups";
|
41145
|
+
};
|
41146
|
+
getSnippetGroups: {
|
41147
|
+
method: "GET";
|
41148
|
+
query: null;
|
41149
|
+
responses: {
|
41150
|
+
200: import("zod").ZodObject<{
|
41151
|
+
requestId: import("zod").ZodString;
|
41152
|
+
snippetgroups: import("zod").ZodArray<import("zod").ZodObject<{
|
41153
|
+
id: import("zod").ZodString;
|
41154
|
+
createdAt: import("zod").ZodDate;
|
41155
|
+
updatedAt: import("zod").ZodDate;
|
41156
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41157
|
+
name: import("zod").ZodString;
|
41158
|
+
platformType: import("zod").ZodString;
|
41159
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41160
|
+
id: string;
|
41161
|
+
name: string;
|
41162
|
+
createdAt: Date;
|
41163
|
+
updatedAt: Date;
|
41164
|
+
deletedAt: Date | null;
|
41165
|
+
platformType: string;
|
41166
|
+
}, {
|
41167
|
+
id: string;
|
41168
|
+
name: string;
|
41169
|
+
createdAt: Date;
|
41170
|
+
updatedAt: Date;
|
41171
|
+
deletedAt: Date | null;
|
41172
|
+
platformType: string;
|
41173
|
+
}>, "many">;
|
41174
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41175
|
+
requestId: string;
|
41176
|
+
snippetgroups: {
|
41177
|
+
id: string;
|
41178
|
+
name: string;
|
41179
|
+
createdAt: Date;
|
41180
|
+
updatedAt: Date;
|
41181
|
+
deletedAt: Date | null;
|
41182
|
+
platformType: string;
|
41183
|
+
}[];
|
41184
|
+
}, {
|
41185
|
+
requestId: string;
|
41186
|
+
snippetgroups: {
|
41187
|
+
id: string;
|
41188
|
+
name: string;
|
41189
|
+
createdAt: Date;
|
41190
|
+
updatedAt: Date;
|
41191
|
+
deletedAt: Date | null;
|
41192
|
+
platformType: string;
|
41193
|
+
}[];
|
41194
|
+
}>;
|
41195
|
+
500: import("zod").ZodObject<{
|
41196
|
+
message: import("zod").ZodString;
|
41197
|
+
error: import("zod").ZodAny;
|
41198
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41199
|
+
message: string;
|
41200
|
+
error?: any;
|
41201
|
+
}, {
|
41202
|
+
message: string;
|
41203
|
+
error?: any;
|
41204
|
+
}>;
|
41205
|
+
};
|
41206
|
+
path: "snippets/groups";
|
41207
|
+
};
|
41208
|
+
updateSnippetGroup: {
|
41209
|
+
body: import("zod").ZodObject<{
|
41210
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
41211
|
+
paltformType: import("zod").ZodOptional<import("zod").ZodString>;
|
41212
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41213
|
+
name?: string | undefined;
|
41214
|
+
paltformType?: string | undefined;
|
41215
|
+
}, {
|
41216
|
+
name?: string | undefined;
|
41217
|
+
paltformType?: string | undefined;
|
41218
|
+
}>;
|
41219
|
+
method: "PATCH";
|
41220
|
+
pathParams: import("zod").ZodObject<{
|
41221
|
+
id: import("zod").ZodString;
|
41222
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41223
|
+
id: string;
|
41224
|
+
}, {
|
41225
|
+
id: string;
|
41226
|
+
}>;
|
41227
|
+
responses: {
|
41228
|
+
200: import("zod").ZodObject<{
|
41229
|
+
requestId: import("zod").ZodString;
|
41230
|
+
snippetgroup: import("zod").ZodObject<{
|
41231
|
+
id: import("zod").ZodString;
|
41232
|
+
createdAt: import("zod").ZodDate;
|
41233
|
+
updatedAt: import("zod").ZodDate;
|
41234
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41235
|
+
name: import("zod").ZodString;
|
41236
|
+
platformType: import("zod").ZodString;
|
41237
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41238
|
+
id: string;
|
41239
|
+
name: string;
|
41240
|
+
createdAt: Date;
|
41241
|
+
updatedAt: Date;
|
41242
|
+
deletedAt: Date | null;
|
41243
|
+
platformType: string;
|
41244
|
+
}, {
|
41245
|
+
id: string;
|
41246
|
+
name: string;
|
41247
|
+
createdAt: Date;
|
41248
|
+
updatedAt: Date;
|
41249
|
+
deletedAt: Date | null;
|
41250
|
+
platformType: string;
|
41251
|
+
}>;
|
41252
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41253
|
+
requestId: string;
|
41254
|
+
snippetgroup: {
|
41255
|
+
id: string;
|
41256
|
+
name: string;
|
41257
|
+
createdAt: Date;
|
41258
|
+
updatedAt: Date;
|
41259
|
+
deletedAt: Date | null;
|
41260
|
+
platformType: string;
|
41261
|
+
};
|
41262
|
+
}, {
|
41263
|
+
requestId: string;
|
41264
|
+
snippetgroup: {
|
41265
|
+
id: string;
|
41266
|
+
name: string;
|
41267
|
+
createdAt: Date;
|
41268
|
+
updatedAt: Date;
|
41269
|
+
deletedAt: Date | null;
|
41270
|
+
platformType: string;
|
41271
|
+
};
|
41272
|
+
}>;
|
41273
|
+
500: import("zod").ZodObject<{
|
41274
|
+
message: import("zod").ZodString;
|
41275
|
+
error: import("zod").ZodAny;
|
41276
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41277
|
+
message: string;
|
41278
|
+
error?: any;
|
41279
|
+
}, {
|
41280
|
+
message: string;
|
41281
|
+
error?: any;
|
41282
|
+
}>;
|
41283
|
+
};
|
41284
|
+
path: "snippets/groups/:id";
|
41285
|
+
};
|
41286
|
+
deleteSnippetGroup: {
|
41287
|
+
body: null;
|
41288
|
+
method: "DELETE";
|
41289
|
+
pathParams: import("zod").ZodObject<{
|
41290
|
+
id: import("zod").ZodString;
|
41291
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41292
|
+
id: string;
|
41293
|
+
}, {
|
41294
|
+
id: string;
|
41295
|
+
}>;
|
41296
|
+
responses: {
|
41297
|
+
200: import("zod").ZodObject<{
|
41298
|
+
requestId: import("zod").ZodString;
|
41299
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41300
|
+
requestId: string;
|
41301
|
+
}, {
|
41302
|
+
requestId: string;
|
41303
|
+
}>;
|
41304
|
+
500: import("zod").ZodObject<{
|
41305
|
+
message: import("zod").ZodString;
|
41306
|
+
error: import("zod").ZodAny;
|
41307
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41308
|
+
message: string;
|
41309
|
+
error?: any;
|
41310
|
+
}, {
|
41311
|
+
message: string;
|
41312
|
+
error?: any;
|
41313
|
+
}>;
|
41314
|
+
};
|
41315
|
+
path: "snippets/groups/:id";
|
41316
|
+
};
|
41317
|
+
getSnippets: {
|
41318
|
+
method: "GET";
|
41319
|
+
responses: {
|
41320
|
+
200: import("zod").ZodObject<{
|
41321
|
+
requestId: import("zod").ZodString;
|
41322
|
+
snippets: import("zod").ZodArray<import("zod").ZodObject<{
|
41323
|
+
id: import("zod").ZodString;
|
41324
|
+
createdAt: import("zod").ZodDate;
|
41325
|
+
updatedAt: import("zod").ZodDate;
|
41326
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41327
|
+
shortcutName: import("zod").ZodString;
|
41328
|
+
contentType: import("zod").ZodString;
|
41329
|
+
contentValue: import("zod").ZodNullable<import("zod").ZodString>;
|
41330
|
+
uploadId: import("zod").ZodNullable<import("zod").ZodString>;
|
41331
|
+
order: import("zod").ZodOptional<import("zod").ZodNumber>;
|
41332
|
+
snippetGroupId: import("zod").ZodString;
|
41333
|
+
snippetGroup: import("zod").ZodObject<{
|
41334
|
+
id: import("zod").ZodString;
|
41335
|
+
createdAt: import("zod").ZodDate;
|
41336
|
+
updatedAt: import("zod").ZodDate;
|
41337
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41338
|
+
name: import("zod").ZodString;
|
41339
|
+
platformType: import("zod").ZodString;
|
41340
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41341
|
+
id: string;
|
41342
|
+
name: string;
|
41343
|
+
createdAt: Date;
|
41344
|
+
updatedAt: Date;
|
41345
|
+
deletedAt: Date | null;
|
41346
|
+
platformType: string;
|
41347
|
+
}, {
|
41348
|
+
id: string;
|
41349
|
+
name: string;
|
41350
|
+
createdAt: Date;
|
41351
|
+
updatedAt: Date;
|
41352
|
+
deletedAt: Date | null;
|
41353
|
+
platformType: string;
|
41354
|
+
}>;
|
41355
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41356
|
+
id: string;
|
41357
|
+
createdAt: Date;
|
41358
|
+
updatedAt: Date;
|
41359
|
+
deletedAt: Date | null;
|
41360
|
+
contentType: string;
|
41361
|
+
uploadId: string | null;
|
41362
|
+
shortcutName: string;
|
41363
|
+
contentValue: string | null;
|
41364
|
+
snippetGroupId: string;
|
41365
|
+
snippetGroup: {
|
41366
|
+
id: string;
|
41367
|
+
name: string;
|
41368
|
+
createdAt: Date;
|
41369
|
+
updatedAt: Date;
|
41370
|
+
deletedAt: Date | null;
|
41371
|
+
platformType: string;
|
41372
|
+
};
|
41373
|
+
order?: number | undefined;
|
41374
|
+
}, {
|
41375
|
+
id: string;
|
41376
|
+
createdAt: Date;
|
41377
|
+
updatedAt: Date;
|
41378
|
+
deletedAt: Date | null;
|
41379
|
+
contentType: string;
|
41380
|
+
uploadId: string | null;
|
41381
|
+
shortcutName: string;
|
41382
|
+
contentValue: string | null;
|
41383
|
+
snippetGroupId: string;
|
41384
|
+
snippetGroup: {
|
41385
|
+
id: string;
|
41386
|
+
name: string;
|
41387
|
+
createdAt: Date;
|
41388
|
+
updatedAt: Date;
|
41389
|
+
deletedAt: Date | null;
|
41390
|
+
platformType: string;
|
41391
|
+
};
|
41392
|
+
order?: number | undefined;
|
41393
|
+
}>, "many">;
|
41394
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41395
|
+
requestId: string;
|
41396
|
+
snippets: {
|
41397
|
+
id: string;
|
41398
|
+
createdAt: Date;
|
41399
|
+
updatedAt: Date;
|
41400
|
+
deletedAt: Date | null;
|
41401
|
+
contentType: string;
|
41402
|
+
uploadId: string | null;
|
41403
|
+
shortcutName: string;
|
41404
|
+
contentValue: string | null;
|
41405
|
+
snippetGroupId: string;
|
41406
|
+
snippetGroup: {
|
41407
|
+
id: string;
|
41408
|
+
name: string;
|
41409
|
+
createdAt: Date;
|
41410
|
+
updatedAt: Date;
|
41411
|
+
deletedAt: Date | null;
|
41412
|
+
platformType: string;
|
41413
|
+
};
|
41414
|
+
order?: number | undefined;
|
41415
|
+
}[];
|
41416
|
+
}, {
|
41417
|
+
requestId: string;
|
41418
|
+
snippets: {
|
41419
|
+
id: string;
|
41420
|
+
createdAt: Date;
|
41421
|
+
updatedAt: Date;
|
41422
|
+
deletedAt: Date | null;
|
41423
|
+
contentType: string;
|
41424
|
+
uploadId: string | null;
|
41425
|
+
shortcutName: string;
|
41426
|
+
contentValue: string | null;
|
41427
|
+
snippetGroupId: string;
|
41428
|
+
snippetGroup: {
|
41429
|
+
id: string;
|
41430
|
+
name: string;
|
41431
|
+
createdAt: Date;
|
41432
|
+
updatedAt: Date;
|
41433
|
+
deletedAt: Date | null;
|
41434
|
+
platformType: string;
|
41435
|
+
};
|
41436
|
+
order?: number | undefined;
|
41437
|
+
}[];
|
41438
|
+
}>;
|
41439
|
+
500: import("zod").ZodObject<{
|
41440
|
+
message: import("zod").ZodString;
|
41441
|
+
error: import("zod").ZodAny;
|
41442
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41443
|
+
message: string;
|
41444
|
+
error?: any;
|
41445
|
+
}, {
|
41446
|
+
message: string;
|
41447
|
+
error?: any;
|
41448
|
+
}>;
|
41449
|
+
};
|
41450
|
+
path: "snippets";
|
41451
|
+
};
|
41452
|
+
createSnippet: {
|
41453
|
+
body: import("zod").ZodObject<{
|
41454
|
+
shortcutName: import("zod").ZodString;
|
41455
|
+
contentType: import("zod").ZodString;
|
41456
|
+
contentValue: import("zod").ZodOptional<import("zod").ZodString>;
|
41457
|
+
snippetGroupId: import("zod").ZodString;
|
41458
|
+
platformType: import("zod").ZodString;
|
41459
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41460
|
+
contentType: string;
|
41461
|
+
platformType: string;
|
41462
|
+
shortcutName: string;
|
41463
|
+
snippetGroupId: string;
|
41464
|
+
contentValue?: string | undefined;
|
41465
|
+
}, {
|
41466
|
+
contentType: string;
|
41467
|
+
platformType: string;
|
41468
|
+
shortcutName: string;
|
41469
|
+
snippetGroupId: string;
|
41470
|
+
contentValue?: string | undefined;
|
41471
|
+
}>;
|
41472
|
+
method: "POST";
|
41473
|
+
responses: {
|
41474
|
+
201: import("zod").ZodObject<{
|
41475
|
+
requestId: import("zod").ZodString;
|
41476
|
+
snippet: import("zod").ZodObject<{
|
41477
|
+
id: import("zod").ZodString;
|
41478
|
+
createdAt: import("zod").ZodDate;
|
41479
|
+
updatedAt: import("zod").ZodDate;
|
41480
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41481
|
+
shortcutName: import("zod").ZodString;
|
41482
|
+
contentType: import("zod").ZodString;
|
41483
|
+
contentValue: import("zod").ZodNullable<import("zod").ZodString>;
|
41484
|
+
uploadId: import("zod").ZodNullable<import("zod").ZodString>;
|
41485
|
+
order: import("zod").ZodOptional<import("zod").ZodNumber>;
|
41486
|
+
snippetGroupId: import("zod").ZodString;
|
41487
|
+
snippetGroup: import("zod").ZodObject<{
|
41488
|
+
id: import("zod").ZodString;
|
41489
|
+
createdAt: import("zod").ZodDate;
|
41490
|
+
updatedAt: import("zod").ZodDate;
|
41491
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41492
|
+
name: import("zod").ZodString;
|
41493
|
+
platformType: import("zod").ZodString;
|
41494
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41495
|
+
id: string;
|
41496
|
+
name: string;
|
41497
|
+
createdAt: Date;
|
41498
|
+
updatedAt: Date;
|
41499
|
+
deletedAt: Date | null;
|
41500
|
+
platformType: string;
|
41501
|
+
}, {
|
41502
|
+
id: string;
|
41503
|
+
name: string;
|
41504
|
+
createdAt: Date;
|
41505
|
+
updatedAt: Date;
|
41506
|
+
deletedAt: Date | null;
|
41507
|
+
platformType: string;
|
41508
|
+
}>;
|
41509
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41510
|
+
id: string;
|
41511
|
+
createdAt: Date;
|
41512
|
+
updatedAt: Date;
|
41513
|
+
deletedAt: Date | null;
|
41514
|
+
contentType: string;
|
41515
|
+
uploadId: string | null;
|
41516
|
+
shortcutName: string;
|
41517
|
+
contentValue: string | null;
|
41518
|
+
snippetGroupId: string;
|
41519
|
+
snippetGroup: {
|
41520
|
+
id: string;
|
41521
|
+
name: string;
|
41522
|
+
createdAt: Date;
|
41523
|
+
updatedAt: Date;
|
41524
|
+
deletedAt: Date | null;
|
41525
|
+
platformType: string;
|
41526
|
+
};
|
41527
|
+
order?: number | undefined;
|
41528
|
+
}, {
|
41529
|
+
id: string;
|
41530
|
+
createdAt: Date;
|
41531
|
+
updatedAt: Date;
|
41532
|
+
deletedAt: Date | null;
|
41533
|
+
contentType: string;
|
41534
|
+
uploadId: string | null;
|
41535
|
+
shortcutName: string;
|
41536
|
+
contentValue: string | null;
|
41537
|
+
snippetGroupId: string;
|
41538
|
+
snippetGroup: {
|
41539
|
+
id: string;
|
41540
|
+
name: string;
|
41541
|
+
createdAt: Date;
|
41542
|
+
updatedAt: Date;
|
41543
|
+
deletedAt: Date | null;
|
41544
|
+
platformType: string;
|
41545
|
+
};
|
41546
|
+
order?: number | undefined;
|
41547
|
+
}>;
|
41548
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41549
|
+
requestId: string;
|
41550
|
+
snippet: {
|
41551
|
+
id: string;
|
41552
|
+
createdAt: Date;
|
41553
|
+
updatedAt: Date;
|
41554
|
+
deletedAt: Date | null;
|
41555
|
+
contentType: string;
|
41556
|
+
uploadId: string | null;
|
41557
|
+
shortcutName: string;
|
41558
|
+
contentValue: string | null;
|
41559
|
+
snippetGroupId: string;
|
41560
|
+
snippetGroup: {
|
41561
|
+
id: string;
|
41562
|
+
name: string;
|
41563
|
+
createdAt: Date;
|
41564
|
+
updatedAt: Date;
|
41565
|
+
deletedAt: Date | null;
|
41566
|
+
platformType: string;
|
41567
|
+
};
|
41568
|
+
order?: number | undefined;
|
41569
|
+
};
|
41570
|
+
}, {
|
41571
|
+
requestId: string;
|
41572
|
+
snippet: {
|
41573
|
+
id: string;
|
41574
|
+
createdAt: Date;
|
41575
|
+
updatedAt: Date;
|
41576
|
+
deletedAt: Date | null;
|
41577
|
+
contentType: string;
|
41578
|
+
uploadId: string | null;
|
41579
|
+
shortcutName: string;
|
41580
|
+
contentValue: string | null;
|
41581
|
+
snippetGroupId: string;
|
41582
|
+
snippetGroup: {
|
41583
|
+
id: string;
|
41584
|
+
name: string;
|
41585
|
+
createdAt: Date;
|
41586
|
+
updatedAt: Date;
|
41587
|
+
deletedAt: Date | null;
|
41588
|
+
platformType: string;
|
41589
|
+
};
|
41590
|
+
order?: number | undefined;
|
41591
|
+
};
|
41592
|
+
}>;
|
41593
|
+
500: import("zod").ZodObject<{
|
41594
|
+
message: import("zod").ZodString;
|
41595
|
+
error: import("zod").ZodAny;
|
41596
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41597
|
+
message: string;
|
41598
|
+
error?: any;
|
41599
|
+
}, {
|
41600
|
+
message: string;
|
41601
|
+
error?: any;
|
41602
|
+
}>;
|
41603
|
+
};
|
41604
|
+
path: "snippets";
|
41605
|
+
};
|
41606
|
+
updateSnippet: {
|
41607
|
+
body: import("zod").ZodObject<{
|
41608
|
+
contentType: import("zod").ZodString;
|
41609
|
+
platformType: import("zod").ZodString;
|
41610
|
+
shortcutName: import("zod").ZodString;
|
41611
|
+
contentValue: import("zod").ZodOptional<import("zod").ZodString>;
|
41612
|
+
snippetGroupId: import("zod").ZodString;
|
41613
|
+
snippetId: import("zod").ZodString;
|
41614
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41615
|
+
contentType: string;
|
41616
|
+
platformType: string;
|
41617
|
+
shortcutName: string;
|
41618
|
+
snippetGroupId: string;
|
41619
|
+
snippetId: string;
|
41620
|
+
contentValue?: string | undefined;
|
41621
|
+
}, {
|
41622
|
+
contentType: string;
|
41623
|
+
platformType: string;
|
41624
|
+
shortcutName: string;
|
41625
|
+
snippetGroupId: string;
|
41626
|
+
snippetId: string;
|
41627
|
+
contentValue?: string | undefined;
|
41628
|
+
}>;
|
41629
|
+
method: "PATCH";
|
41630
|
+
pathParams: import("zod").ZodObject<{
|
41631
|
+
id: import("zod").ZodString;
|
41632
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41633
|
+
id: string;
|
41634
|
+
}, {
|
41635
|
+
id: string;
|
41636
|
+
}>;
|
41637
|
+
responses: {
|
41638
|
+
200: import("zod").ZodObject<{
|
41639
|
+
requestId: import("zod").ZodString;
|
41640
|
+
snippet: import("zod").ZodObject<{
|
41641
|
+
id: import("zod").ZodString;
|
41642
|
+
createdAt: import("zod").ZodDate;
|
41643
|
+
updatedAt: import("zod").ZodDate;
|
41644
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41645
|
+
shortcutName: import("zod").ZodString;
|
41646
|
+
contentType: import("zod").ZodString;
|
41647
|
+
contentValue: import("zod").ZodNullable<import("zod").ZodString>;
|
41648
|
+
uploadId: import("zod").ZodNullable<import("zod").ZodString>;
|
41649
|
+
order: import("zod").ZodOptional<import("zod").ZodNumber>;
|
41650
|
+
snippetGroupId: import("zod").ZodString;
|
41651
|
+
snippetGroup: import("zod").ZodObject<{
|
41652
|
+
id: import("zod").ZodString;
|
41653
|
+
createdAt: import("zod").ZodDate;
|
41654
|
+
updatedAt: import("zod").ZodDate;
|
41655
|
+
deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
41656
|
+
name: import("zod").ZodString;
|
41657
|
+
platformType: import("zod").ZodString;
|
41658
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41659
|
+
id: string;
|
41660
|
+
name: string;
|
41661
|
+
createdAt: Date;
|
41662
|
+
updatedAt: Date;
|
41663
|
+
deletedAt: Date | null;
|
41664
|
+
platformType: string;
|
41665
|
+
}, {
|
41666
|
+
id: string;
|
41667
|
+
name: string;
|
41668
|
+
createdAt: Date;
|
41669
|
+
updatedAt: Date;
|
41670
|
+
deletedAt: Date | null;
|
41671
|
+
platformType: string;
|
41672
|
+
}>;
|
41673
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41674
|
+
id: string;
|
41675
|
+
createdAt: Date;
|
41676
|
+
updatedAt: Date;
|
41677
|
+
deletedAt: Date | null;
|
41678
|
+
contentType: string;
|
41679
|
+
uploadId: string | null;
|
41680
|
+
shortcutName: string;
|
41681
|
+
contentValue: string | null;
|
41682
|
+
snippetGroupId: string;
|
41683
|
+
snippetGroup: {
|
41684
|
+
id: string;
|
41685
|
+
name: string;
|
41686
|
+
createdAt: Date;
|
41687
|
+
updatedAt: Date;
|
41688
|
+
deletedAt: Date | null;
|
41689
|
+
platformType: string;
|
41690
|
+
};
|
41691
|
+
order?: number | undefined;
|
41692
|
+
}, {
|
41693
|
+
id: string;
|
41694
|
+
createdAt: Date;
|
41695
|
+
updatedAt: Date;
|
41696
|
+
deletedAt: Date | null;
|
41697
|
+
contentType: string;
|
41698
|
+
uploadId: string | null;
|
41699
|
+
shortcutName: string;
|
41700
|
+
contentValue: string | null;
|
41701
|
+
snippetGroupId: string;
|
41702
|
+
snippetGroup: {
|
41703
|
+
id: string;
|
41704
|
+
name: string;
|
41705
|
+
createdAt: Date;
|
41706
|
+
updatedAt: Date;
|
41707
|
+
deletedAt: Date | null;
|
41708
|
+
platformType: string;
|
41709
|
+
};
|
41710
|
+
order?: number | undefined;
|
41711
|
+
}>;
|
41712
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41713
|
+
requestId: string;
|
41714
|
+
snippet: {
|
41715
|
+
id: string;
|
41716
|
+
createdAt: Date;
|
41717
|
+
updatedAt: Date;
|
41718
|
+
deletedAt: Date | null;
|
41719
|
+
contentType: string;
|
41720
|
+
uploadId: string | null;
|
41721
|
+
shortcutName: string;
|
41722
|
+
contentValue: string | null;
|
41723
|
+
snippetGroupId: string;
|
41724
|
+
snippetGroup: {
|
41725
|
+
id: string;
|
41726
|
+
name: string;
|
41727
|
+
createdAt: Date;
|
41728
|
+
updatedAt: Date;
|
41729
|
+
deletedAt: Date | null;
|
41730
|
+
platformType: string;
|
41731
|
+
};
|
41732
|
+
order?: number | undefined;
|
41733
|
+
};
|
41734
|
+
}, {
|
41735
|
+
requestId: string;
|
41736
|
+
snippet: {
|
41737
|
+
id: string;
|
41738
|
+
createdAt: Date;
|
41739
|
+
updatedAt: Date;
|
41740
|
+
deletedAt: Date | null;
|
41741
|
+
contentType: string;
|
41742
|
+
uploadId: string | null;
|
41743
|
+
shortcutName: string;
|
41744
|
+
contentValue: string | null;
|
41745
|
+
snippetGroupId: string;
|
41746
|
+
snippetGroup: {
|
41747
|
+
id: string;
|
41748
|
+
name: string;
|
41749
|
+
createdAt: Date;
|
41750
|
+
updatedAt: Date;
|
41751
|
+
deletedAt: Date | null;
|
41752
|
+
platformType: string;
|
41753
|
+
};
|
41754
|
+
order?: number | undefined;
|
41755
|
+
};
|
41756
|
+
}>;
|
41757
|
+
500: import("zod").ZodObject<{
|
41758
|
+
message: import("zod").ZodString;
|
41759
|
+
error: import("zod").ZodAny;
|
41760
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41761
|
+
message: string;
|
41762
|
+
error?: any;
|
41763
|
+
}, {
|
41764
|
+
message: string;
|
41765
|
+
error?: any;
|
41766
|
+
}>;
|
41767
|
+
};
|
41768
|
+
path: "snippets/:id";
|
41769
|
+
};
|
41770
|
+
deleteSnippet: {
|
41771
|
+
body: null;
|
41772
|
+
method: "DELETE";
|
41773
|
+
pathParams: import("zod").ZodObject<{
|
41774
|
+
id: import("zod").ZodString;
|
41775
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41776
|
+
id: string;
|
41777
|
+
}, {
|
41778
|
+
id: string;
|
41779
|
+
}>;
|
41780
|
+
responses: {
|
41781
|
+
200: import("zod").ZodObject<{
|
41782
|
+
requestId: import("zod").ZodString;
|
41783
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41784
|
+
requestId: string;
|
41785
|
+
}, {
|
41786
|
+
requestId: string;
|
41787
|
+
}>;
|
41788
|
+
500: import("zod").ZodObject<{
|
41789
|
+
message: import("zod").ZodString;
|
41790
|
+
error: import("zod").ZodAny;
|
41791
|
+
}, "strip", import("zod").ZodTypeAny, {
|
41792
|
+
message: string;
|
41793
|
+
error?: any;
|
41794
|
+
}, {
|
41795
|
+
message: string;
|
41796
|
+
error?: any;
|
41797
|
+
}>;
|
41798
|
+
};
|
41799
|
+
path: "snippets/:id";
|
41800
|
+
};
|
41801
|
+
};
|
41074
41802
|
};
|
41075
41803
|
export declare const contactContract: {
|
41076
41804
|
contact: {
|