@flowio/api-internal-sdk 0.0.145 → 0.0.147
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 +298 -241
- package/dist/esm/api-internal.js +291 -234
- package/dist/types/api-internal.d.ts +193 -177
- package/package.json +2 -2
package/dist/esm/api-internal.js
CHANGED
|
@@ -248,38 +248,6 @@ var AuthorizedChargeStatusesResource = /** @class */ (function (_super) {
|
|
|
248
248
|
return AuthorizedChargeStatusesResource;
|
|
249
249
|
}($Resource));
|
|
250
250
|
export { AuthorizedChargeStatusesResource };
|
|
251
|
-
var BackfillsResource = /** @class */ (function (_super) {
|
|
252
|
-
__extends(BackfillsResource, _super);
|
|
253
|
-
function BackfillsResource() {
|
|
254
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
255
|
-
}
|
|
256
|
-
BackfillsResource.prototype.putCumulativeAndDaily = function (params) {
|
|
257
|
-
return this.client.request({
|
|
258
|
-
body: params.body,
|
|
259
|
-
endpoint: '/experiment-engine/backfill/cumulative/daily',
|
|
260
|
-
headers: params.headers,
|
|
261
|
-
method: 'PUT',
|
|
262
|
-
});
|
|
263
|
-
};
|
|
264
|
-
BackfillsResource.prototype.putDaily = function (params) {
|
|
265
|
-
return this.client.request({
|
|
266
|
-
body: params.body,
|
|
267
|
-
endpoint: '/experiment-engine/backfill/daily',
|
|
268
|
-
headers: params.headers,
|
|
269
|
-
method: 'PUT',
|
|
270
|
-
});
|
|
271
|
-
};
|
|
272
|
-
BackfillsResource.prototype.putTotalsAndDaily = function (params) {
|
|
273
|
-
return this.client.request({
|
|
274
|
-
body: params.body,
|
|
275
|
-
endpoint: '/experiment-engine/backfill/totals/daily',
|
|
276
|
-
headers: params.headers,
|
|
277
|
-
method: 'PUT',
|
|
278
|
-
});
|
|
279
|
-
};
|
|
280
|
-
return BackfillsResource;
|
|
281
|
-
}($Resource));
|
|
282
|
-
export { BackfillsResource };
|
|
283
251
|
var BankPaymentsResource = /** @class */ (function (_super) {
|
|
284
252
|
__extends(BankPaymentsResource, _super);
|
|
285
253
|
function BankPaymentsResource() {
|
|
@@ -2156,186 +2124,6 @@ var ErpVendorStatusesResource = /** @class */ (function (_super) {
|
|
|
2156
2124
|
return ErpVendorStatusesResource;
|
|
2157
2125
|
}($Resource));
|
|
2158
2126
|
export { ErpVendorStatusesResource };
|
|
2159
|
-
var ExperimentsResource = /** @class */ (function (_super) {
|
|
2160
|
-
__extends(ExperimentsResource, _super);
|
|
2161
|
-
function ExperimentsResource() {
|
|
2162
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2163
|
-
}
|
|
2164
|
-
ExperimentsResource.prototype.get = function (params) {
|
|
2165
|
-
return this.client.request({
|
|
2166
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiments"),
|
|
2167
|
-
headers: params.headers,
|
|
2168
|
-
method: 'GET',
|
|
2169
|
-
query: {
|
|
2170
|
-
id: params.id,
|
|
2171
|
-
key: params.key,
|
|
2172
|
-
limit: params.limit,
|
|
2173
|
-
offset: params.offset,
|
|
2174
|
-
sort: params.sort,
|
|
2175
|
-
status: params.status,
|
|
2176
|
-
},
|
|
2177
|
-
});
|
|
2178
|
-
};
|
|
2179
|
-
/*Add an experiment*/
|
|
2180
|
-
ExperimentsResource.prototype.post = function (params) {
|
|
2181
|
-
return this.client.request({
|
|
2182
|
-
body: params.body,
|
|
2183
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiments"),
|
|
2184
|
-
headers: params.headers,
|
|
2185
|
-
method: 'POST',
|
|
2186
|
-
});
|
|
2187
|
-
};
|
|
2188
|
-
ExperimentsResource.prototype.getByKey = function (params) {
|
|
2189
|
-
return this.client.request({
|
|
2190
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiments/").concat(encodeURIComponent(params.key)),
|
|
2191
|
-
headers: params.headers,
|
|
2192
|
-
method: 'GET',
|
|
2193
|
-
});
|
|
2194
|
-
};
|
|
2195
|
-
/*Upsert an experiment*/
|
|
2196
|
-
ExperimentsResource.prototype.putByKey = function (params) {
|
|
2197
|
-
return this.client.request({
|
|
2198
|
-
body: params.body,
|
|
2199
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiments/").concat(encodeURIComponent(params.key)),
|
|
2200
|
-
headers: params.headers,
|
|
2201
|
-
method: 'PUT',
|
|
2202
|
-
});
|
|
2203
|
-
};
|
|
2204
|
-
ExperimentsResource.prototype.deleteByKey = function (params) {
|
|
2205
|
-
return this.client.request({
|
|
2206
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiments/").concat(encodeURIComponent(params.key)),
|
|
2207
|
-
headers: params.headers,
|
|
2208
|
-
method: 'DELETE',
|
|
2209
|
-
});
|
|
2210
|
-
};
|
|
2211
|
-
/*Update the session query for an experiment*/
|
|
2212
|
-
ExperimentsResource.prototype.putSessionAndQueryByKey = function (params) {
|
|
2213
|
-
return this.client.request({
|
|
2214
|
-
body: params.body,
|
|
2215
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiments/").concat(encodeURIComponent(params.key), "/session/query"),
|
|
2216
|
-
headers: params.headers,
|
|
2217
|
-
method: 'PUT',
|
|
2218
|
-
});
|
|
2219
|
-
};
|
|
2220
|
-
/*Updates the status of an experiment*/
|
|
2221
|
-
ExperimentsResource.prototype.putByKeyAndStatus = function (params) {
|
|
2222
|
-
return this.client.request({
|
|
2223
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiments/").concat(encodeURIComponent(params.key), "/").concat(encodeURIComponent(params.status)),
|
|
2224
|
-
headers: params.headers,
|
|
2225
|
-
method: 'PUT',
|
|
2226
|
-
query: {
|
|
2227
|
-
activate_variant_id: params.activate_variant_id,
|
|
2228
|
-
},
|
|
2229
|
-
});
|
|
2230
|
-
};
|
|
2231
|
-
return ExperimentsResource;
|
|
2232
|
-
}($Resource));
|
|
2233
|
-
export { ExperimentsResource };
|
|
2234
|
-
var ExperimentFormDefaultsResource = /** @class */ (function (_super) {
|
|
2235
|
-
__extends(ExperimentFormDefaultsResource, _super);
|
|
2236
|
-
function ExperimentFormDefaultsResource() {
|
|
2237
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2238
|
-
}
|
|
2239
|
-
/*For the discriminator 'experience', returns the list of valid experience keys for which we can create an experiment. For the discriminator 'feature', returns the list of valid feature keys for which we can create an experiment*/
|
|
2240
|
-
ExperimentFormDefaultsResource.prototype.getDiscriminatorByDiscriminatorKey = function (params) {
|
|
2241
|
-
return this.client.request({
|
|
2242
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiment/form/defaults/discriminator/").concat(encodeURIComponent(params.discriminator_key)),
|
|
2243
|
-
headers: params.headers,
|
|
2244
|
-
method: 'GET',
|
|
2245
|
-
});
|
|
2246
|
-
};
|
|
2247
|
-
/*Returns the defaults for the experiment form.*/
|
|
2248
|
-
ExperimentFormDefaultsResource.prototype.getDiscriminatorByDiscriminatorKeyAndValue = function (params) {
|
|
2249
|
-
return this.client.request({
|
|
2250
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiment/form/defaults/discriminator/").concat(encodeURIComponent(params.discriminator_key), "/").concat(encodeURIComponent(params.value)),
|
|
2251
|
-
headers: params.headers,
|
|
2252
|
-
method: 'GET',
|
|
2253
|
-
});
|
|
2254
|
-
};
|
|
2255
|
-
/*Returns*/
|
|
2256
|
-
ExperimentFormDefaultsResource.prototype.getByExperimentKey = function (params) {
|
|
2257
|
-
return this.client.request({
|
|
2258
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiment/form/defaults/").concat(encodeURIComponent(params.experiment_key)),
|
|
2259
|
-
headers: params.headers,
|
|
2260
|
-
method: 'GET',
|
|
2261
|
-
});
|
|
2262
|
-
};
|
|
2263
|
-
return ExperimentFormDefaultsResource;
|
|
2264
|
-
}($Resource));
|
|
2265
|
-
export { ExperimentFormDefaultsResource };
|
|
2266
|
-
var ExperimentMilestonesResource = /** @class */ (function (_super) {
|
|
2267
|
-
__extends(ExperimentMilestonesResource, _super);
|
|
2268
|
-
function ExperimentMilestonesResource() {
|
|
2269
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2270
|
-
}
|
|
2271
|
-
ExperimentMilestonesResource.prototype.get = function (params) {
|
|
2272
|
-
return this.client.request({
|
|
2273
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiments/").concat(encodeURIComponent(params.experiment_key), "/milestone"),
|
|
2274
|
-
headers: params.headers,
|
|
2275
|
-
method: 'GET',
|
|
2276
|
-
query: {
|
|
2277
|
-
id: params.id,
|
|
2278
|
-
limit: params.limit,
|
|
2279
|
-
offset: params.offset,
|
|
2280
|
-
sort: params.sort,
|
|
2281
|
-
},
|
|
2282
|
-
});
|
|
2283
|
-
};
|
|
2284
|
-
/*Add an experiment_milestone*/
|
|
2285
|
-
ExperimentMilestonesResource.prototype.post = function (params) {
|
|
2286
|
-
return this.client.request({
|
|
2287
|
-
body: params.body,
|
|
2288
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiments/").concat(encodeURIComponent(params.experiment_key), "/milestone"),
|
|
2289
|
-
headers: params.headers,
|
|
2290
|
-
method: 'POST',
|
|
2291
|
-
});
|
|
2292
|
-
};
|
|
2293
|
-
ExperimentMilestonesResource.prototype.getById = function (params) {
|
|
2294
|
-
return this.client.request({
|
|
2295
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiments/").concat(encodeURIComponent(params.experiment_key), "/milestone/").concat(encodeURIComponent(params.id)),
|
|
2296
|
-
headers: params.headers,
|
|
2297
|
-
method: 'GET',
|
|
2298
|
-
});
|
|
2299
|
-
};
|
|
2300
|
-
/*Update an experiment milestone*/
|
|
2301
|
-
ExperimentMilestonesResource.prototype.putById = function (params) {
|
|
2302
|
-
return this.client.request({
|
|
2303
|
-
body: params.body,
|
|
2304
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiments/").concat(encodeURIComponent(params.experiment_key), "/milestone/").concat(encodeURIComponent(params.id)),
|
|
2305
|
-
headers: params.headers,
|
|
2306
|
-
method: 'PUT',
|
|
2307
|
-
});
|
|
2308
|
-
};
|
|
2309
|
-
ExperimentMilestonesResource.prototype.deleteById = function (params) {
|
|
2310
|
-
return this.client.request({
|
|
2311
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiments/").concat(encodeURIComponent(params.experiment_key), "/milestone/").concat(encodeURIComponent(params.id)),
|
|
2312
|
-
headers: params.headers,
|
|
2313
|
-
method: 'DELETE',
|
|
2314
|
-
});
|
|
2315
|
-
};
|
|
2316
|
-
return ExperimentMilestonesResource;
|
|
2317
|
-
}($Resource));
|
|
2318
|
-
export { ExperimentMilestonesResource };
|
|
2319
|
-
var ExperimentResultsWithTimestampsResource = /** @class */ (function (_super) {
|
|
2320
|
-
__extends(ExperimentResultsWithTimestampsResource, _super);
|
|
2321
|
-
function ExperimentResultsWithTimestampsResource() {
|
|
2322
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
2323
|
-
}
|
|
2324
|
-
ExperimentResultsWithTimestampsResource.prototype.getCumulative = function (params) {
|
|
2325
|
-
return this.client.request({
|
|
2326
|
-
endpoint: "/".concat(encodeURIComponent(params.organization), "/experiment/").concat(encodeURIComponent(params.key), "/results/cumulative"),
|
|
2327
|
-
headers: params.headers,
|
|
2328
|
-
method: 'GET',
|
|
2329
|
-
query: {
|
|
2330
|
-
end: params.end,
|
|
2331
|
-
start: params.start,
|
|
2332
|
-
timeseries: params.timeseries,
|
|
2333
|
-
},
|
|
2334
|
-
});
|
|
2335
|
-
};
|
|
2336
|
-
return ExperimentResultsWithTimestampsResource;
|
|
2337
|
-
}($Resource));
|
|
2338
|
-
export { ExperimentResultsWithTimestampsResource };
|
|
2339
2127
|
var ExplicitStatementsResource = /** @class */ (function (_super) {
|
|
2340
2128
|
__extends(ExplicitStatementsResource, _super);
|
|
2341
2129
|
function ExplicitStatementsResource() {
|
|
@@ -3206,6 +2994,44 @@ var GoogleShoppingSettingsResource = /** @class */ (function (_super) {
|
|
|
3206
2994
|
return GoogleShoppingSettingsResource;
|
|
3207
2995
|
}($Resource));
|
|
3208
2996
|
export { GoogleShoppingSettingsResource };
|
|
2997
|
+
var HarinathItemsResource = /** @class */ (function (_super) {
|
|
2998
|
+
__extends(HarinathItemsResource, _super);
|
|
2999
|
+
function HarinathItemsResource() {
|
|
3000
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3001
|
+
}
|
|
3002
|
+
HarinathItemsResource.prototype.post = function (params) {
|
|
3003
|
+
return this.client.request({
|
|
3004
|
+
body: params.body,
|
|
3005
|
+
endpoint: '/harinath/items',
|
|
3006
|
+
headers: params.headers,
|
|
3007
|
+
method: 'POST',
|
|
3008
|
+
});
|
|
3009
|
+
};
|
|
3010
|
+
HarinathItemsResource.prototype.getById = function (params) {
|
|
3011
|
+
return this.client.request({
|
|
3012
|
+
endpoint: "/harinath/items/".concat(encodeURIComponent(params.id)),
|
|
3013
|
+
headers: params.headers,
|
|
3014
|
+
method: 'GET',
|
|
3015
|
+
});
|
|
3016
|
+
};
|
|
3017
|
+
HarinathItemsResource.prototype.putById = function (params) {
|
|
3018
|
+
return this.client.request({
|
|
3019
|
+
body: params.body,
|
|
3020
|
+
endpoint: "/harinath/items/".concat(encodeURIComponent(params.id)),
|
|
3021
|
+
headers: params.headers,
|
|
3022
|
+
method: 'PUT',
|
|
3023
|
+
});
|
|
3024
|
+
};
|
|
3025
|
+
HarinathItemsResource.prototype.deleteById = function (params) {
|
|
3026
|
+
return this.client.request({
|
|
3027
|
+
endpoint: "/harinath/items/".concat(encodeURIComponent(params.id)),
|
|
3028
|
+
headers: params.headers,
|
|
3029
|
+
method: 'DELETE',
|
|
3030
|
+
});
|
|
3031
|
+
};
|
|
3032
|
+
return HarinathItemsResource;
|
|
3033
|
+
}($Resource));
|
|
3034
|
+
export { HarinathItemsResource };
|
|
3209
3035
|
var HarmonizationItemClassificationsResource = /** @class */ (function (_super) {
|
|
3210
3036
|
__extends(HarmonizationItemClassificationsResource, _super);
|
|
3211
3037
|
function HarmonizationItemClassificationsResource() {
|
|
@@ -3879,6 +3705,22 @@ var OrdersResource = /** @class */ (function (_super) {
|
|
|
3879
3705
|
return OrdersResource;
|
|
3880
3706
|
}($Resource));
|
|
3881
3707
|
export { OrdersResource };
|
|
3708
|
+
var PaypalDisputeEventsResource = /** @class */ (function (_super) {
|
|
3709
|
+
__extends(PaypalDisputeEventsResource, _super);
|
|
3710
|
+
function PaypalDisputeEventsResource() {
|
|
3711
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3712
|
+
}
|
|
3713
|
+
PaypalDisputeEventsResource.prototype.post = function (params) {
|
|
3714
|
+
return this.client.request({
|
|
3715
|
+
body: params.body,
|
|
3716
|
+
endpoint: '/dispute/callbacks/paypal',
|
|
3717
|
+
headers: params.headers,
|
|
3718
|
+
method: 'POST',
|
|
3719
|
+
});
|
|
3720
|
+
};
|
|
3721
|
+
return PaypalDisputeEventsResource;
|
|
3722
|
+
}($Resource));
|
|
3723
|
+
export { PaypalDisputeEventsResource };
|
|
3882
3724
|
var WebhookEventsResource = /** @class */ (function (_super) {
|
|
3883
3725
|
__extends(WebhookEventsResource, _super);
|
|
3884
3726
|
function WebhookEventsResource() {
|
|
@@ -4437,6 +4279,22 @@ var ShopifyLocalizedVariantsResource = /** @class */ (function (_super) {
|
|
|
4437
4279
|
return ShopifyLocalizedVariantsResource;
|
|
4438
4280
|
}($Resource));
|
|
4439
4281
|
export { ShopifyLocalizedVariantsResource };
|
|
4282
|
+
var StripeDisputeEventsResource = /** @class */ (function (_super) {
|
|
4283
|
+
__extends(StripeDisputeEventsResource, _super);
|
|
4284
|
+
function StripeDisputeEventsResource() {
|
|
4285
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4286
|
+
}
|
|
4287
|
+
StripeDisputeEventsResource.prototype.post = function (params) {
|
|
4288
|
+
return this.client.request({
|
|
4289
|
+
body: params.body,
|
|
4290
|
+
endpoint: '/dispute/callbacks/stripe',
|
|
4291
|
+
headers: params.headers,
|
|
4292
|
+
method: 'POST',
|
|
4293
|
+
});
|
|
4294
|
+
};
|
|
4295
|
+
return StripeDisputeEventsResource;
|
|
4296
|
+
}($Resource));
|
|
4297
|
+
export { StripeDisputeEventsResource };
|
|
4440
4298
|
var StripeEventsResource = /** @class */ (function (_super) {
|
|
4441
4299
|
__extends(StripeEventsResource, _super);
|
|
4442
4300
|
function StripeEventsResource() {
|
|
@@ -4470,38 +4328,37 @@ var ChannelTokensResource = /** @class */ (function (_super) {
|
|
|
4470
4328
|
return ChannelTokensResource;
|
|
4471
4329
|
}($Resource));
|
|
4472
4330
|
export { ChannelTokensResource };
|
|
4473
|
-
var
|
|
4474
|
-
__extends(
|
|
4475
|
-
function
|
|
4331
|
+
var LabelTrackingSummariesResource = /** @class */ (function (_super) {
|
|
4332
|
+
__extends(LabelTrackingSummariesResource, _super);
|
|
4333
|
+
function LabelTrackingSummariesResource() {
|
|
4476
4334
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
4477
4335
|
}
|
|
4478
|
-
|
|
4336
|
+
LabelTrackingSummariesResource.prototype.getByLabelId = function (params) {
|
|
4479
4337
|
return this.client.request({
|
|
4480
|
-
|
|
4481
|
-
endpoint: '/internal/tracking/resync/request',
|
|
4338
|
+
endpoint: "/internal/label_tracking_summary/".concat(encodeURIComponent(params.label_id)),
|
|
4482
4339
|
headers: params.headers,
|
|
4483
|
-
method: '
|
|
4340
|
+
method: 'GET',
|
|
4484
4341
|
});
|
|
4485
4342
|
};
|
|
4486
|
-
return
|
|
4343
|
+
return LabelTrackingSummariesResource;
|
|
4487
4344
|
}($Resource));
|
|
4488
|
-
export {
|
|
4489
|
-
var
|
|
4490
|
-
__extends(
|
|
4491
|
-
function
|
|
4345
|
+
export { LabelTrackingSummariesResource };
|
|
4346
|
+
var TrackingsResource = /** @class */ (function (_super) {
|
|
4347
|
+
__extends(TrackingsResource, _super);
|
|
4348
|
+
function TrackingsResource() {
|
|
4492
4349
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
4493
4350
|
}
|
|
4494
|
-
|
|
4351
|
+
TrackingsResource.prototype.post = function (params) {
|
|
4495
4352
|
return this.client.request({
|
|
4496
4353
|
body: params.body,
|
|
4497
|
-
endpoint:
|
|
4354
|
+
endpoint: '/internal/tracking/resync/request',
|
|
4498
4355
|
headers: params.headers,
|
|
4499
4356
|
method: 'POST',
|
|
4500
4357
|
});
|
|
4501
4358
|
};
|
|
4502
|
-
return
|
|
4359
|
+
return TrackingsResource;
|
|
4503
4360
|
}($Resource));
|
|
4504
|
-
export {
|
|
4361
|
+
export { TrackingsResource };
|
|
4505
4362
|
var ItemClassificationsResource = /** @class */ (function (_super) {
|
|
4506
4363
|
__extends(ItemClassificationsResource, _super);
|
|
4507
4364
|
function ItemClassificationsResource() {
|
|
@@ -4748,6 +4605,44 @@ var KeysResource = /** @class */ (function (_super) {
|
|
|
4748
4605
|
return KeysResource;
|
|
4749
4606
|
}($Resource));
|
|
4750
4607
|
export { KeysResource };
|
|
4608
|
+
var KonstantinItemsResource = /** @class */ (function (_super) {
|
|
4609
|
+
__extends(KonstantinItemsResource, _super);
|
|
4610
|
+
function KonstantinItemsResource() {
|
|
4611
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4612
|
+
}
|
|
4613
|
+
KonstantinItemsResource.prototype.post = function (params) {
|
|
4614
|
+
return this.client.request({
|
|
4615
|
+
body: params.body,
|
|
4616
|
+
endpoint: '/konstantin/items',
|
|
4617
|
+
headers: params.headers,
|
|
4618
|
+
method: 'POST',
|
|
4619
|
+
});
|
|
4620
|
+
};
|
|
4621
|
+
KonstantinItemsResource.prototype.getById = function (params) {
|
|
4622
|
+
return this.client.request({
|
|
4623
|
+
endpoint: "/konstantin/items/".concat(encodeURIComponent(params.id)),
|
|
4624
|
+
headers: params.headers,
|
|
4625
|
+
method: 'GET',
|
|
4626
|
+
});
|
|
4627
|
+
};
|
|
4628
|
+
KonstantinItemsResource.prototype.putById = function (params) {
|
|
4629
|
+
return this.client.request({
|
|
4630
|
+
body: params.body,
|
|
4631
|
+
endpoint: "/konstantin/items/".concat(encodeURIComponent(params.id)),
|
|
4632
|
+
headers: params.headers,
|
|
4633
|
+
method: 'PUT',
|
|
4634
|
+
});
|
|
4635
|
+
};
|
|
4636
|
+
KonstantinItemsResource.prototype.deleteById = function (params) {
|
|
4637
|
+
return this.client.request({
|
|
4638
|
+
endpoint: "/konstantin/items/".concat(encodeURIComponent(params.id)),
|
|
4639
|
+
headers: params.headers,
|
|
4640
|
+
method: 'DELETE',
|
|
4641
|
+
});
|
|
4642
|
+
};
|
|
4643
|
+
return KonstantinItemsResource;
|
|
4644
|
+
}($Resource));
|
|
4645
|
+
export { KonstantinItemsResource };
|
|
4751
4646
|
var LabProjectSettingsResource = /** @class */ (function (_super) {
|
|
4752
4647
|
__extends(LabProjectSettingsResource, _super);
|
|
4753
4648
|
function LabProjectSettingsResource() {
|
|
@@ -5057,6 +4952,26 @@ var LogisticsCapabilitiesResource = /** @class */ (function (_super) {
|
|
|
5057
4952
|
return LogisticsCapabilitiesResource;
|
|
5058
4953
|
}($Resource));
|
|
5059
4954
|
export { LogisticsCapabilitiesResource };
|
|
4955
|
+
var LogisticsPayoutRequestsResource = /** @class */ (function (_super) {
|
|
4956
|
+
__extends(LogisticsPayoutRequestsResource, _super);
|
|
4957
|
+
function LogisticsPayoutRequestsResource() {
|
|
4958
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
4959
|
+
}
|
|
4960
|
+
/*Handles a payout request for a order and carrier tracking number*/
|
|
4961
|
+
LogisticsPayoutRequestsResource.prototype.post = function (params) {
|
|
4962
|
+
return this.client.request({
|
|
4963
|
+
body: params.body,
|
|
4964
|
+
endpoint: '/internal/logistics/payout_request',
|
|
4965
|
+
headers: params.headers,
|
|
4966
|
+
method: 'POST',
|
|
4967
|
+
query: {
|
|
4968
|
+
dry_run: params.dry_run,
|
|
4969
|
+
},
|
|
4970
|
+
});
|
|
4971
|
+
};
|
|
4972
|
+
return LogisticsPayoutRequestsResource;
|
|
4973
|
+
}($Resource));
|
|
4974
|
+
export { LogisticsPayoutRequestsResource };
|
|
5060
4975
|
var LostChargebacksResource = /** @class */ (function (_super) {
|
|
5061
4976
|
__extends(LostChargebacksResource, _super);
|
|
5062
4977
|
function LostChargebacksResource() {
|
|
@@ -5717,6 +5632,82 @@ var MerchantOfRecordEntitySettingsResource = /** @class */ (function (_super) {
|
|
|
5717
5632
|
return MerchantOfRecordEntitySettingsResource;
|
|
5718
5633
|
}($Resource));
|
|
5719
5634
|
export { MerchantOfRecordEntitySettingsResource };
|
|
5635
|
+
var MichaelyanItemsResource = /** @class */ (function (_super) {
|
|
5636
|
+
__extends(MichaelyanItemsResource, _super);
|
|
5637
|
+
function MichaelyanItemsResource() {
|
|
5638
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
5639
|
+
}
|
|
5640
|
+
MichaelyanItemsResource.prototype.post = function (params) {
|
|
5641
|
+
return this.client.request({
|
|
5642
|
+
body: params.body,
|
|
5643
|
+
endpoint: '/michaelyan/items',
|
|
5644
|
+
headers: params.headers,
|
|
5645
|
+
method: 'POST',
|
|
5646
|
+
});
|
|
5647
|
+
};
|
|
5648
|
+
MichaelyanItemsResource.prototype.getById = function (params) {
|
|
5649
|
+
return this.client.request({
|
|
5650
|
+
endpoint: "/michaelyan/items/".concat(encodeURIComponent(params.id)),
|
|
5651
|
+
headers: params.headers,
|
|
5652
|
+
method: 'GET',
|
|
5653
|
+
});
|
|
5654
|
+
};
|
|
5655
|
+
MichaelyanItemsResource.prototype.putById = function (params) {
|
|
5656
|
+
return this.client.request({
|
|
5657
|
+
body: params.body,
|
|
5658
|
+
endpoint: "/michaelyan/items/".concat(encodeURIComponent(params.id)),
|
|
5659
|
+
headers: params.headers,
|
|
5660
|
+
method: 'PUT',
|
|
5661
|
+
});
|
|
5662
|
+
};
|
|
5663
|
+
MichaelyanItemsResource.prototype.deleteById = function (params) {
|
|
5664
|
+
return this.client.request({
|
|
5665
|
+
endpoint: "/michaelyan/items/".concat(encodeURIComponent(params.id)),
|
|
5666
|
+
headers: params.headers,
|
|
5667
|
+
method: 'DELETE',
|
|
5668
|
+
});
|
|
5669
|
+
};
|
|
5670
|
+
return MichaelyanItemsResource;
|
|
5671
|
+
}($Resource));
|
|
5672
|
+
export { MichaelyanItemsResource };
|
|
5673
|
+
var MiljenkoItemsResource = /** @class */ (function (_super) {
|
|
5674
|
+
__extends(MiljenkoItemsResource, _super);
|
|
5675
|
+
function MiljenkoItemsResource() {
|
|
5676
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
5677
|
+
}
|
|
5678
|
+
MiljenkoItemsResource.prototype.post = function (params) {
|
|
5679
|
+
return this.client.request({
|
|
5680
|
+
body: params.body,
|
|
5681
|
+
endpoint: '/miljenko/items',
|
|
5682
|
+
headers: params.headers,
|
|
5683
|
+
method: 'POST',
|
|
5684
|
+
});
|
|
5685
|
+
};
|
|
5686
|
+
MiljenkoItemsResource.prototype.getById = function (params) {
|
|
5687
|
+
return this.client.request({
|
|
5688
|
+
endpoint: "/miljenko/items/".concat(encodeURIComponent(params.id)),
|
|
5689
|
+
headers: params.headers,
|
|
5690
|
+
method: 'GET',
|
|
5691
|
+
});
|
|
5692
|
+
};
|
|
5693
|
+
MiljenkoItemsResource.prototype.putById = function (params) {
|
|
5694
|
+
return this.client.request({
|
|
5695
|
+
body: params.body,
|
|
5696
|
+
endpoint: "/miljenko/items/".concat(encodeURIComponent(params.id)),
|
|
5697
|
+
headers: params.headers,
|
|
5698
|
+
method: 'PUT',
|
|
5699
|
+
});
|
|
5700
|
+
};
|
|
5701
|
+
MiljenkoItemsResource.prototype.deleteById = function (params) {
|
|
5702
|
+
return this.client.request({
|
|
5703
|
+
endpoint: "/miljenko/items/".concat(encodeURIComponent(params.id)),
|
|
5704
|
+
headers: params.headers,
|
|
5705
|
+
method: 'DELETE',
|
|
5706
|
+
});
|
|
5707
|
+
};
|
|
5708
|
+
return MiljenkoItemsResource;
|
|
5709
|
+
}($Resource));
|
|
5710
|
+
export { MiljenkoItemsResource };
|
|
5720
5711
|
var OnboardingAuditReportsResource = /** @class */ (function (_super) {
|
|
5721
5712
|
__extends(OnboardingAuditReportsResource, _super);
|
|
5722
5713
|
function OnboardingAuditReportsResource() {
|
|
@@ -7565,6 +7556,22 @@ var ReportSummaryResource = /** @class */ (function (_super) {
|
|
|
7565
7556
|
return ReportSummaryResource;
|
|
7566
7557
|
}($Resource));
|
|
7567
7558
|
export { ReportSummaryResource };
|
|
7559
|
+
var RescreenRestrictionsProductsResource = /** @class */ (function (_super) {
|
|
7560
|
+
__extends(RescreenRestrictionsProductsResource, _super);
|
|
7561
|
+
function RescreenRestrictionsProductsResource() {
|
|
7562
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
7563
|
+
}
|
|
7564
|
+
/*Trigger rescreening for all product restrictions in an organization*/
|
|
7565
|
+
RescreenRestrictionsProductsResource.prototype.post = function (params) {
|
|
7566
|
+
return this.client.request({
|
|
7567
|
+
endpoint: "/jailhouse/restriction/".concat(encodeURIComponent(params.organization), "/rescreen"),
|
|
7568
|
+
headers: params.headers,
|
|
7569
|
+
method: 'POST',
|
|
7570
|
+
});
|
|
7571
|
+
};
|
|
7572
|
+
return RescreenRestrictionsProductsResource;
|
|
7573
|
+
}($Resource));
|
|
7574
|
+
export { RescreenRestrictionsProductsResource };
|
|
7568
7575
|
var RestrictionCategoriesResource = /** @class */ (function (_super) {
|
|
7569
7576
|
__extends(RestrictionCategoriesResource, _super);
|
|
7570
7577
|
function RestrictionCategoriesResource() {
|
|
@@ -9144,6 +9151,44 @@ var TestsResource = /** @class */ (function (_super) {
|
|
|
9144
9151
|
return TestsResource;
|
|
9145
9152
|
}($Resource));
|
|
9146
9153
|
export { TestsResource };
|
|
9154
|
+
var ThiagoItemsResource = /** @class */ (function (_super) {
|
|
9155
|
+
__extends(ThiagoItemsResource, _super);
|
|
9156
|
+
function ThiagoItemsResource() {
|
|
9157
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
9158
|
+
}
|
|
9159
|
+
ThiagoItemsResource.prototype.post = function (params) {
|
|
9160
|
+
return this.client.request({
|
|
9161
|
+
body: params.body,
|
|
9162
|
+
endpoint: '/thiago/items',
|
|
9163
|
+
headers: params.headers,
|
|
9164
|
+
method: 'POST',
|
|
9165
|
+
});
|
|
9166
|
+
};
|
|
9167
|
+
ThiagoItemsResource.prototype.getById = function (params) {
|
|
9168
|
+
return this.client.request({
|
|
9169
|
+
endpoint: "/thiago/items/".concat(encodeURIComponent(params.id)),
|
|
9170
|
+
headers: params.headers,
|
|
9171
|
+
method: 'GET',
|
|
9172
|
+
});
|
|
9173
|
+
};
|
|
9174
|
+
ThiagoItemsResource.prototype.putById = function (params) {
|
|
9175
|
+
return this.client.request({
|
|
9176
|
+
body: params.body,
|
|
9177
|
+
endpoint: "/thiago/items/".concat(encodeURIComponent(params.id)),
|
|
9178
|
+
headers: params.headers,
|
|
9179
|
+
method: 'PUT',
|
|
9180
|
+
});
|
|
9181
|
+
};
|
|
9182
|
+
ThiagoItemsResource.prototype.deleteById = function (params) {
|
|
9183
|
+
return this.client.request({
|
|
9184
|
+
endpoint: "/thiago/items/".concat(encodeURIComponent(params.id)),
|
|
9185
|
+
headers: params.headers,
|
|
9186
|
+
method: 'DELETE',
|
|
9187
|
+
});
|
|
9188
|
+
};
|
|
9189
|
+
return ThiagoItemsResource;
|
|
9190
|
+
}($Resource));
|
|
9191
|
+
export { ThiagoItemsResource };
|
|
9147
9192
|
var TrackingDebugLabelsResource = /** @class */ (function (_super) {
|
|
9148
9193
|
__extends(TrackingDebugLabelsResource, _super);
|
|
9149
9194
|
function TrackingDebugLabelsResource() {
|
|
@@ -9156,6 +9201,14 @@ var TrackingDebugLabelsResource = /** @class */ (function (_super) {
|
|
|
9156
9201
|
method: 'GET',
|
|
9157
9202
|
});
|
|
9158
9203
|
};
|
|
9204
|
+
TrackingDebugLabelsResource.prototype.postForceAndTransitByLabelId = function (params) {
|
|
9205
|
+
return this.client.request({
|
|
9206
|
+
body: params.body,
|
|
9207
|
+
endpoint: "/internal/tracking/debug/labels/".concat(encodeURIComponent(params.label_id), "/force/transit"),
|
|
9208
|
+
headers: params.headers,
|
|
9209
|
+
method: 'POST',
|
|
9210
|
+
});
|
|
9211
|
+
};
|
|
9159
9212
|
return TrackingDebugLabelsResource;
|
|
9160
9213
|
}($Resource));
|
|
9161
9214
|
export { TrackingDebugLabelsResource };
|
|
@@ -9491,7 +9544,6 @@ export function createClient(options) {
|
|
|
9491
9544
|
alertRequeueSummaries: new AlertRequeueSummariesResource(options),
|
|
9492
9545
|
allOrganizationsMemberships: new AllOrganizationsMembershipsResource(options),
|
|
9493
9546
|
authorizedChargeStatuses: new AuthorizedChargeStatusesResource(options),
|
|
9494
|
-
backfills: new BackfillsResource(options),
|
|
9495
9547
|
bankPayments: new BankPaymentsResource(options),
|
|
9496
9548
|
bankPaymentOrders: new BankPaymentOrdersResource(options),
|
|
9497
9549
|
bankPaymentStatusImports: new BankPaymentStatusImportsResource(options),
|
|
@@ -9553,10 +9605,6 @@ export function createClient(options) {
|
|
|
9553
9605
|
erpPriorityFiles: new ErpPriorityFilesResource(options),
|
|
9554
9606
|
erpPriorityVendors: new ErpPriorityVendorsResource(options),
|
|
9555
9607
|
erpVendorStatuses: new ErpVendorStatusesResource(options),
|
|
9556
|
-
experiments: new ExperimentsResource(options),
|
|
9557
|
-
experimentFormDefaults: new ExperimentFormDefaultsResource(options),
|
|
9558
|
-
experimentMilestones: new ExperimentMilestonesResource(options),
|
|
9559
|
-
experimentResultsWithTimestamps: new ExperimentResultsWithTimestampsResource(options),
|
|
9560
9608
|
explicitStatements: new ExplicitStatementsResource(options),
|
|
9561
9609
|
externalFulfillmentProofs: new ExternalFulfillmentProofsResource(options),
|
|
9562
9610
|
features: new FeaturesResource(options),
|
|
@@ -9580,6 +9628,7 @@ export function createClient(options) {
|
|
|
9580
9628
|
giftCardPrograms: new GiftCardProgramsResource(options),
|
|
9581
9629
|
globalSearchResults: new GlobalSearchResultsResource(options),
|
|
9582
9630
|
googleShoppingSettings: new GoogleShoppingSettingsResource(options),
|
|
9631
|
+
harinathItems: new HarinathItemsResource(options),
|
|
9583
9632
|
harmonizationItemClassifications: new HarmonizationItemClassificationsResource(options),
|
|
9584
9633
|
harmonizationThresholds: new HarmonizationThresholdsResource(options),
|
|
9585
9634
|
harmonizationUnclassifiedStatistics: new HarmonizationUnclassifiedStatisticsResource(options),
|
|
@@ -9600,6 +9649,7 @@ export function createClient(options) {
|
|
|
9600
9649
|
cryptoEvents: new CryptoEventsResource(options),
|
|
9601
9650
|
experiences: new ExperiencesResource(options),
|
|
9602
9651
|
orders: new OrdersResource(options),
|
|
9652
|
+
paypalDisputeEvents: new PaypalDisputeEventsResource(options),
|
|
9603
9653
|
webhookEvents: new WebhookEventsResource(options),
|
|
9604
9654
|
receiptNotifications: new ReceiptNotificationsResource(options),
|
|
9605
9655
|
shipmentNotifications: new ShipmentNotificationsResource(options),
|
|
@@ -9622,10 +9672,11 @@ export function createClient(options) {
|
|
|
9622
9672
|
shopifyCarts: new ShopifyCartsResource(options),
|
|
9623
9673
|
shopifyCartConversions: new ShopifyCartConversionsResource(options),
|
|
9624
9674
|
shopifyLocalizedVariants: new ShopifyLocalizedVariantsResource(options),
|
|
9675
|
+
stripeDisputeEvents: new StripeDisputeEventsResource(options),
|
|
9625
9676
|
stripeEvents: new StripeEventsResource(options),
|
|
9626
9677
|
channelTokens: new ChannelTokensResource(options),
|
|
9678
|
+
labelTrackingSummaries: new LabelTrackingSummariesResource(options),
|
|
9627
9679
|
trackings: new TrackingsResource(options),
|
|
9628
|
-
trackingLabels: new TrackingLabelsResource(options),
|
|
9629
9680
|
itemClassifications: new ItemClassificationsResource(options),
|
|
9630
9681
|
itemClassificationSummaries: new ItemClassificationSummariesResource(options),
|
|
9631
9682
|
itemHarmonizations: new ItemHarmonizationsResource(options),
|
|
@@ -9633,6 +9684,7 @@ export function createClient(options) {
|
|
|
9633
9684
|
itemSalesMargins: new ItemSalesMarginsResource(options),
|
|
9634
9685
|
jeanDemoItems: new JeanDemoItemsResource(options),
|
|
9635
9686
|
keys: new KeysResource(options),
|
|
9687
|
+
konstantinItems: new KonstantinItemsResource(options),
|
|
9636
9688
|
labProjectSettings: new LabProjectSettingsResource(options),
|
|
9637
9689
|
labelCreationJobs: new LabelCreationJobsResource(options),
|
|
9638
9690
|
labelGenerationSettings: new LabelGenerationSettingsResource(options),
|
|
@@ -9644,6 +9696,7 @@ export function createClient(options) {
|
|
|
9644
9696
|
localizedContents: new LocalizedContentsResource(options),
|
|
9645
9697
|
localizedItemsExportSettings: new LocalizedItemsExportSettingsResource(options),
|
|
9646
9698
|
logisticsCapabilities: new LogisticsCapabilitiesResource(options),
|
|
9699
|
+
logisticsPayoutRequests: new LogisticsPayoutRequestsResource(options),
|
|
9647
9700
|
lostChargebacks: new LostChargebacksResource(options),
|
|
9648
9701
|
loyaltyPrograms: new LoyaltyProgramsResource(options),
|
|
9649
9702
|
manualReviewRules: new ManualReviewRulesResource(options),
|
|
@@ -9663,6 +9716,8 @@ export function createClient(options) {
|
|
|
9663
9716
|
matiasItems: new MatiasItemsResource(options),
|
|
9664
9717
|
merchantApplicationSummaries: new MerchantApplicationSummariesResource(options),
|
|
9665
9718
|
merchantOfRecordEntitySettings: new MerchantOfRecordEntitySettingsResource(options),
|
|
9719
|
+
michaelyanItems: new MichaelyanItemsResource(options),
|
|
9720
|
+
miljenkoItems: new MiljenkoItemsResource(options),
|
|
9666
9721
|
onboardingAuditReports: new OnboardingAuditReportsResource(options),
|
|
9667
9722
|
onboardingAuditSnapshots: new OnboardingAuditSnapshotsResource(options),
|
|
9668
9723
|
onboardingOrganizations: new OnboardingOrganizationsResource(options),
|
|
@@ -9716,6 +9771,7 @@ export function createClient(options) {
|
|
|
9716
9771
|
reports: new ReportsResource(options),
|
|
9717
9772
|
reportRuleDecisions: new ReportRuleDecisionsResource(options),
|
|
9718
9773
|
reportSummary: new ReportSummaryResource(options),
|
|
9774
|
+
rescreenRestrictionsProducts: new RescreenRestrictionsProductsResource(options),
|
|
9719
9775
|
restrictionCategories: new RestrictionCategoriesResource(options),
|
|
9720
9776
|
restrictionFilters: new RestrictionFiltersResource(options),
|
|
9721
9777
|
restrictionItems: new RestrictionItemsResource(options),
|
|
@@ -9765,6 +9821,7 @@ export function createClient(options) {
|
|
|
9765
9821
|
taxCalculationForms: new TaxCalculationFormsResource(options),
|
|
9766
9822
|
techOnboardingDescriptions: new TechOnboardingDescriptionsResource(options),
|
|
9767
9823
|
tests: new TestsResource(options),
|
|
9824
|
+
thiagoItems: new ThiagoItemsResource(options),
|
|
9768
9825
|
trackingDebugLabels: new TrackingDebugLabelsResource(options),
|
|
9769
9826
|
transactions: new TransactionsResource(options),
|
|
9770
9827
|
transactionAdjustments: new TransactionAdjustmentsResource(options),
|