autosync_backend2 1.2.75 → 1.2.76
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.d.ts +10 -0
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4133,6 +4133,7 @@ export declare const app: Elysia<"", {
|
|
|
4133
4133
|
post: {
|
|
4134
4134
|
body: {
|
|
4135
4135
|
oldId?: number | null | undefined;
|
|
4136
|
+
description?: string | null | undefined;
|
|
4136
4137
|
paymentPackageId?: string | null | undefined;
|
|
4137
4138
|
amount: number;
|
|
4138
4139
|
state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
|
|
@@ -4150,6 +4151,7 @@ export declare const app: Elysia<"", {
|
|
|
4150
4151
|
updatedAt: string;
|
|
4151
4152
|
deletedAt: string | null;
|
|
4152
4153
|
oldId: number | null;
|
|
4154
|
+
description: string | null;
|
|
4153
4155
|
amount: number;
|
|
4154
4156
|
state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
|
|
4155
4157
|
cpOrderId: string;
|
|
@@ -4202,6 +4204,7 @@ export declare const app: Elysia<"", {
|
|
|
4202
4204
|
post: {
|
|
4203
4205
|
body: {
|
|
4204
4206
|
oldId?: number | null | undefined;
|
|
4207
|
+
description?: string | null | undefined;
|
|
4205
4208
|
paymentPackageId?: string | null | undefined;
|
|
4206
4209
|
phone: number;
|
|
4207
4210
|
amount: number;
|
|
@@ -4217,6 +4220,7 @@ export declare const app: Elysia<"", {
|
|
|
4217
4220
|
updatedAt: string;
|
|
4218
4221
|
deletedAt: string | null;
|
|
4219
4222
|
oldId: number | null;
|
|
4223
|
+
description: string | null;
|
|
4220
4224
|
amount: number;
|
|
4221
4225
|
state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
|
|
4222
4226
|
cpOrderId: string;
|
|
@@ -4277,6 +4281,7 @@ export declare const app: Elysia<"", {
|
|
|
4277
4281
|
post: {
|
|
4278
4282
|
body: {
|
|
4279
4283
|
oldId?: number | null | undefined;
|
|
4284
|
+
description?: string | null | undefined;
|
|
4280
4285
|
paymentPackageId?: string | null | undefined;
|
|
4281
4286
|
amount: number;
|
|
4282
4287
|
state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
|
|
@@ -4295,6 +4300,7 @@ export declare const app: Elysia<"", {
|
|
|
4295
4300
|
updatedAt: string;
|
|
4296
4301
|
deletedAt: string | null;
|
|
4297
4302
|
oldId: number | null;
|
|
4303
|
+
description: string | null;
|
|
4298
4304
|
amount: number;
|
|
4299
4305
|
state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
|
|
4300
4306
|
cpOrderId: string;
|
|
@@ -4413,6 +4419,7 @@ export declare const app: Elysia<"", {
|
|
|
4413
4419
|
post: {
|
|
4414
4420
|
body: {
|
|
4415
4421
|
oldId?: number | null | undefined;
|
|
4422
|
+
description?: string | null | undefined;
|
|
4416
4423
|
paymentPackageId?: string | null | undefined;
|
|
4417
4424
|
amount: number;
|
|
4418
4425
|
state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
|
|
@@ -4431,6 +4438,7 @@ export declare const app: Elysia<"", {
|
|
|
4431
4438
|
updatedAt: string;
|
|
4432
4439
|
deletedAt: string | null;
|
|
4433
4440
|
oldId: number | null;
|
|
4441
|
+
description: string | null;
|
|
4434
4442
|
amount: number;
|
|
4435
4443
|
state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
|
|
4436
4444
|
cpOrderId: string;
|
|
@@ -5157,6 +5165,7 @@ export declare const app: Elysia<"", {
|
|
|
5157
5165
|
amount: number;
|
|
5158
5166
|
state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
|
|
5159
5167
|
invoiceNumber: string | null;
|
|
5168
|
+
description: string | null;
|
|
5160
5169
|
id: string;
|
|
5161
5170
|
createdAt: string;
|
|
5162
5171
|
updatedAt: string;
|
|
@@ -7864,6 +7873,7 @@ export declare const app: Elysia<"", {
|
|
|
7864
7873
|
amount: number;
|
|
7865
7874
|
state: "PENDING" | "PAID" | "NOT_PAID" | "FAILED" | "EXPIRED" | "DECLINED" | "CANCELED" | "REFUNDING" | "REFUNDED";
|
|
7866
7875
|
invoiceNumber: string | null;
|
|
7876
|
+
description: string | null;
|
|
7867
7877
|
id: string;
|
|
7868
7878
|
createdAt: string;
|
|
7869
7879
|
updatedAt: string;
|
package/dist/index.js
CHANGED
|
@@ -143245,7 +143245,8 @@ var crmCpOrderPaymentTable = crmSchema.table("cp_order_payment", {
|
|
|
143245
143245
|
paymentChannel: varchar().notNull(),
|
|
143246
143246
|
amount: numeric({ mode: "number" }).notNull(),
|
|
143247
143247
|
state: crmCpOrderPaymentStateEnum().notNull(),
|
|
143248
|
-
invoiceNumber: varchar()
|
|
143248
|
+
invoiceNumber: varchar(),
|
|
143249
|
+
description: varchar()
|
|
143249
143250
|
}, (t2) => [index().on(t2.cpOrderId)]);
|
|
143250
143251
|
var crmDiscountTypeEnum = crmSchema.enum("discount_type", [
|
|
143251
143252
|
"PERCENTAGE",
|