@deliverart/sdk-js-order 2.4.9 → 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
@@ -7656,12 +7656,28 @@ declare const payOrderInputSchema: z.ZodObject<{
7656
7656
  type PayOrderInput = z.infer<typeof payOrderInputSchema>;
7657
7657
  declare const payOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7658
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
+ }>;
7659
7667
  amount: z.ZodString;
7660
7668
  method: z.ZodLiteral<"stripe">;
7661
7669
  sessionUrl: z.ZodString;
7662
7670
  expiresAt: z.ZodString;
7663
7671
  }, z.core.$strip>, z.ZodObject<{
7664
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
+ }>;
7665
7681
  amount: z.ZodString;
7666
7682
  method: z.ZodLiteral<"bank_transfer">;
7667
7683
  iban: z.ZodString;
@@ -7673,10 +7689,26 @@ declare const payOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7673
7689
  description: z.ZodString;
7674
7690
  }, z.core.$strip>, z.ZodObject<{
7675
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
+ }>;
7676
7700
  amount: z.ZodString;
7677
7701
  method: z.ZodLiteral<"cash">;
7678
7702
  }, z.core.$strip>, z.ZodObject<{
7679
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
+ }>;
7680
7712
  amount: z.ZodString;
7681
7713
  method: z.ZodLiteral<"credit_card">;
7682
7714
  }, z.core.$strip>]>;
@@ -7695,12 +7727,28 @@ declare class PayOrder extends AbstractApiRequest<typeof payOrderInputSchema, ty
7695
7727
  }, z.core.$strip>;
7696
7728
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7697
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
+ }>;
7698
7738
  amount: z.ZodString;
7699
7739
  method: z.ZodLiteral<"stripe">;
7700
7740
  sessionUrl: z.ZodString;
7701
7741
  expiresAt: z.ZodString;
7702
7742
  }, z.core.$strip>, z.ZodObject<{
7703
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
+ }>;
7704
7752
  amount: z.ZodString;
7705
7753
  method: z.ZodLiteral<"bank_transfer">;
7706
7754
  iban: z.ZodString;
@@ -7712,10 +7760,26 @@ declare class PayOrder extends AbstractApiRequest<typeof payOrderInputSchema, ty
7712
7760
  description: z.ZodString;
7713
7761
  }, z.core.$strip>, z.ZodObject<{
7714
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
+ }>;
7715
7771
  amount: z.ZodString;
7716
7772
  method: z.ZodLiteral<"cash">;
7717
7773
  }, z.core.$strip>, z.ZodObject<{
7718
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
+ }>;
7719
7783
  amount: z.ZodString;
7720
7784
  method: z.ZodLiteral<"credit_card">;
7721
7785
  }, z.core.$strip>]>;
package/dist/index.d.ts CHANGED
@@ -7656,12 +7656,28 @@ declare const payOrderInputSchema: z.ZodObject<{
7656
7656
  type PayOrderInput = z.infer<typeof payOrderInputSchema>;
7657
7657
  declare const payOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7658
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
+ }>;
7659
7667
  amount: z.ZodString;
7660
7668
  method: z.ZodLiteral<"stripe">;
7661
7669
  sessionUrl: z.ZodString;
7662
7670
  expiresAt: z.ZodString;
7663
7671
  }, z.core.$strip>, z.ZodObject<{
7664
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
+ }>;
7665
7681
  amount: z.ZodString;
7666
7682
  method: z.ZodLiteral<"bank_transfer">;
7667
7683
  iban: z.ZodString;
@@ -7673,10 +7689,26 @@ declare const payOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7673
7689
  description: z.ZodString;
7674
7690
  }, z.core.$strip>, z.ZodObject<{
7675
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
+ }>;
7676
7700
  amount: z.ZodString;
7677
7701
  method: z.ZodLiteral<"cash">;
7678
7702
  }, z.core.$strip>, z.ZodObject<{
7679
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
+ }>;
7680
7712
  amount: z.ZodString;
7681
7713
  method: z.ZodLiteral<"credit_card">;
7682
7714
  }, z.core.$strip>]>;
@@ -7695,12 +7727,28 @@ declare class PayOrder extends AbstractApiRequest<typeof payOrderInputSchema, ty
7695
7727
  }, z.core.$strip>;
7696
7728
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7697
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
+ }>;
7698
7738
  amount: z.ZodString;
7699
7739
  method: z.ZodLiteral<"stripe">;
7700
7740
  sessionUrl: z.ZodString;
7701
7741
  expiresAt: z.ZodString;
7702
7742
  }, z.core.$strip>, z.ZodObject<{
7703
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
+ }>;
7704
7752
  amount: z.ZodString;
7705
7753
  method: z.ZodLiteral<"bank_transfer">;
7706
7754
  iban: z.ZodString;
@@ -7712,10 +7760,26 @@ declare class PayOrder extends AbstractApiRequest<typeof payOrderInputSchema, ty
7712
7760
  description: z.ZodString;
7713
7761
  }, z.core.$strip>, z.ZodObject<{
7714
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
+ }>;
7715
7771
  amount: z.ZodString;
7716
7772
  method: z.ZodLiteral<"cash">;
7717
7773
  }, z.core.$strip>, z.ZodObject<{
7718
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
+ }>;
7719
7783
  amount: z.ZodString;
7720
7784
  method: z.ZodLiteral<"credit_card">;
7721
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.9",
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-core": "2.4.9",
22
- "@deliverart/sdk-js-customer": "2.4.9",
23
- "@deliverart/sdk-js-global-types": "2.4.9",
24
- "@deliverart/sdk-js-payment": "2.4.9",
25
- "@deliverart/sdk-js-menu": "2.4.9",
26
- "@deliverart/sdk-js-point-of-sale": "2.4.9",
27
- "@deliverart/sdk-js-sales-mode": "2.4.9",
28
- "@deliverart/sdk-js-user": "2.4.9"
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"