@deliverart/sdk-js-order 2.4.8 → 2.4.10

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.cts CHANGED
@@ -7655,11 +7655,29 @@ declare const payOrderInputSchema: z.ZodObject<{
7655
7655
  }, z.core.$strip>;
7656
7656
  type PayOrderInput = z.infer<typeof payOrderInputSchema>;
7657
7657
  declare const payOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7658
+ id: z.ZodString;
7659
+ status: z.ZodEnum<{
7660
+ pending: "pending";
7661
+ pending_verification: "pending_verification";
7662
+ paid: "paid";
7663
+ canceled: "canceled";
7664
+ refunded: "refunded";
7665
+ failed: "failed";
7666
+ }>;
7658
7667
  amount: z.ZodString;
7659
7668
  method: z.ZodLiteral<"stripe">;
7660
7669
  sessionUrl: z.ZodString;
7661
7670
  expiresAt: z.ZodString;
7662
7671
  }, z.core.$strip>, z.ZodObject<{
7672
+ id: z.ZodString;
7673
+ status: z.ZodEnum<{
7674
+ pending: "pending";
7675
+ pending_verification: "pending_verification";
7676
+ paid: "paid";
7677
+ canceled: "canceled";
7678
+ refunded: "refunded";
7679
+ failed: "failed";
7680
+ }>;
7663
7681
  amount: z.ZodString;
7664
7682
  method: z.ZodLiteral<"bank_transfer">;
7665
7683
  iban: z.ZodString;
@@ -7670,9 +7688,27 @@ declare const payOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7670
7688
  currency: z.ZodString;
7671
7689
  description: z.ZodString;
7672
7690
  }, z.core.$strip>, z.ZodObject<{
7691
+ id: z.ZodString;
7692
+ status: z.ZodEnum<{
7693
+ pending: "pending";
7694
+ pending_verification: "pending_verification";
7695
+ paid: "paid";
7696
+ canceled: "canceled";
7697
+ refunded: "refunded";
7698
+ failed: "failed";
7699
+ }>;
7673
7700
  amount: z.ZodString;
7674
7701
  method: z.ZodLiteral<"cash">;
7675
7702
  }, z.core.$strip>, z.ZodObject<{
7703
+ id: z.ZodString;
7704
+ status: z.ZodEnum<{
7705
+ pending: "pending";
7706
+ pending_verification: "pending_verification";
7707
+ paid: "paid";
7708
+ canceled: "canceled";
7709
+ refunded: "refunded";
7710
+ failed: "failed";
7711
+ }>;
7676
7712
  amount: z.ZodString;
7677
7713
  method: z.ZodLiteral<"credit_card">;
7678
7714
  }, z.core.$strip>]>;
@@ -7690,11 +7726,29 @@ declare class PayOrder extends AbstractApiRequest<typeof payOrderInputSchema, ty
7690
7726
  }>;
7691
7727
  }, z.core.$strip>;
7692
7728
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7729
+ id: z.ZodString;
7730
+ status: z.ZodEnum<{
7731
+ pending: "pending";
7732
+ pending_verification: "pending_verification";
7733
+ paid: "paid";
7734
+ canceled: "canceled";
7735
+ refunded: "refunded";
7736
+ failed: "failed";
7737
+ }>;
7693
7738
  amount: z.ZodString;
7694
7739
  method: z.ZodLiteral<"stripe">;
7695
7740
  sessionUrl: z.ZodString;
7696
7741
  expiresAt: z.ZodString;
7697
7742
  }, z.core.$strip>, z.ZodObject<{
7743
+ id: z.ZodString;
7744
+ status: z.ZodEnum<{
7745
+ pending: "pending";
7746
+ pending_verification: "pending_verification";
7747
+ paid: "paid";
7748
+ canceled: "canceled";
7749
+ refunded: "refunded";
7750
+ failed: "failed";
7751
+ }>;
7698
7752
  amount: z.ZodString;
7699
7753
  method: z.ZodLiteral<"bank_transfer">;
7700
7754
  iban: z.ZodString;
@@ -7705,9 +7759,27 @@ declare class PayOrder extends AbstractApiRequest<typeof payOrderInputSchema, ty
7705
7759
  currency: z.ZodString;
7706
7760
  description: z.ZodString;
7707
7761
  }, z.core.$strip>, z.ZodObject<{
7762
+ id: z.ZodString;
7763
+ status: z.ZodEnum<{
7764
+ pending: "pending";
7765
+ pending_verification: "pending_verification";
7766
+ paid: "paid";
7767
+ canceled: "canceled";
7768
+ refunded: "refunded";
7769
+ failed: "failed";
7770
+ }>;
7708
7771
  amount: z.ZodString;
7709
7772
  method: z.ZodLiteral<"cash">;
7710
7773
  }, z.core.$strip>, z.ZodObject<{
7774
+ id: z.ZodString;
7775
+ status: z.ZodEnum<{
7776
+ pending: "pending";
7777
+ pending_verification: "pending_verification";
7778
+ paid: "paid";
7779
+ canceled: "canceled";
7780
+ refunded: "refunded";
7781
+ failed: "failed";
7782
+ }>;
7711
7783
  amount: z.ZodString;
7712
7784
  method: z.ZodLiteral<"credit_card">;
7713
7785
  }, z.core.$strip>]>;
package/dist/index.d.ts CHANGED
@@ -7655,11 +7655,29 @@ declare const payOrderInputSchema: z.ZodObject<{
7655
7655
  }, z.core.$strip>;
7656
7656
  type PayOrderInput = z.infer<typeof payOrderInputSchema>;
7657
7657
  declare const payOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7658
+ id: z.ZodString;
7659
+ status: z.ZodEnum<{
7660
+ pending: "pending";
7661
+ pending_verification: "pending_verification";
7662
+ paid: "paid";
7663
+ canceled: "canceled";
7664
+ refunded: "refunded";
7665
+ failed: "failed";
7666
+ }>;
7658
7667
  amount: z.ZodString;
7659
7668
  method: z.ZodLiteral<"stripe">;
7660
7669
  sessionUrl: z.ZodString;
7661
7670
  expiresAt: z.ZodString;
7662
7671
  }, z.core.$strip>, z.ZodObject<{
7672
+ id: z.ZodString;
7673
+ status: z.ZodEnum<{
7674
+ pending: "pending";
7675
+ pending_verification: "pending_verification";
7676
+ paid: "paid";
7677
+ canceled: "canceled";
7678
+ refunded: "refunded";
7679
+ failed: "failed";
7680
+ }>;
7663
7681
  amount: z.ZodString;
7664
7682
  method: z.ZodLiteral<"bank_transfer">;
7665
7683
  iban: z.ZodString;
@@ -7670,9 +7688,27 @@ declare const payOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7670
7688
  currency: z.ZodString;
7671
7689
  description: z.ZodString;
7672
7690
  }, z.core.$strip>, z.ZodObject<{
7691
+ id: z.ZodString;
7692
+ status: z.ZodEnum<{
7693
+ pending: "pending";
7694
+ pending_verification: "pending_verification";
7695
+ paid: "paid";
7696
+ canceled: "canceled";
7697
+ refunded: "refunded";
7698
+ failed: "failed";
7699
+ }>;
7673
7700
  amount: z.ZodString;
7674
7701
  method: z.ZodLiteral<"cash">;
7675
7702
  }, z.core.$strip>, z.ZodObject<{
7703
+ id: z.ZodString;
7704
+ status: z.ZodEnum<{
7705
+ pending: "pending";
7706
+ pending_verification: "pending_verification";
7707
+ paid: "paid";
7708
+ canceled: "canceled";
7709
+ refunded: "refunded";
7710
+ failed: "failed";
7711
+ }>;
7676
7712
  amount: z.ZodString;
7677
7713
  method: z.ZodLiteral<"credit_card">;
7678
7714
  }, z.core.$strip>]>;
@@ -7690,11 +7726,29 @@ declare class PayOrder extends AbstractApiRequest<typeof payOrderInputSchema, ty
7690
7726
  }>;
7691
7727
  }, z.core.$strip>;
7692
7728
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7729
+ id: z.ZodString;
7730
+ status: z.ZodEnum<{
7731
+ pending: "pending";
7732
+ pending_verification: "pending_verification";
7733
+ paid: "paid";
7734
+ canceled: "canceled";
7735
+ refunded: "refunded";
7736
+ failed: "failed";
7737
+ }>;
7693
7738
  amount: z.ZodString;
7694
7739
  method: z.ZodLiteral<"stripe">;
7695
7740
  sessionUrl: z.ZodString;
7696
7741
  expiresAt: z.ZodString;
7697
7742
  }, z.core.$strip>, z.ZodObject<{
7743
+ id: z.ZodString;
7744
+ status: z.ZodEnum<{
7745
+ pending: "pending";
7746
+ pending_verification: "pending_verification";
7747
+ paid: "paid";
7748
+ canceled: "canceled";
7749
+ refunded: "refunded";
7750
+ failed: "failed";
7751
+ }>;
7698
7752
  amount: z.ZodString;
7699
7753
  method: z.ZodLiteral<"bank_transfer">;
7700
7754
  iban: z.ZodString;
@@ -7705,9 +7759,27 @@ declare class PayOrder extends AbstractApiRequest<typeof payOrderInputSchema, ty
7705
7759
  currency: z.ZodString;
7706
7760
  description: z.ZodString;
7707
7761
  }, z.core.$strip>, z.ZodObject<{
7762
+ id: z.ZodString;
7763
+ status: z.ZodEnum<{
7764
+ pending: "pending";
7765
+ pending_verification: "pending_verification";
7766
+ paid: "paid";
7767
+ canceled: "canceled";
7768
+ refunded: "refunded";
7769
+ failed: "failed";
7770
+ }>;
7708
7771
  amount: z.ZodString;
7709
7772
  method: z.ZodLiteral<"cash">;
7710
7773
  }, z.core.$strip>, z.ZodObject<{
7774
+ id: z.ZodString;
7775
+ status: z.ZodEnum<{
7776
+ pending: "pending";
7777
+ pending_verification: "pending_verification";
7778
+ paid: "paid";
7779
+ canceled: "canceled";
7780
+ refunded: "refunded";
7781
+ failed: "failed";
7782
+ }>;
7711
7783
  amount: z.ZodString;
7712
7784
  method: z.ZodLiteral<"credit_card">;
7713
7785
  }, z.core.$strip>]>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deliverart/sdk-js-order",
3
3
  "description": "Deliverart JavaScript SDK for Order Management",
4
- "version": "2.4.8",
4
+ "version": "2.4.10",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -18,14 +18,14 @@
18
18
  "dist"
19
19
  ],
20
20
  "dependencies": {
21
- "@deliverart/sdk-js-customer": "2.4.8",
22
- "@deliverart/sdk-js-core": "2.4.8",
23
- "@deliverart/sdk-js-global-types": "2.4.8",
24
- "@deliverart/sdk-js-payment": "2.4.8",
25
- "@deliverart/sdk-js-menu": "2.4.8",
26
- "@deliverart/sdk-js-point-of-sale": "2.4.8",
27
- "@deliverart/sdk-js-sales-mode": "2.4.8",
28
- "@deliverart/sdk-js-user": "2.4.8"
21
+ "@deliverart/sdk-js-point-of-sale": "2.4.10",
22
+ "@deliverart/sdk-js-global-types": "2.4.10",
23
+ "@deliverart/sdk-js-core": "2.4.10",
24
+ "@deliverart/sdk-js-menu": "2.4.10",
25
+ "@deliverart/sdk-js-payment": "2.4.10",
26
+ "@deliverart/sdk-js-customer": "2.4.10",
27
+ "@deliverart/sdk-js-user": "2.4.10",
28
+ "@deliverart/sdk-js-sales-mode": "2.4.10"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"