rerobe-js-orm 2.9.6 → 2.9.7
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/lib/index.d.ts +2 -1
- package/lib/index.js +3 -1
- package/lib/models/ShopifyMerchantAccount.d.ts +7 -0
- package/lib/models/ShopifyMerchantAccount.js +17 -0
- package/lib/types/rerobe-shopifyMerchantAccount-types.d.ts +4 -0
- package/lib/types/rerobe-shopifyMerchantAccount-types.js +1 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import Order from './models/Order';
|
|
|
26
26
|
import Merchant from './models/Merchant';
|
|
27
27
|
import User from './models/User';
|
|
28
28
|
import MerchantWebPage from './models/MerchantWebPage';
|
|
29
|
+
import ShopifyMerchantAccount from './models/ShopifyMerchantAccount';
|
|
29
30
|
import ProductStateManager from './models/ProductStateManager';
|
|
30
31
|
import PayoutAccount from './models/PayoutAccount';
|
|
31
32
|
import PayoutAccountFormState from './form-states/PayoutAccount/PayoutAccountFormState';
|
|
@@ -34,4 +35,4 @@ import WebhookFormState from './form-states/Merchant/WebhookFormState';
|
|
|
34
35
|
import ReRobeProductHelpers from './helpers/ReRobeProductHelpers';
|
|
35
36
|
import AnalyticsHelpers from './helpers/AnalyticsHelpers';
|
|
36
37
|
import OrderHelpers from './helpers/OrderHelpers';
|
|
37
|
-
export { ProductFromAlgoliaJSONDoc, ProductFromShopifyWebhookJSONDoc, ProductFromShopifyJSClientJSONDoc, ProductFormStateFactory, ProductCollectionFormStateFactory, ProductCollectionHelpers, SellRequestFormStateFactory, PickUpFormStateFactory, AddressFormStateFactory, UserFormStateFactory, UserFromShopifyWebhookJSONDoc, UserFromAuthTemplateMethod, DraftOrderFromMirakl, DraftOrderFromApp, ChatRoomFromNewUserSignUp, KlarnaSessionFactory, Product, ProductStateManager, Order, OrderFromShopifyWebhook, OrderFromShopifyAdminApi, OrderFromShopifyStorefrontApi, OrderFromApp, OrderFormStateFactory, RefundFormStateFactory, PayoutAccount, PayoutAccountFormState, Merchant, MerchantFormState, MerchantFormStateFactory, ReRobeProductHelpers, User, AnalyticsHelpers, OrderHelpers, WebhookFormState, MerchantWebPage, };
|
|
38
|
+
export { ProductFromAlgoliaJSONDoc, ProductFromShopifyWebhookJSONDoc, ProductFromShopifyJSClientJSONDoc, ProductFormStateFactory, ProductCollectionFormStateFactory, ProductCollectionHelpers, SellRequestFormStateFactory, PickUpFormStateFactory, AddressFormStateFactory, UserFormStateFactory, UserFromShopifyWebhookJSONDoc, UserFromAuthTemplateMethod, DraftOrderFromMirakl, DraftOrderFromApp, ChatRoomFromNewUserSignUp, KlarnaSessionFactory, Product, ProductStateManager, Order, OrderFromShopifyWebhook, OrderFromShopifyAdminApi, OrderFromShopifyStorefrontApi, OrderFromApp, OrderFormStateFactory, RefundFormStateFactory, PayoutAccount, PayoutAccountFormState, Merchant, MerchantFormState, MerchantFormStateFactory, ReRobeProductHelpers, User, AnalyticsHelpers, OrderHelpers, WebhookFormState, MerchantWebPage, ShopifyMerchantAccount, };
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MerchantWebPage = exports.WebhookFormState = exports.OrderHelpers = exports.AnalyticsHelpers = exports.User = exports.ReRobeProductHelpers = exports.MerchantFormStateFactory = exports.MerchantFormState = exports.Merchant = exports.PayoutAccountFormState = exports.PayoutAccount = exports.RefundFormStateFactory = exports.OrderFormStateFactory = exports.OrderFromApp = exports.OrderFromShopifyStorefrontApi = exports.OrderFromShopifyAdminApi = exports.OrderFromShopifyWebhook = exports.Order = exports.ProductStateManager = exports.Product = exports.KlarnaSessionFactory = exports.ChatRoomFromNewUserSignUp = exports.DraftOrderFromApp = exports.DraftOrderFromMirakl = exports.UserFromAuthTemplateMethod = exports.UserFromShopifyWebhookJSONDoc = exports.UserFormStateFactory = exports.AddressFormStateFactory = exports.PickUpFormStateFactory = exports.SellRequestFormStateFactory = exports.ProductCollectionHelpers = exports.ProductCollectionFormStateFactory = exports.ProductFormStateFactory = exports.ProductFromShopifyJSClientJSONDoc = exports.ProductFromShopifyWebhookJSONDoc = exports.ProductFromAlgoliaJSONDoc = void 0;
|
|
3
|
+
exports.ShopifyMerchantAccount = exports.MerchantWebPage = exports.WebhookFormState = exports.OrderHelpers = exports.AnalyticsHelpers = exports.User = exports.ReRobeProductHelpers = exports.MerchantFormStateFactory = exports.MerchantFormState = exports.Merchant = exports.PayoutAccountFormState = exports.PayoutAccount = exports.RefundFormStateFactory = exports.OrderFormStateFactory = exports.OrderFromApp = exports.OrderFromShopifyStorefrontApi = exports.OrderFromShopifyAdminApi = exports.OrderFromShopifyWebhook = exports.Order = exports.ProductStateManager = exports.Product = exports.KlarnaSessionFactory = exports.ChatRoomFromNewUserSignUp = exports.DraftOrderFromApp = exports.DraftOrderFromMirakl = exports.UserFromAuthTemplateMethod = exports.UserFromShopifyWebhookJSONDoc = exports.UserFormStateFactory = exports.AddressFormStateFactory = exports.PickUpFormStateFactory = exports.SellRequestFormStateFactory = exports.ProductCollectionHelpers = exports.ProductCollectionFormStateFactory = exports.ProductFormStateFactory = exports.ProductFromShopifyJSClientJSONDoc = exports.ProductFromShopifyWebhookJSONDoc = exports.ProductFromAlgoliaJSONDoc = void 0;
|
|
4
4
|
const ProductFromShopifyJSClientJSONDoc_1 = require("./factories/Product/ProductFromShopifyJSClientJSONDoc");
|
|
5
5
|
exports.ProductFromShopifyJSClientJSONDoc = ProductFromShopifyJSClientJSONDoc_1.default;
|
|
6
6
|
const ProductFromAlgoliaJSONDoc_1 = require("./factories/Product/ProductFromAlgoliaJSONDoc");
|
|
@@ -57,6 +57,8 @@ const User_1 = require("./models/User");
|
|
|
57
57
|
exports.User = User_1.default;
|
|
58
58
|
const MerchantWebPage_1 = require("./models/MerchantWebPage");
|
|
59
59
|
exports.MerchantWebPage = MerchantWebPage_1.default;
|
|
60
|
+
const ShopifyMerchantAccount_1 = require("./models/ShopifyMerchantAccount");
|
|
61
|
+
exports.ShopifyMerchantAccount = ShopifyMerchantAccount_1.default;
|
|
60
62
|
const ProductStateManager_1 = require("./models/ProductStateManager");
|
|
61
63
|
exports.ProductStateManager = ProductStateManager_1.default;
|
|
62
64
|
const PayoutAccount_1 = require("./models/PayoutAccount");
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Base_1 = require("../Base");
|
|
4
|
+
class ShopifyMerchantAccount extends Base_1.default {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super();
|
|
7
|
+
this.documentId = (props === null || props === void 0 ? void 0 : props.documentId) || '';
|
|
8
|
+
this.shopifyShopDomain = (props === null || props === void 0 ? void 0 : props.shopifyShopDomain) || '';
|
|
9
|
+
}
|
|
10
|
+
toObj() {
|
|
11
|
+
return {
|
|
12
|
+
documentId: this.documentId,
|
|
13
|
+
shopifyShopDomain: this.shopifyShopDomain,
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.default = ShopifyMerchantAccount;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|