@foxy.io/sdk 1.5.0 → 1.7.0

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.
Files changed (88) hide show
  1. package/README.md +4 -4
  2. package/dist/cdn/FoxySDKCustomer.js +1 -1
  3. package/dist/cjs/backend/API.js +2 -2
  4. package/dist/cjs/core/API/AuthError.js +1 -1
  5. package/dist/cjs/core/API/Node.js +11 -11
  6. package/dist/cjs/core/Nucleon/machine.js +1 -0
  7. package/dist/esm/backend/API.js +2 -2
  8. package/dist/esm/core/API/AuthError.js +1 -1
  9. package/dist/esm/core/API/Node.js +11 -11
  10. package/dist/esm/core/Nucleon/machine.js +1 -0
  11. package/dist/types/backend/API.d.ts +2 -2
  12. package/dist/types/backend/Graph/applied_coupon_code.d.ts +2 -2
  13. package/dist/types/backend/Graph/applied_tax.d.ts +2 -2
  14. package/dist/types/backend/Graph/attribute.d.ts +2 -2
  15. package/dist/types/backend/Graph/billing_address.d.ts +2 -2
  16. package/dist/types/backend/Graph/cart.d.ts +2 -2
  17. package/dist/types/backend/Graph/cart_include_template.d.ts +2 -2
  18. package/dist/types/backend/Graph/cart_template.d.ts +2 -2
  19. package/dist/types/backend/Graph/checkout_template.d.ts +2 -2
  20. package/dist/types/backend/Graph/client.d.ts +2 -2
  21. package/dist/types/backend/Graph/coupon.d.ts +2 -2
  22. package/dist/types/backend/Graph/coupon_code.d.ts +2 -2
  23. package/dist/types/backend/Graph/coupon_code_transaction.d.ts +2 -2
  24. package/dist/types/backend/Graph/coupon_detail.d.ts +2 -2
  25. package/dist/types/backend/Graph/coupon_item_category.d.ts +2 -2
  26. package/dist/types/backend/Graph/custom_field.d.ts +2 -2
  27. package/dist/types/backend/Graph/customer.d.ts +2 -2
  28. package/dist/types/backend/Graph/customer_address.d.ts +4 -4
  29. package/dist/types/backend/Graph/customer_portal_settings.d.ts +2 -2
  30. package/dist/types/backend/Graph/default_payment_method.d.ts +7 -7
  31. package/dist/types/backend/Graph/discount.d.ts +2 -2
  32. package/dist/types/backend/Graph/discount_detail.d.ts +2 -2
  33. package/dist/types/backend/Graph/downloadable.d.ts +2 -2
  34. package/dist/types/backend/Graph/downloadable_purchase.d.ts +2 -2
  35. package/dist/types/backend/Graph/email_template.d.ts +2 -2
  36. package/dist/types/backend/Graph/error_entry.d.ts +2 -2
  37. package/dist/types/backend/Graph/fraud_protection.d.ts +2 -2
  38. package/dist/types/backend/Graph/hosted_payment_gateways_helper.d.ts +56 -0
  39. package/dist/types/backend/Graph/integration.d.ts +10 -10
  40. package/dist/types/backend/Graph/item.d.ts +2 -2
  41. package/dist/types/backend/Graph/item_category.d.ts +2 -2
  42. package/dist/types/backend/Graph/item_option.d.ts +2 -2
  43. package/dist/types/backend/Graph/language_override.d.ts +2 -2
  44. package/dist/types/backend/Graph/language_strings.d.ts +1 -5
  45. package/dist/types/backend/Graph/native_integration.d.ts +2 -2
  46. package/dist/types/backend/Graph/payment.d.ts +5 -5
  47. package/dist/types/backend/Graph/payment_gateway.d.ts +2 -2
  48. package/dist/types/backend/Graph/payment_gateways_helper.d.ts +56 -0
  49. package/dist/types/backend/Graph/payment_method_expiring.d.ts +2 -2
  50. package/dist/types/backend/Graph/payment_method_set.d.ts +2 -2
  51. package/dist/types/backend/Graph/payment_method_set_fraud_protection.d.ts +2 -2
  52. package/dist/types/backend/Graph/payment_method_set_hosted_payment_gateway.d.ts +2 -2
  53. package/dist/types/backend/Graph/property_helpers.d.ts +4 -4
  54. package/dist/types/backend/Graph/receipt_template.d.ts +2 -2
  55. package/dist/types/backend/Graph/regions.d.ts +0 -2
  56. package/dist/types/backend/Graph/shipment.d.ts +2 -2
  57. package/dist/types/backend/Graph/shipping_container.d.ts +2 -2
  58. package/dist/types/backend/Graph/shipping_drop_type.d.ts +2 -2
  59. package/dist/types/backend/Graph/shipping_method.d.ts +2 -2
  60. package/dist/types/backend/Graph/shipping_service.d.ts +2 -2
  61. package/dist/types/backend/Graph/store.d.ts +2 -2
  62. package/dist/types/backend/Graph/store_shipping_method.d.ts +2 -2
  63. package/dist/types/backend/Graph/store_shipping_service.d.ts +2 -2
  64. package/dist/types/backend/Graph/store_version.d.ts +21 -3
  65. package/dist/types/backend/Graph/subscription.d.ts +2 -2
  66. package/dist/types/backend/Graph/subscription_settings.d.ts +2 -2
  67. package/dist/types/backend/Graph/tax.d.ts +2 -2
  68. package/dist/types/backend/Graph/tax_item_category.d.ts +2 -2
  69. package/dist/types/backend/Graph/template_config.d.ts +2 -2
  70. package/dist/types/backend/Graph/template_set.d.ts +2 -2
  71. package/dist/types/backend/Graph/transaction.d.ts +2 -2
  72. package/dist/types/backend/Graph/transaction_log.d.ts +1 -1
  73. package/dist/types/backend/Graph/user.d.ts +2 -2
  74. package/dist/types/backend/Graph/user_access.d.ts +2 -2
  75. package/dist/types/backend/Rels.d.ts +2 -0
  76. package/dist/types/backend/createSSOURL.d.ts +1 -1
  77. package/dist/types/core/Nucleon/types.d.ts +2 -1
  78. package/dist/types/core/Resource/Link.d.ts +1 -1
  79. package/dist/types/customer/Graph/attribute.d.ts +2 -2
  80. package/dist/types/customer/Graph/customer_address.d.ts +4 -4
  81. package/dist/types/customer/Graph/customer_portal_settings.d.ts +2 -2
  82. package/dist/types/customer/Graph/default_payment_method.d.ts +7 -7
  83. package/dist/types/customer/Graph/index.d.ts +2 -2
  84. package/dist/types/customer/Graph/item.d.ts +2 -2
  85. package/dist/types/customer/Graph/subscription.d.ts +2 -2
  86. package/dist/types/customer/Graph/transaction.d.ts +2 -2
  87. package/dist/types/customer/Graph/transaction_template.d.ts +2 -2
  88. package/package.json +1 -1
@@ -49,9 +49,9 @@ interface Customer extends Graph {
49
49
  /** A tax identification number for this customer. */
50
50
  tax_id: string;
51
51
  /** The date this resource was created. */
52
- date_created: string;
52
+ date_created: string | null;
53
53
  /** The date this resource was last modified. */
54
- date_modified: string;
54
+ date_modified: string | null;
55
55
  };
56
56
 
57
57
  zooms: {
@@ -58,8 +58,8 @@ export interface Item extends Graph {
58
58
  /** As a unix timestamp, this is the point in the future when this item will no longer be valid and will be removed from the cart. */
59
59
  expires: number;
60
60
  /** The date this resource was created. */
61
- date_created: string;
61
+ date_created: string | null;
62
62
  /** The date this resource was last modified. */
63
- date_modified: string;
63
+ date_modified: string | null;
64
64
  };
65
65
  }
@@ -47,9 +47,9 @@ export interface Subscription extends Graph {
47
47
  /** If this subscription is using a third party subscription system such as PayPal Express, their identifier will be set here. */
48
48
  third_party_id: string;
49
49
  /** The date this resource was created. */
50
- date_created: string;
50
+ date_created: string | null;
51
51
  /** The date this resource was last modified. */
52
- date_modified: string;
52
+ date_modified: string | null;
53
53
  };
54
54
 
55
55
  zooms: {
@@ -65,9 +65,9 @@ export interface Transaction extends Graph {
65
65
  /** The currency symbol, such as $, £, €, etc. */
66
66
  currency_symbol: string;
67
67
  /** The date this resource was created. */
68
- date_created: string;
68
+ date_created: string | null;
69
69
  /** The date this resource was last modified. */
70
- date_modified: string;
70
+ date_modified: string | null;
71
71
  };
72
72
 
73
73
  zooms: {
@@ -80,9 +80,9 @@ export interface TransactionTemplate extends Graph {
80
80
  /** The currency symbol, such as $, £, €, etc. */
81
81
  currency_symbol: string;
82
82
  /** The date this resource was created. */
83
- date_created: string;
83
+ date_created: string | null;
84
84
  /** The date this resource was last modified. */
85
- date_modified: string;
85
+ date_modified: string | null;
86
86
  };
87
87
 
88
88
  zooms: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@foxy.io/sdk",
3
3
  "type": "commonjs",
4
- "version": "1.5.0",
4
+ "version": "1.7.0",
5
5
  "description": "Universal SDK for a full server-side and a limited in-browser access to Foxy hAPI.",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",