@flowio/api-internal-sdk 0.0.158 → 0.0.160
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/cjs/api-internal.js +151 -339
- package/dist/esm/api-internal.js +145 -333
- package/dist/types/api-internal.d.ts +93 -232
- package/package.json +2 -2
package/dist/esm/api-internal.js
CHANGED
|
@@ -286,6 +286,44 @@ var AllOrganizationsMembershipsResource = /** @class */ (function (_super) {
|
|
|
286
286
|
return AllOrganizationsMembershipsResource;
|
|
287
287
|
}($Resource));
|
|
288
288
|
export { AllOrganizationsMembershipsResource };
|
|
289
|
+
var AnshItemsResource = /** @class */ (function (_super) {
|
|
290
|
+
__extends(AnshItemsResource, _super);
|
|
291
|
+
function AnshItemsResource() {
|
|
292
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
293
|
+
}
|
|
294
|
+
AnshItemsResource.prototype.post = function (params) {
|
|
295
|
+
return this.client.request({
|
|
296
|
+
body: params.body,
|
|
297
|
+
endpoint: '/ansh/items',
|
|
298
|
+
headers: params.headers,
|
|
299
|
+
method: 'POST',
|
|
300
|
+
});
|
|
301
|
+
};
|
|
302
|
+
AnshItemsResource.prototype.getById = function (params) {
|
|
303
|
+
return this.client.request({
|
|
304
|
+
endpoint: "/ansh/items/".concat(encodeURIComponent(params.id)),
|
|
305
|
+
headers: params.headers,
|
|
306
|
+
method: 'GET',
|
|
307
|
+
});
|
|
308
|
+
};
|
|
309
|
+
AnshItemsResource.prototype.putById = function (params) {
|
|
310
|
+
return this.client.request({
|
|
311
|
+
body: params.body,
|
|
312
|
+
endpoint: "/ansh/items/".concat(encodeURIComponent(params.id)),
|
|
313
|
+
headers: params.headers,
|
|
314
|
+
method: 'PUT',
|
|
315
|
+
});
|
|
316
|
+
};
|
|
317
|
+
AnshItemsResource.prototype.deleteById = function (params) {
|
|
318
|
+
return this.client.request({
|
|
319
|
+
endpoint: "/ansh/items/".concat(encodeURIComponent(params.id)),
|
|
320
|
+
headers: params.headers,
|
|
321
|
+
method: 'DELETE',
|
|
322
|
+
});
|
|
323
|
+
};
|
|
324
|
+
return AnshItemsResource;
|
|
325
|
+
}($Resource));
|
|
326
|
+
export { AnshItemsResource };
|
|
289
327
|
var AuthorizedChargeStatusesResource = /** @class */ (function (_super) {
|
|
290
328
|
__extends(AuthorizedChargeStatusesResource, _super);
|
|
291
329
|
function AuthorizedChargeStatusesResource() {
|
|
@@ -4118,6 +4156,22 @@ var ShopifyLocalizedVariantsResource = /** @class */ (function (_super) {
|
|
|
4118
4156
|
return ShopifyLocalizedVariantsResource;
|
|
4119
4157
|
}($Resource));
|
|
4120
4158
|
export { ShopifyLocalizedVariantsResource };
|
|
4159
|
+
var ShopifyPaymentStripeEventsResource = /** @class */ (function (_super) {
|
|
4160
|
+
__extends(ShopifyPaymentStripeEventsResource, _super);
|
|
4161
|
+
function ShopifyPaymentStripeEventsResource() {
|
|
4162
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4163
|
+
}
|
|
4164
|
+
ShopifyPaymentStripeEventsResource.prototype.post = function (params) {
|
|
4165
|
+
return this.client.request({
|
|
4166
|
+
body: params.body,
|
|
4167
|
+
endpoint: '/shopify_payment/callbacks/stripe',
|
|
4168
|
+
headers: params.headers,
|
|
4169
|
+
method: 'POST',
|
|
4170
|
+
});
|
|
4171
|
+
};
|
|
4172
|
+
return ShopifyPaymentStripeEventsResource;
|
|
4173
|
+
}($Resource));
|
|
4174
|
+
export { ShopifyPaymentStripeEventsResource };
|
|
4121
4175
|
var StripeDisputeEventsResource = /** @class */ (function (_super) {
|
|
4122
4176
|
__extends(StripeDisputeEventsResource, _super);
|
|
4123
4177
|
function StripeDisputeEventsResource() {
|
|
@@ -4886,328 +4940,6 @@ var ManualReviewRulesResource = /** @class */ (function (_super) {
|
|
|
4886
4940
|
return ManualReviewRulesResource;
|
|
4887
4941
|
}($Resource));
|
|
4888
4942
|
export { ManualReviewRulesResource };
|
|
4889
|
-
var MarketingGatewayChannelsResource = /** @class */ (function (_super) {
|
|
4890
|
-
__extends(MarketingGatewayChannelsResource, _super);
|
|
4891
|
-
function MarketingGatewayChannelsResource() {
|
|
4892
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
4893
|
-
}
|
|
4894
|
-
MarketingGatewayChannelsResource.prototype.get = function (params) {
|
|
4895
|
-
return this.client.request({
|
|
4896
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/channels"),
|
|
4897
|
-
headers: params.headers,
|
|
4898
|
-
method: 'GET',
|
|
4899
|
-
});
|
|
4900
|
-
};
|
|
4901
|
-
MarketingGatewayChannelsResource.prototype.postNewChannelRequest = function (params) {
|
|
4902
|
-
return this.client.request({
|
|
4903
|
-
body: params.body,
|
|
4904
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/channels/new_channel_request"),
|
|
4905
|
-
headers: params.headers,
|
|
4906
|
-
method: 'POST',
|
|
4907
|
-
});
|
|
4908
|
-
};
|
|
4909
|
-
MarketingGatewayChannelsResource.prototype.putConnectByChannelId = function (params) {
|
|
4910
|
-
return this.client.request({
|
|
4911
|
-
body: params.body,
|
|
4912
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/channels/").concat(encodeURIComponent(params.channel_id), "/connect"),
|
|
4913
|
-
headers: params.headers,
|
|
4914
|
-
method: 'PUT',
|
|
4915
|
-
});
|
|
4916
|
-
};
|
|
4917
|
-
MarketingGatewayChannelsResource.prototype.putDisconnectByChannelId = function (params) {
|
|
4918
|
-
return this.client.request({
|
|
4919
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/channels/").concat(encodeURIComponent(params.channel_id), "/disconnect"),
|
|
4920
|
-
headers: params.headers,
|
|
4921
|
-
method: 'PUT',
|
|
4922
|
-
});
|
|
4923
|
-
};
|
|
4924
|
-
MarketingGatewayChannelsResource.prototype.getFeedsAndDownloadsByChannelIdAndFeedAndFormat = function (params) {
|
|
4925
|
-
return this.client.request({
|
|
4926
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/channels/").concat(encodeURIComponent(params.channel_id), "/feeds/").concat(encodeURIComponent(params.feed), "/downloads/").concat(encodeURIComponent(params.format)),
|
|
4927
|
-
headers: params.headers,
|
|
4928
|
-
method: 'GET',
|
|
4929
|
-
});
|
|
4930
|
-
};
|
|
4931
|
-
return MarketingGatewayChannelsResource;
|
|
4932
|
-
}($Resource));
|
|
4933
|
-
export { MarketingGatewayChannelsResource };
|
|
4934
|
-
var MarketingGatewayChannelSourceSummariesResource = /** @class */ (function (_super) {
|
|
4935
|
-
__extends(MarketingGatewayChannelSourceSummariesResource, _super);
|
|
4936
|
-
function MarketingGatewayChannelSourceSummariesResource() {
|
|
4937
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
4938
|
-
}
|
|
4939
|
-
MarketingGatewayChannelSourceSummariesResource.prototype.get = function (params) {
|
|
4940
|
-
return this.client.request({
|
|
4941
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/accounts"),
|
|
4942
|
-
headers: params.headers,
|
|
4943
|
-
method: 'GET',
|
|
4944
|
-
});
|
|
4945
|
-
};
|
|
4946
|
-
/*Registers a platform/account pair as a channel of interest for the purposes of creating localized feeds*/
|
|
4947
|
-
MarketingGatewayChannelSourceSummariesResource.prototype.put = function (params) {
|
|
4948
|
-
return this.client.request({
|
|
4949
|
-
body: params.body,
|
|
4950
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/accounts"),
|
|
4951
|
-
headers: params.headers,
|
|
4952
|
-
method: 'PUT',
|
|
4953
|
-
});
|
|
4954
|
-
};
|
|
4955
|
-
return MarketingGatewayChannelSourceSummariesResource;
|
|
4956
|
-
}($Resource));
|
|
4957
|
-
export { MarketingGatewayChannelSourceSummariesResource };
|
|
4958
|
-
var MarketingGatewayFacebookBusinessesResource = /** @class */ (function (_super) {
|
|
4959
|
-
__extends(MarketingGatewayFacebookBusinessesResource, _super);
|
|
4960
|
-
function MarketingGatewayFacebookBusinessesResource() {
|
|
4961
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
4962
|
-
}
|
|
4963
|
-
MarketingGatewayFacebookBusinessesResource.prototype.getCatalogs = function (params) {
|
|
4964
|
-
return this.client.request({
|
|
4965
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/facebook/").concat(encodeURIComponent(params.business_id), "/catalogs"),
|
|
4966
|
-
headers: params.headers,
|
|
4967
|
-
method: 'GET',
|
|
4968
|
-
});
|
|
4969
|
-
};
|
|
4970
|
-
return MarketingGatewayFacebookBusinessesResource;
|
|
4971
|
-
}($Resource));
|
|
4972
|
-
export { MarketingGatewayFacebookBusinessesResource };
|
|
4973
|
-
var MarketingGatewayFacebookConnectionsResource = /** @class */ (function (_super) {
|
|
4974
|
-
__extends(MarketingGatewayFacebookConnectionsResource, _super);
|
|
4975
|
-
function MarketingGatewayFacebookConnectionsResource() {
|
|
4976
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
4977
|
-
}
|
|
4978
|
-
MarketingGatewayFacebookConnectionsResource.prototype.get = function (params) {
|
|
4979
|
-
return this.client.request({
|
|
4980
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/facebook"),
|
|
4981
|
-
headers: params.headers,
|
|
4982
|
-
method: 'GET',
|
|
4983
|
-
});
|
|
4984
|
-
};
|
|
4985
|
-
MarketingGatewayFacebookConnectionsResource.prototype.put = function (params) {
|
|
4986
|
-
return this.client.request({
|
|
4987
|
-
body: params.body,
|
|
4988
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/facebook"),
|
|
4989
|
-
headers: params.headers,
|
|
4990
|
-
method: 'PUT',
|
|
4991
|
-
});
|
|
4992
|
-
};
|
|
4993
|
-
MarketingGatewayFacebookConnectionsResource.prototype.delete = function (params) {
|
|
4994
|
-
return this.client.request({
|
|
4995
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/facebook"),
|
|
4996
|
-
headers: params.headers,
|
|
4997
|
-
method: 'DELETE',
|
|
4998
|
-
});
|
|
4999
|
-
};
|
|
5000
|
-
MarketingGatewayFacebookConnectionsResource.prototype.putCatalog = function (params) {
|
|
5001
|
-
return this.client.request({
|
|
5002
|
-
body: params.body,
|
|
5003
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/facebook/catalog"),
|
|
5004
|
-
headers: params.headers,
|
|
5005
|
-
method: 'PUT',
|
|
5006
|
-
});
|
|
5007
|
-
};
|
|
5008
|
-
return MarketingGatewayFacebookConnectionsResource;
|
|
5009
|
-
}($Resource));
|
|
5010
|
-
export { MarketingGatewayFacebookConnectionsResource };
|
|
5011
|
-
var MarketingGatewayFacebookConnectionAccessTokenSummariesResource = /** @class */ (function (_super) {
|
|
5012
|
-
__extends(MarketingGatewayFacebookConnectionAccessTokenSummariesResource, _super);
|
|
5013
|
-
function MarketingGatewayFacebookConnectionAccessTokenSummariesResource() {
|
|
5014
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
5015
|
-
}
|
|
5016
|
-
MarketingGatewayFacebookConnectionAccessTokenSummariesResource.prototype.get = function (params) {
|
|
5017
|
-
return this.client.request({
|
|
5018
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/facebook/access_token_summary"),
|
|
5019
|
-
headers: params.headers,
|
|
5020
|
-
method: 'GET',
|
|
5021
|
-
});
|
|
5022
|
-
};
|
|
5023
|
-
return MarketingGatewayFacebookConnectionAccessTokenSummariesResource;
|
|
5024
|
-
}($Resource));
|
|
5025
|
-
export { MarketingGatewayFacebookConnectionAccessTokenSummariesResource };
|
|
5026
|
-
var MarketingGatewayFacebookConnectionDeauthsResource = /** @class */ (function (_super) {
|
|
5027
|
-
__extends(MarketingGatewayFacebookConnectionDeauthsResource, _super);
|
|
5028
|
-
function MarketingGatewayFacebookConnectionDeauthsResource() {
|
|
5029
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
5030
|
-
}
|
|
5031
|
-
MarketingGatewayFacebookConnectionDeauthsResource.prototype.get = function (params) {
|
|
5032
|
-
if (params === void 0) { params = {}; }
|
|
5033
|
-
return this.client.request({
|
|
5034
|
-
endpoint: '/marketing/gateway/facebook/deauth',
|
|
5035
|
-
headers: params.headers,
|
|
5036
|
-
method: 'GET',
|
|
5037
|
-
});
|
|
5038
|
-
};
|
|
5039
|
-
MarketingGatewayFacebookConnectionDeauthsResource.prototype.post = function (params) {
|
|
5040
|
-
if (params === void 0) { params = {}; }
|
|
5041
|
-
return this.client.request({
|
|
5042
|
-
endpoint: '/marketing/gateway/facebook/deauth',
|
|
5043
|
-
headers: params.headers,
|
|
5044
|
-
method: 'POST',
|
|
5045
|
-
query: {
|
|
5046
|
-
signed_request: params.signed_request,
|
|
5047
|
-
},
|
|
5048
|
-
});
|
|
5049
|
-
};
|
|
5050
|
-
return MarketingGatewayFacebookConnectionDeauthsResource;
|
|
5051
|
-
}($Resource));
|
|
5052
|
-
export { MarketingGatewayFacebookConnectionDeauthsResource };
|
|
5053
|
-
var MarketingGatewayFeedsResource = /** @class */ (function (_super) {
|
|
5054
|
-
__extends(MarketingGatewayFeedsResource, _super);
|
|
5055
|
-
function MarketingGatewayFeedsResource() {
|
|
5056
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
5057
|
-
}
|
|
5058
|
-
MarketingGatewayFeedsResource.prototype.get = function (params) {
|
|
5059
|
-
return this.client.request({
|
|
5060
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/feeds"),
|
|
5061
|
-
headers: params.headers,
|
|
5062
|
-
method: 'GET',
|
|
5063
|
-
query: {
|
|
5064
|
-
channel_id: params.channel_id,
|
|
5065
|
-
schema_compatibility: params.schema_compatibility,
|
|
5066
|
-
},
|
|
5067
|
-
});
|
|
5068
|
-
};
|
|
5069
|
-
MarketingGatewayFeedsResource.prototype.post = function (params) {
|
|
5070
|
-
return this.client.request({
|
|
5071
|
-
body: params.body,
|
|
5072
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/feeds"),
|
|
5073
|
-
headers: params.headers,
|
|
5074
|
-
method: 'POST',
|
|
5075
|
-
});
|
|
5076
|
-
};
|
|
5077
|
-
MarketingGatewayFeedsResource.prototype.postBulk = function (params) {
|
|
5078
|
-
return this.client.request({
|
|
5079
|
-
body: params.body,
|
|
5080
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/feeds/bulk"),
|
|
5081
|
-
headers: params.headers,
|
|
5082
|
-
method: 'POST',
|
|
5083
|
-
});
|
|
5084
|
-
};
|
|
5085
|
-
MarketingGatewayFeedsResource.prototype.postExport = function (params) {
|
|
5086
|
-
return this.client.request({
|
|
5087
|
-
body: params.body,
|
|
5088
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/feeds/export"),
|
|
5089
|
-
headers: params.headers,
|
|
5090
|
-
method: 'POST',
|
|
5091
|
-
});
|
|
5092
|
-
};
|
|
5093
|
-
MarketingGatewayFeedsResource.prototype.getByFeed = function (params) {
|
|
5094
|
-
return this.client.request({
|
|
5095
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/feeds/").concat(encodeURIComponent(params.feed)),
|
|
5096
|
-
headers: params.headers,
|
|
5097
|
-
method: 'GET',
|
|
5098
|
-
});
|
|
5099
|
-
};
|
|
5100
|
-
MarketingGatewayFeedsResource.prototype.deleteByFeed = function (params) {
|
|
5101
|
-
return this.client.request({
|
|
5102
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/feeds/").concat(encodeURIComponent(params.feed)),
|
|
5103
|
-
headers: params.headers,
|
|
5104
|
-
method: 'DELETE',
|
|
5105
|
-
});
|
|
5106
|
-
};
|
|
5107
|
-
MarketingGatewayFeedsResource.prototype.getDownloadsByFeedAndFormat = function (params) {
|
|
5108
|
-
return this.client.request({
|
|
5109
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/feeds/").concat(encodeURIComponent(params.feed), "/downloads/").concat(encodeURIComponent(params.format)),
|
|
5110
|
-
headers: params.headers,
|
|
5111
|
-
method: 'GET',
|
|
5112
|
-
});
|
|
5113
|
-
};
|
|
5114
|
-
return MarketingGatewayFeedsResource;
|
|
5115
|
-
}($Resource));
|
|
5116
|
-
export { MarketingGatewayFeedsResource };
|
|
5117
|
-
var MarketingGatewayFeedFormsResource = /** @class */ (function (_super) {
|
|
5118
|
-
__extends(MarketingGatewayFeedFormsResource, _super);
|
|
5119
|
-
function MarketingGatewayFeedFormsResource() {
|
|
5120
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
5121
|
-
}
|
|
5122
|
-
/*Provides list of feed forms (for markets) that do not yet exist and therefore can be created.*/
|
|
5123
|
-
MarketingGatewayFeedFormsResource.prototype.post = function (params) {
|
|
5124
|
-
return this.client.request({
|
|
5125
|
-
body: params.body,
|
|
5126
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/feed/forms"),
|
|
5127
|
-
headers: params.headers,
|
|
5128
|
-
method: 'POST',
|
|
5129
|
-
});
|
|
5130
|
-
};
|
|
5131
|
-
return MarketingGatewayFeedFormsResource;
|
|
5132
|
-
}($Resource));
|
|
5133
|
-
export { MarketingGatewayFeedFormsResource };
|
|
5134
|
-
var MarketingGatewayFeedSourcesResource = /** @class */ (function (_super) {
|
|
5135
|
-
__extends(MarketingGatewayFeedSourcesResource, _super);
|
|
5136
|
-
function MarketingGatewayFeedSourcesResource() {
|
|
5137
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
5138
|
-
}
|
|
5139
|
-
/*Provides list of data sources that can be used to create feeds from.*/
|
|
5140
|
-
MarketingGatewayFeedSourcesResource.prototype.get = function (params) {
|
|
5141
|
-
return this.client.request({
|
|
5142
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/feed/sources"),
|
|
5143
|
-
headers: params.headers,
|
|
5144
|
-
method: 'GET',
|
|
5145
|
-
query: {
|
|
5146
|
-
channel_id: params.channel_id,
|
|
5147
|
-
},
|
|
5148
|
-
});
|
|
5149
|
-
};
|
|
5150
|
-
return MarketingGatewayFeedSourcesResource;
|
|
5151
|
-
}($Resource));
|
|
5152
|
-
export { MarketingGatewayFeedSourcesResource };
|
|
5153
|
-
var MarketingGatewayGoogleConnectionsResource = /** @class */ (function (_super) {
|
|
5154
|
-
__extends(MarketingGatewayGoogleConnectionsResource, _super);
|
|
5155
|
-
function MarketingGatewayGoogleConnectionsResource() {
|
|
5156
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
5157
|
-
}
|
|
5158
|
-
MarketingGatewayGoogleConnectionsResource.prototype.get = function (params) {
|
|
5159
|
-
return this.client.request({
|
|
5160
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/google"),
|
|
5161
|
-
headers: params.headers,
|
|
5162
|
-
method: 'GET',
|
|
5163
|
-
});
|
|
5164
|
-
};
|
|
5165
|
-
MarketingGatewayGoogleConnectionsResource.prototype.put = function (params) {
|
|
5166
|
-
return this.client.request({
|
|
5167
|
-
body: params.body,
|
|
5168
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/google"),
|
|
5169
|
-
headers: params.headers,
|
|
5170
|
-
method: 'PUT',
|
|
5171
|
-
});
|
|
5172
|
-
};
|
|
5173
|
-
MarketingGatewayGoogleConnectionsResource.prototype.delete = function (params) {
|
|
5174
|
-
return this.client.request({
|
|
5175
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/google"),
|
|
5176
|
-
headers: params.headers,
|
|
5177
|
-
method: 'DELETE',
|
|
5178
|
-
});
|
|
5179
|
-
};
|
|
5180
|
-
MarketingGatewayGoogleConnectionsResource.prototype.putAccount = function (params) {
|
|
5181
|
-
return this.client.request({
|
|
5182
|
-
body: params.body,
|
|
5183
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/google/account"),
|
|
5184
|
-
headers: params.headers,
|
|
5185
|
-
method: 'PUT',
|
|
5186
|
-
});
|
|
5187
|
-
};
|
|
5188
|
-
return MarketingGatewayGoogleConnectionsResource;
|
|
5189
|
-
}($Resource));
|
|
5190
|
-
export { MarketingGatewayGoogleConnectionsResource };
|
|
5191
|
-
var MarketingGatewayLocalizedItemsResource = /** @class */ (function (_super) {
|
|
5192
|
-
__extends(MarketingGatewayLocalizedItemsResource, _super);
|
|
5193
|
-
function MarketingGatewayLocalizedItemsResource() {
|
|
5194
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
5195
|
-
}
|
|
5196
|
-
/*Provides random list of localized items given a feed form.*/
|
|
5197
|
-
MarketingGatewayLocalizedItemsResource.prototype.postRandom = function (params) {
|
|
5198
|
-
return this.client.request({
|
|
5199
|
-
body: params.body,
|
|
5200
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/marketing/gateway/items/random"),
|
|
5201
|
-
headers: params.headers,
|
|
5202
|
-
method: 'POST',
|
|
5203
|
-
query: {
|
|
5204
|
-
limit: params.limit,
|
|
5205
|
-
},
|
|
5206
|
-
});
|
|
5207
|
-
};
|
|
5208
|
-
return MarketingGatewayLocalizedItemsResource;
|
|
5209
|
-
}($Resource));
|
|
5210
|
-
export { MarketingGatewayLocalizedItemsResource };
|
|
5211
4943
|
var MarketsOrdersResource = /** @class */ (function (_super) {
|
|
5212
4944
|
__extends(MarketsOrdersResource, _super);
|
|
5213
4945
|
function MarketsOrdersResource() {
|
|
@@ -6686,6 +6418,22 @@ var PaymentRedirectsResource = /** @class */ (function (_super) {
|
|
|
6686
6418
|
return PaymentRedirectsResource;
|
|
6687
6419
|
}($Resource));
|
|
6688
6420
|
export { PaymentRedirectsResource };
|
|
6421
|
+
var PaymentShortUrlsResource = /** @class */ (function (_super) {
|
|
6422
|
+
__extends(PaymentShortUrlsResource, _super);
|
|
6423
|
+
function PaymentShortUrlsResource() {
|
|
6424
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
6425
|
+
}
|
|
6426
|
+
/*Redirects to the original long URL corresponding with the given key, if it exists.*/
|
|
6427
|
+
PaymentShortUrlsResource.prototype.get = function (params) {
|
|
6428
|
+
return this.client.request({
|
|
6429
|
+
endpoint: "/payment/short_urls/".concat(encodeURIComponent(params.key)),
|
|
6430
|
+
headers: params.headers,
|
|
6431
|
+
method: 'GET',
|
|
6432
|
+
});
|
|
6433
|
+
};
|
|
6434
|
+
return PaymentShortUrlsResource;
|
|
6435
|
+
}($Resource));
|
|
6436
|
+
export { PaymentShortUrlsResource };
|
|
6689
6437
|
var PendingBankPaymentsResource = /** @class */ (function (_super) {
|
|
6690
6438
|
__extends(PendingBankPaymentsResource, _super);
|
|
6691
6439
|
function PendingBankPaymentsResource() {
|
|
@@ -7684,6 +7432,59 @@ var RestrictionRulesResource = /** @class */ (function (_super) {
|
|
|
7684
7432
|
return RestrictionRulesResource;
|
|
7685
7433
|
}($Resource));
|
|
7686
7434
|
export { RestrictionRulesResource };
|
|
7435
|
+
var RestrictionRuleEffectsResource = /** @class */ (function (_super) {
|
|
7436
|
+
__extends(RestrictionRuleEffectsResource, _super);
|
|
7437
|
+
function RestrictionRuleEffectsResource() {
|
|
7438
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
7439
|
+
}
|
|
7440
|
+
/*Retrieve all of the restriction rule effects*/
|
|
7441
|
+
RestrictionRuleEffectsResource.prototype.get = function (params) {
|
|
7442
|
+
return this.client.request({
|
|
7443
|
+
endpoint: '/internal/restriction/rule/effect',
|
|
7444
|
+
headers: params.headers,
|
|
7445
|
+
method: 'GET',
|
|
7446
|
+
query: {
|
|
7447
|
+
ids: params.ids,
|
|
7448
|
+
limit: params.limit,
|
|
7449
|
+
offset: params.offset,
|
|
7450
|
+
rule_id: params.rule_id,
|
|
7451
|
+
},
|
|
7452
|
+
});
|
|
7453
|
+
};
|
|
7454
|
+
RestrictionRuleEffectsResource.prototype.post = function (params) {
|
|
7455
|
+
return this.client.request({
|
|
7456
|
+
body: params.body,
|
|
7457
|
+
endpoint: '/internal/restriction/rule/effect',
|
|
7458
|
+
headers: params.headers,
|
|
7459
|
+
method: 'POST',
|
|
7460
|
+
});
|
|
7461
|
+
};
|
|
7462
|
+
RestrictionRuleEffectsResource.prototype.getById = function (params) {
|
|
7463
|
+
return this.client.request({
|
|
7464
|
+
endpoint: "/internal/restriction/rule/effect/".concat(encodeURIComponent(params.id)),
|
|
7465
|
+
headers: params.headers,
|
|
7466
|
+
method: 'GET',
|
|
7467
|
+
});
|
|
7468
|
+
};
|
|
7469
|
+
RestrictionRuleEffectsResource.prototype.putById = function (params) {
|
|
7470
|
+
return this.client.request({
|
|
7471
|
+
body: params.body,
|
|
7472
|
+
endpoint: "/internal/restriction/rule/effect/".concat(encodeURIComponent(params.id)),
|
|
7473
|
+
headers: params.headers,
|
|
7474
|
+
method: 'PUT',
|
|
7475
|
+
});
|
|
7476
|
+
};
|
|
7477
|
+
/*Deletes restriction rule effect by id.*/
|
|
7478
|
+
RestrictionRuleEffectsResource.prototype.deleteById = function (params) {
|
|
7479
|
+
return this.client.request({
|
|
7480
|
+
endpoint: "/internal/restriction/rule/effect/".concat(encodeURIComponent(params.id)),
|
|
7481
|
+
headers: params.headers,
|
|
7482
|
+
method: 'DELETE',
|
|
7483
|
+
});
|
|
7484
|
+
};
|
|
7485
|
+
return RestrictionRuleEffectsResource;
|
|
7486
|
+
}($Resource));
|
|
7487
|
+
export { RestrictionRuleEffectsResource };
|
|
7687
7488
|
var RestrictionRuleOverridesResource = /** @class */ (function (_super) {
|
|
7688
7489
|
__extends(RestrictionRuleOverridesResource, _super);
|
|
7689
7490
|
function RestrictionRuleOverridesResource() {
|
|
@@ -8452,6 +8253,22 @@ var ShopifyStoreDetailsResource = /** @class */ (function (_super) {
|
|
|
8452
8253
|
return ShopifyStoreDetailsResource;
|
|
8453
8254
|
}($Resource));
|
|
8454
8255
|
export { ShopifyStoreDetailsResource };
|
|
8256
|
+
var ShopifyStripeEventsResource = /** @class */ (function (_super) {
|
|
8257
|
+
__extends(ShopifyStripeEventsResource, _super);
|
|
8258
|
+
function ShopifyStripeEventsResource() {
|
|
8259
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
8260
|
+
}
|
|
8261
|
+
ShopifyStripeEventsResource.prototype.post = function (params) {
|
|
8262
|
+
return this.client.request({
|
|
8263
|
+
body: params.body,
|
|
8264
|
+
endpoint: '/shopify_test/callbacks/stripe',
|
|
8265
|
+
headers: params.headers,
|
|
8266
|
+
method: 'POST',
|
|
8267
|
+
});
|
|
8268
|
+
};
|
|
8269
|
+
return ShopifyStripeEventsResource;
|
|
8270
|
+
}($Resource));
|
|
8271
|
+
export { ShopifyStripeEventsResource };
|
|
8455
8272
|
var ShopifyWebhookEventsResource = /** @class */ (function (_super) {
|
|
8456
8273
|
__extends(ShopifyWebhookEventsResource, _super);
|
|
8457
8274
|
function ShopifyWebhookEventsResource() {
|
|
@@ -8729,6 +8546,7 @@ var TestsResource = /** @class */ (function (_super) {
|
|
|
8729
8546
|
query: {
|
|
8730
8547
|
id: params.id,
|
|
8731
8548
|
limit: params.limit,
|
|
8549
|
+
name: params.name,
|
|
8732
8550
|
offset: params.offset,
|
|
8733
8551
|
sort: params.sort,
|
|
8734
8552
|
},
|
|
@@ -9161,6 +8979,7 @@ export function createClient(options) {
|
|
|
9161
8979
|
alertFailureSummaries: new AlertFailureSummariesResource(options),
|
|
9162
8980
|
alertRequeueSummaries: new AlertRequeueSummariesResource(options),
|
|
9163
8981
|
allOrganizationsMemberships: new AllOrganizationsMembershipsResource(options),
|
|
8982
|
+
anshItems: new AnshItemsResource(options),
|
|
9164
8983
|
authorizedChargeStatuses: new AuthorizedChargeStatusesResource(options),
|
|
9165
8984
|
bankPayments: new BankPaymentsResource(options),
|
|
9166
8985
|
bankPaymentOrders: new BankPaymentOrdersResource(options),
|
|
@@ -9286,6 +9105,7 @@ export function createClient(options) {
|
|
|
9286
9105
|
shopifyCarts: new ShopifyCartsResource(options),
|
|
9287
9106
|
shopifyCartConversions: new ShopifyCartConversionsResource(options),
|
|
9288
9107
|
shopifyLocalizedVariants: new ShopifyLocalizedVariantsResource(options),
|
|
9108
|
+
shopifyPaymentStripeEvents: new ShopifyPaymentStripeEventsResource(options),
|
|
9289
9109
|
stripeDisputeEvents: new StripeDisputeEventsResource(options),
|
|
9290
9110
|
stripeEvents: new StripeEventsResource(options),
|
|
9291
9111
|
channelTokens: new ChannelTokensResource(options),
|
|
@@ -9312,17 +9132,6 @@ export function createClient(options) {
|
|
|
9312
9132
|
lostChargebacks: new LostChargebacksResource(options),
|
|
9313
9133
|
loyaltyPrograms: new LoyaltyProgramsResource(options),
|
|
9314
9134
|
manualReviewRules: new ManualReviewRulesResource(options),
|
|
9315
|
-
marketingGatewayChannels: new MarketingGatewayChannelsResource(options),
|
|
9316
|
-
marketingGatewayChannelSourceSummaries: new MarketingGatewayChannelSourceSummariesResource(options),
|
|
9317
|
-
marketingGatewayFacebookBusinesses: new MarketingGatewayFacebookBusinessesResource(options),
|
|
9318
|
-
marketingGatewayFacebookConnections: new MarketingGatewayFacebookConnectionsResource(options),
|
|
9319
|
-
marketingGatewayFacebookConnectionAccessTokenSummaries: new MarketingGatewayFacebookConnectionAccessTokenSummariesResource(options),
|
|
9320
|
-
marketingGatewayFacebookConnectionDeauths: new MarketingGatewayFacebookConnectionDeauthsResource(options),
|
|
9321
|
-
marketingGatewayFeeds: new MarketingGatewayFeedsResource(options),
|
|
9322
|
-
marketingGatewayFeedForms: new MarketingGatewayFeedFormsResource(options),
|
|
9323
|
-
marketingGatewayFeedSources: new MarketingGatewayFeedSourcesResource(options),
|
|
9324
|
-
marketingGatewayGoogleConnections: new MarketingGatewayGoogleConnectionsResource(options),
|
|
9325
|
-
marketingGatewayLocalizedItems: new MarketingGatewayLocalizedItemsResource(options),
|
|
9326
9135
|
marketsOrders: new MarketsOrdersResource(options),
|
|
9327
9136
|
marketsOrderSummaries: new MarketsOrderSummariesResource(options),
|
|
9328
9137
|
merchantApplicationSummaries: new MerchantApplicationSummariesResource(options),
|
|
@@ -9364,6 +9173,7 @@ export function createClient(options) {
|
|
|
9364
9173
|
paymentMethodDetails: new PaymentMethodDetailsResource(options),
|
|
9365
9174
|
paymentOrganizationSettings: new PaymentOrganizationSettingsResource(options),
|
|
9366
9175
|
paymentRedirects: new PaymentRedirectsResource(options),
|
|
9176
|
+
paymentShortUrls: new PaymentShortUrlsResource(options),
|
|
9367
9177
|
pendingBankPayments: new PendingBankPaymentsResource(options),
|
|
9368
9178
|
platformFeeChanges: new PlatformFeeChangesResource(options),
|
|
9369
9179
|
processorAccounts: new ProcessorAccountsResource(options),
|
|
@@ -9391,6 +9201,7 @@ export function createClient(options) {
|
|
|
9391
9201
|
restrictionProducts: new RestrictionProductsResource(options),
|
|
9392
9202
|
restrictionProductSummaries: new RestrictionProductSummariesResource(options),
|
|
9393
9203
|
restrictionRules: new RestrictionRulesResource(options),
|
|
9204
|
+
restrictionRuleEffects: new RestrictionRuleEffectsResource(options),
|
|
9394
9205
|
restrictionRuleOverrides: new RestrictionRuleOverridesResource(options),
|
|
9395
9206
|
routingEntities: new RoutingEntitiesResource(options),
|
|
9396
9207
|
sandboxSetups: new SandboxSetupsResource(options),
|
|
@@ -9419,6 +9230,7 @@ export function createClient(options) {
|
|
|
9419
9230
|
shopifyPartnerWebhooks: new ShopifyPartnerWebhooksResource(options),
|
|
9420
9231
|
shopifyPromotions: new ShopifyPromotionsResource(options),
|
|
9421
9232
|
shopifyStoreDetails: new ShopifyStoreDetailsResource(options),
|
|
9233
|
+
shopifyStripeEvents: new ShopifyStripeEventsResource(options),
|
|
9422
9234
|
shopifyWebhookEvents: new ShopifyWebhookEventsResource(options),
|
|
9423
9235
|
smpTaxCalculationForms: new SmpTaxCalculationFormsResource(options),
|
|
9424
9236
|
snoozes: new SnoozesResource(options),
|