@flowio/api-internal-sdk 0.0.116 → 0.0.117
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
CHANGED
|
@@ -5089,6 +5089,8 @@ var OnboardingOrganizationsResource = /** @class */ (function (_super) {
|
|
|
5089
5089
|
offset: params.offset,
|
|
5090
5090
|
onboarding_states: params.onboarding_states,
|
|
5091
5091
|
organization_id_contains: params.organization_id_contains,
|
|
5092
|
+
setup_completed_at_from: params.setup_completed_at_from,
|
|
5093
|
+
setup_completed_at_to: params.setup_completed_at_to,
|
|
5092
5094
|
shop_name_contains: params.shop_name_contains,
|
|
5093
5095
|
sort: params.sort,
|
|
5094
5096
|
},
|
|
@@ -6853,6 +6855,15 @@ var RestrictionProductsResource = /** @class */ (function (_super) {
|
|
|
6853
6855
|
},
|
|
6854
6856
|
});
|
|
6855
6857
|
};
|
|
6858
|
+
/*Bulk Inserts/Updates of restriction decisions*/
|
|
6859
|
+
RestrictionProductsResource.prototype.postDecisions = function (params) {
|
|
6860
|
+
return this.client.request({
|
|
6861
|
+
body: params.body,
|
|
6862
|
+
endpoint: "/jailhouse/restriction/".concat(encodeURIComponent(params.organization), "/products/decisions"),
|
|
6863
|
+
headers: params.headers,
|
|
6864
|
+
method: 'POST',
|
|
6865
|
+
});
|
|
6866
|
+
};
|
|
6856
6867
|
/*Returns a product by id*/
|
|
6857
6868
|
RestrictionProductsResource.prototype.getById = function (params) {
|
|
6858
6869
|
return this.client.request({
|
package/dist/esm/api-internal.js
CHANGED
|
@@ -5053,6 +5053,8 @@ var OnboardingOrganizationsResource = /** @class */ (function (_super) {
|
|
|
5053
5053
|
offset: params.offset,
|
|
5054
5054
|
onboarding_states: params.onboarding_states,
|
|
5055
5055
|
organization_id_contains: params.organization_id_contains,
|
|
5056
|
+
setup_completed_at_from: params.setup_completed_at_from,
|
|
5057
|
+
setup_completed_at_to: params.setup_completed_at_to,
|
|
5056
5058
|
shop_name_contains: params.shop_name_contains,
|
|
5057
5059
|
sort: params.sort,
|
|
5058
5060
|
},
|
|
@@ -6817,6 +6819,15 @@ var RestrictionProductsResource = /** @class */ (function (_super) {
|
|
|
6817
6819
|
},
|
|
6818
6820
|
});
|
|
6819
6821
|
};
|
|
6822
|
+
/*Bulk Inserts/Updates of restriction decisions*/
|
|
6823
|
+
RestrictionProductsResource.prototype.postDecisions = function (params) {
|
|
6824
|
+
return this.client.request({
|
|
6825
|
+
body: params.body,
|
|
6826
|
+
endpoint: "/jailhouse/restriction/".concat(encodeURIComponent(params.organization), "/products/decisions"),
|
|
6827
|
+
headers: params.headers,
|
|
6828
|
+
method: 'POST',
|
|
6829
|
+
});
|
|
6830
|
+
};
|
|
6820
6831
|
/*Returns a product by id*/
|
|
6821
6832
|
RestrictionProductsResource.prototype.getById = function (params) {
|
|
6822
6833
|
return this.client.request({
|
|
@@ -2393,6 +2393,8 @@ export interface OnboardingOrganizationsGetParameters {
|
|
|
2393
2393
|
legal_name_contains?: string;
|
|
2394
2394
|
shop_name_contains?: string;
|
|
2395
2395
|
organization_id_contains?: string;
|
|
2396
|
+
setup_completed_at_from?: string;
|
|
2397
|
+
setup_completed_at_to?: string;
|
|
2396
2398
|
sort?: string;
|
|
2397
2399
|
limit?: number;
|
|
2398
2400
|
offset?: number;
|
|
@@ -3272,6 +3274,11 @@ export interface RestrictionProductsGetParameters {
|
|
|
3272
3274
|
offset?: number;
|
|
3273
3275
|
sort?: string;
|
|
3274
3276
|
}
|
|
3277
|
+
export interface RestrictionProductsPostDecisionsParameters {
|
|
3278
|
+
body: io.flow.internal.v0.models.RestrictionProductDecisionForm;
|
|
3279
|
+
headers?: $HttpHeaders;
|
|
3280
|
+
organization: string;
|
|
3281
|
+
}
|
|
3275
3282
|
export interface RestrictionProductsGetByIdParameters {
|
|
3276
3283
|
headers?: $HttpHeaders;
|
|
3277
3284
|
organization: string;
|
|
@@ -4427,6 +4434,7 @@ export declare type RestrictionOrganizationsPutRestrictionAndStatusByOrganizatio
|
|
|
4427
4434
|
export declare type RestrictionOrganizationsGetSearchAndRestrictionAndOrganizationsResponse = $HttpOk<io.flow.common.v0.models.OrganizationSummary[]> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4428
4435
|
export declare type RestrictionOrganizationDecisionSummariesGetResponse = $HttpOk<io.flow.internal.v0.models.RestrictionOrganizationDecisionSummary[]> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4429
4436
|
export declare type RestrictionProductsGetResponse = $HttpOk<io.flow.internal.v0.models.RestrictionProduct[]> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4437
|
+
export declare type RestrictionProductsPostDecisionsResponse = $HttpOk<undefined> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4430
4438
|
export declare type RestrictionProductsGetByIdResponse = $HttpOk<io.flow.internal.v0.models.RestrictionProduct> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined>;
|
|
4431
4439
|
export declare type RestrictionProductsPostDecisionsByIdResponse = $HttpOk<io.flow.internal.v0.models.RestrictionProduct> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4432
4440
|
export declare type RestrictionRulesGetResponse = $HttpOk<io.flow.internal.v0.models.RestrictionRule[]> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
@@ -5483,6 +5491,7 @@ export declare class RestrictionOrganizationDecisionSummariesResource extends $R
|
|
|
5483
5491
|
}
|
|
5484
5492
|
export declare class RestrictionProductsResource extends $Resource {
|
|
5485
5493
|
get(params: RestrictionProductsGetParameters): Promise<RestrictionProductsGetResponse>;
|
|
5494
|
+
postDecisions(params: RestrictionProductsPostDecisionsParameters): Promise<RestrictionProductsPostDecisionsResponse>;
|
|
5486
5495
|
getById(params: RestrictionProductsGetByIdParameters): Promise<RestrictionProductsGetByIdResponse>;
|
|
5487
5496
|
postDecisionsById(params: RestrictionProductsPostDecisionsByIdParameters): Promise<RestrictionProductsPostDecisionsByIdResponse>;
|
|
5488
5497
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.117",
|
|
4
4
|
"description": "Global TypeScript typings for Flow Commerce API",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"generate": "apibuilder update"
|
|
27
27
|
},
|
|
28
28
|
"sideEffects": false,
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "5bf5109cdb6252257d20453fbdab8e9cf5a7344c"
|
|
30
30
|
}
|