@flowio/api-internal-sdk 0.0.115 → 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 +15 -4
- package/dist/esm/api-internal.js +15 -4
- package/dist/types/api-internal.d.ts +16 -7
- package/package.json +2 -2
package/dist/cjs/api-internal.js
CHANGED
|
@@ -3518,17 +3518,17 @@ var OnboardingStatesResource = /** @class */ (function (_super) {
|
|
|
3518
3518
|
method: 'PUT',
|
|
3519
3519
|
});
|
|
3520
3520
|
};
|
|
3521
|
-
OnboardingStatesResource.prototype.
|
|
3521
|
+
OnboardingStatesResource.prototype.putBlock = function (params) {
|
|
3522
3522
|
return this.client.request({
|
|
3523
3523
|
body: params.body,
|
|
3524
|
-
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/onboarding/state/
|
|
3524
|
+
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/onboarding/state/block"),
|
|
3525
3525
|
headers: params.headers,
|
|
3526
3526
|
method: 'PUT',
|
|
3527
3527
|
});
|
|
3528
3528
|
};
|
|
3529
|
-
OnboardingStatesResource.prototype.
|
|
3529
|
+
OnboardingStatesResource.prototype.putUnblock = function (params) {
|
|
3530
3530
|
return this.client.request({
|
|
3531
|
-
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/onboarding/state/
|
|
3531
|
+
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/onboarding/state/unblock"),
|
|
3532
3532
|
headers: params.headers,
|
|
3533
3533
|
method: 'PUT',
|
|
3534
3534
|
});
|
|
@@ -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
|
@@ -3482,17 +3482,17 @@ var OnboardingStatesResource = /** @class */ (function (_super) {
|
|
|
3482
3482
|
method: 'PUT',
|
|
3483
3483
|
});
|
|
3484
3484
|
};
|
|
3485
|
-
OnboardingStatesResource.prototype.
|
|
3485
|
+
OnboardingStatesResource.prototype.putBlock = function (params) {
|
|
3486
3486
|
return this.client.request({
|
|
3487
3487
|
body: params.body,
|
|
3488
|
-
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/onboarding/state/
|
|
3488
|
+
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/onboarding/state/block"),
|
|
3489
3489
|
headers: params.headers,
|
|
3490
3490
|
method: 'PUT',
|
|
3491
3491
|
});
|
|
3492
3492
|
};
|
|
3493
|
-
OnboardingStatesResource.prototype.
|
|
3493
|
+
OnboardingStatesResource.prototype.putUnblock = function (params) {
|
|
3494
3494
|
return this.client.request({
|
|
3495
|
-
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/onboarding/state/
|
|
3495
|
+
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/onboarding/state/unblock"),
|
|
3496
3496
|
headers: params.headers,
|
|
3497
3497
|
method: 'PUT',
|
|
3498
3498
|
});
|
|
@@ -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({
|
|
@@ -1694,12 +1694,12 @@ export interface OnboardingStatesPutParameters {
|
|
|
1694
1694
|
headers?: $HttpHeaders;
|
|
1695
1695
|
organization: string;
|
|
1696
1696
|
}
|
|
1697
|
-
export interface
|
|
1697
|
+
export interface OnboardingStatesPutBlockParameters {
|
|
1698
1698
|
body: io.flow.internal.v0.models.SetupBlockPutForm;
|
|
1699
1699
|
headers?: $HttpHeaders;
|
|
1700
1700
|
organization: string;
|
|
1701
1701
|
}
|
|
1702
|
-
export interface
|
|
1702
|
+
export interface OnboardingStatesPutUnblockParameters {
|
|
1703
1703
|
headers?: $HttpHeaders;
|
|
1704
1704
|
organization: string;
|
|
1705
1705
|
}
|
|
@@ -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;
|
|
@@ -4162,9 +4169,9 @@ export declare type ReceiptNotificationsPostResponse = $HttpOk<undefined>;
|
|
|
4162
4169
|
export declare type ShipmentNotificationsPostResponse = $HttpOk<undefined>;
|
|
4163
4170
|
export declare type ReservationsPostResponse = $HttpCreated<io.flow.inventory.v0.models.Reservation> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.inventory.v0.unions.ReservationError>;
|
|
4164
4171
|
export declare type OrderManagementEventsPostReplayByOrderLifecycleEventResponse = $HttpOk<io.flow.order.management.event.v0.unions.OrderManagementEvent> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4165
|
-
export declare type OnboardingStatesPutResponse = $
|
|
4166
|
-
export declare type
|
|
4167
|
-
export declare type
|
|
4172
|
+
export declare type OnboardingStatesPutResponse = $HttpCreated<io.flow.organization.onboarding.state.v0.models.OrganizationOnboardingState> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4173
|
+
export declare type OnboardingStatesPutBlockResponse = $HttpCreated<io.flow.organization.onboarding.state.v0.models.OrganizationOnboardingState> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4174
|
+
export declare type OnboardingStatesPutUnblockResponse = $HttpCreated<io.flow.organization.onboarding.state.v0.models.OrganizationOnboardingState> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4168
4175
|
export declare type MembershipsPostAcceptAndAllResponse = $HttpCreated<io.flow.organization.v0.models.Membership[]> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4169
4176
|
export declare type AuthorizationsPostParametersResponse = $HttpOk<io.flow.internal.v0.models.AuthorizationParameters[]> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4170
4177
|
export declare type AuthorizationsGetMetadataByKeyResponse = $HttpOk<io.flow.internal.v0.models.AuthorizationMetadata> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined>;
|
|
@@ -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>;
|
|
@@ -5015,8 +5023,8 @@ export declare class OrderManagementEventsResource extends $Resource {
|
|
|
5015
5023
|
}
|
|
5016
5024
|
export declare class OnboardingStatesResource extends $Resource {
|
|
5017
5025
|
put(params: OnboardingStatesPutParameters): Promise<OnboardingStatesPutResponse>;
|
|
5018
|
-
|
|
5019
|
-
|
|
5026
|
+
putBlock(params: OnboardingStatesPutBlockParameters): Promise<OnboardingStatesPutBlockResponse>;
|
|
5027
|
+
putUnblock(params: OnboardingStatesPutUnblockParameters): Promise<OnboardingStatesPutUnblockResponse>;
|
|
5020
5028
|
}
|
|
5021
5029
|
export declare class MembershipsResource extends $Resource {
|
|
5022
5030
|
postAcceptAndAll(params: MembershipsPostAcceptAndAllParameters): Promise<MembershipsPostAcceptAndAllResponse>;
|
|
@@ -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
|
}
|