@flowio/api-internal-sdk 0.0.118 → 0.0.119
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 +17 -9
- package/dist/esm/api-internal.js +17 -9
- package/dist/types/api-internal.d.ts +17 -8
- package/package.json +2 -2
package/dist/cjs/api-internal.js
CHANGED
|
@@ -3542,6 +3542,21 @@ var OnboardingStatesResource = /** @class */ (function (_super) {
|
|
|
3542
3542
|
method: 'PUT',
|
|
3543
3543
|
});
|
|
3544
3544
|
};
|
|
3545
|
+
OnboardingStatesResource.prototype.putTransitionAndReplaceById = function (params) {
|
|
3546
|
+
return this.client.request({
|
|
3547
|
+
body: params.body,
|
|
3548
|
+
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/onboarding/state/transition/replace/").concat(encodeURIComponent(params.id)),
|
|
3549
|
+
headers: params.headers,
|
|
3550
|
+
method: 'PUT',
|
|
3551
|
+
});
|
|
3552
|
+
};
|
|
3553
|
+
OnboardingStatesResource.prototype.deleteTransitionById = function (params) {
|
|
3554
|
+
return this.client.request({
|
|
3555
|
+
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/onboarding/state/transition/").concat(encodeURIComponent(params.id)),
|
|
3556
|
+
headers: params.headers,
|
|
3557
|
+
method: 'DELETE',
|
|
3558
|
+
});
|
|
3559
|
+
};
|
|
3545
3560
|
OnboardingStatesResource.prototype.putUnblock = function (params) {
|
|
3546
3561
|
return this.client.request({
|
|
3547
3562
|
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/onboarding/state/unblock"),
|
|
@@ -5130,6 +5145,8 @@ var OnboardingOrganizationsResource = /** @class */ (function (_super) {
|
|
|
5130
5145
|
headers: params.headers,
|
|
5131
5146
|
method: 'GET',
|
|
5132
5147
|
query: {
|
|
5148
|
+
activated_at_from: params.activated_at_from,
|
|
5149
|
+
activated_at_to: params.activated_at_to,
|
|
5133
5150
|
application_received_from: params.application_received_from,
|
|
5134
5151
|
application_received_to: params.application_received_to,
|
|
5135
5152
|
compliance_full_review_required: params.compliance_full_review_required,
|
|
@@ -6923,15 +6940,6 @@ var RestrictionProductsResource = /** @class */ (function (_super) {
|
|
|
6923
6940
|
method: 'GET',
|
|
6924
6941
|
});
|
|
6925
6942
|
};
|
|
6926
|
-
/*Updates restriction decisions on a given product*/
|
|
6927
|
-
RestrictionProductsResource.prototype.postDecisionsById = function (params) {
|
|
6928
|
-
return this.client.request({
|
|
6929
|
-
body: params.body,
|
|
6930
|
-
endpoint: "/jailhouse/restriction/".concat(encodeURIComponent(params.organization), "/products/").concat(encodeURIComponent(params.id), "/decisions"),
|
|
6931
|
-
headers: params.headers,
|
|
6932
|
-
method: 'POST',
|
|
6933
|
-
});
|
|
6934
|
-
};
|
|
6935
6943
|
return RestrictionProductsResource;
|
|
6936
6944
|
}($Resource));
|
|
6937
6945
|
exports.RestrictionProductsResource = RestrictionProductsResource;
|
package/dist/esm/api-internal.js
CHANGED
|
@@ -3506,6 +3506,21 @@ var OnboardingStatesResource = /** @class */ (function (_super) {
|
|
|
3506
3506
|
method: 'PUT',
|
|
3507
3507
|
});
|
|
3508
3508
|
};
|
|
3509
|
+
OnboardingStatesResource.prototype.putTransitionAndReplaceById = function (params) {
|
|
3510
|
+
return this.client.request({
|
|
3511
|
+
body: params.body,
|
|
3512
|
+
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/onboarding/state/transition/replace/").concat(encodeURIComponent(params.id)),
|
|
3513
|
+
headers: params.headers,
|
|
3514
|
+
method: 'PUT',
|
|
3515
|
+
});
|
|
3516
|
+
};
|
|
3517
|
+
OnboardingStatesResource.prototype.deleteTransitionById = function (params) {
|
|
3518
|
+
return this.client.request({
|
|
3519
|
+
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/onboarding/state/transition/").concat(encodeURIComponent(params.id)),
|
|
3520
|
+
headers: params.headers,
|
|
3521
|
+
method: 'DELETE',
|
|
3522
|
+
});
|
|
3523
|
+
};
|
|
3509
3524
|
OnboardingStatesResource.prototype.putUnblock = function (params) {
|
|
3510
3525
|
return this.client.request({
|
|
3511
3526
|
endpoint: "/internal/".concat(encodeURIComponent(params.organization), "/onboarding/state/unblock"),
|
|
@@ -5094,6 +5109,8 @@ var OnboardingOrganizationsResource = /** @class */ (function (_super) {
|
|
|
5094
5109
|
headers: params.headers,
|
|
5095
5110
|
method: 'GET',
|
|
5096
5111
|
query: {
|
|
5112
|
+
activated_at_from: params.activated_at_from,
|
|
5113
|
+
activated_at_to: params.activated_at_to,
|
|
5097
5114
|
application_received_from: params.application_received_from,
|
|
5098
5115
|
application_received_to: params.application_received_to,
|
|
5099
5116
|
compliance_full_review_required: params.compliance_full_review_required,
|
|
@@ -6887,15 +6904,6 @@ var RestrictionProductsResource = /** @class */ (function (_super) {
|
|
|
6887
6904
|
method: 'GET',
|
|
6888
6905
|
});
|
|
6889
6906
|
};
|
|
6890
|
-
/*Updates restriction decisions on a given product*/
|
|
6891
|
-
RestrictionProductsResource.prototype.postDecisionsById = function (params) {
|
|
6892
|
-
return this.client.request({
|
|
6893
|
-
body: params.body,
|
|
6894
|
-
endpoint: "/jailhouse/restriction/".concat(encodeURIComponent(params.organization), "/products/").concat(encodeURIComponent(params.id), "/decisions"),
|
|
6895
|
-
headers: params.headers,
|
|
6896
|
-
method: 'POST',
|
|
6897
|
-
});
|
|
6898
|
-
};
|
|
6899
6907
|
return RestrictionProductsResource;
|
|
6900
6908
|
}($Resource));
|
|
6901
6909
|
export { RestrictionProductsResource };
|
|
@@ -1704,6 +1704,17 @@ export interface OnboardingStatesPutBlockParameters {
|
|
|
1704
1704
|
headers?: $HttpHeaders;
|
|
1705
1705
|
organization: string;
|
|
1706
1706
|
}
|
|
1707
|
+
export interface OnboardingStatesPutTransitionAndReplaceByIdParameters {
|
|
1708
|
+
body: io.flow.internal.v0.models.OnboardingStateForm;
|
|
1709
|
+
headers?: $HttpHeaders;
|
|
1710
|
+
organization: string;
|
|
1711
|
+
id: string;
|
|
1712
|
+
}
|
|
1713
|
+
export interface OnboardingStatesDeleteTransitionByIdParameters {
|
|
1714
|
+
headers?: $HttpHeaders;
|
|
1715
|
+
organization: string;
|
|
1716
|
+
id: string;
|
|
1717
|
+
}
|
|
1707
1718
|
export interface OnboardingStatesPutUnblockParameters {
|
|
1708
1719
|
headers?: $HttpHeaders;
|
|
1709
1720
|
organization: string;
|
|
@@ -2415,6 +2426,8 @@ export interface OnboardingOrganizationsGetParameters {
|
|
|
2415
2426
|
organization_id_contains?: string;
|
|
2416
2427
|
setup_completed_at_from?: string;
|
|
2417
2428
|
setup_completed_at_to?: string;
|
|
2429
|
+
activated_at_from?: string;
|
|
2430
|
+
activated_at_to?: string;
|
|
2418
2431
|
sort?: string;
|
|
2419
2432
|
limit?: number;
|
|
2420
2433
|
offset?: number;
|
|
@@ -3305,12 +3318,6 @@ export interface RestrictionProductsGetByIdParameters {
|
|
|
3305
3318
|
organization: string;
|
|
3306
3319
|
id: string;
|
|
3307
3320
|
}
|
|
3308
|
-
export interface RestrictionProductsPostDecisionsByIdParameters {
|
|
3309
|
-
body: io.flow.internal.v0.models.RestrictionProductDecisionForm;
|
|
3310
|
-
headers?: $HttpHeaders;
|
|
3311
|
-
organization: string;
|
|
3312
|
-
id: string;
|
|
3313
|
-
}
|
|
3314
3321
|
export interface RestrictionRulesGetParameters {
|
|
3315
3322
|
headers?: $HttpHeaders;
|
|
3316
3323
|
id?: string[];
|
|
@@ -4193,6 +4200,8 @@ export declare type UltimateBeneficiaryOwnersPutResponse = $HttpOk<io.flow.merch
|
|
|
4193
4200
|
export declare type OrderManagementEventsPostReplayByOrderLifecycleEventResponse = $HttpOk<io.flow.order.management.event.v0.unions.OrderManagementEvent> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4194
4201
|
export declare type OnboardingStatesPutResponse = $HttpCreated<io.flow.organization.onboarding.state.v0.models.OrganizationOnboardingState> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4195
4202
|
export declare type OnboardingStatesPutBlockResponse = $HttpCreated<io.flow.organization.onboarding.state.v0.models.OrganizationOnboardingState> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4203
|
+
export declare type OnboardingStatesPutTransitionAndReplaceByIdResponse = $HttpOk<io.flow.internal.v0.models.OrganizationOnboardingStateAdjustmentResult> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4204
|
+
export declare type OnboardingStatesDeleteTransitionByIdResponse = $HttpOk<io.flow.internal.v0.models.OrganizationOnboardingStateAdjustmentResult> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4196
4205
|
export declare type OnboardingStatesPutUnblockResponse = $HttpCreated<io.flow.organization.onboarding.state.v0.models.OrganizationOnboardingState> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4197
4206
|
export declare type MembershipsPostAcceptAndAllResponse = $HttpCreated<io.flow.organization.v0.models.Membership[]> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4198
4207
|
export declare type AuthorizationsPostParametersResponse = $HttpOk<io.flow.internal.v0.models.AuthorizationParameters[]> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
@@ -4460,7 +4469,6 @@ export declare type RestrictionOrganizationDecisionSummariesGetResponse = $HttpO
|
|
|
4460
4469
|
export declare type RestrictionProductsGetResponse = $HttpOk<io.flow.internal.v0.models.RestrictionProduct[]> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4461
4470
|
export declare type RestrictionProductsPostDecisionsResponse = $HttpOk<undefined> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4462
4471
|
export declare type RestrictionProductsGetByIdResponse = $HttpOk<io.flow.internal.v0.models.RestrictionProduct> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined>;
|
|
4463
|
-
export declare type RestrictionProductsPostDecisionsByIdResponse = $HttpOk<io.flow.internal.v0.models.RestrictionProduct> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4464
4472
|
export declare type RestrictionRulesGetResponse = $HttpOk<io.flow.internal.v0.models.RestrictionRule[]> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
4465
4473
|
export declare type RestrictionRulesGetByIdResponse = $HttpOk<io.flow.internal.v0.models.RestrictionRule> | $HttpUnauthorized<undefined> | $HttpNotFound<undefined>;
|
|
4466
4474
|
export declare type RestrictionRulesGetByOrganizationAndStatusResponse = $HttpOk<io.flow.internal.v0.models.RestrictionRuleSummary[]> | $HttpUnauthorized<undefined> | $HttpUnprocessableEntity<io.flow.error.v0.models.GenericError>;
|
|
@@ -5051,6 +5059,8 @@ export declare class OrderManagementEventsResource extends $Resource {
|
|
|
5051
5059
|
export declare class OnboardingStatesResource extends $Resource {
|
|
5052
5060
|
put(params: OnboardingStatesPutParameters): Promise<OnboardingStatesPutResponse>;
|
|
5053
5061
|
putBlock(params: OnboardingStatesPutBlockParameters): Promise<OnboardingStatesPutBlockResponse>;
|
|
5062
|
+
putTransitionAndReplaceById(params: OnboardingStatesPutTransitionAndReplaceByIdParameters): Promise<OnboardingStatesPutTransitionAndReplaceByIdResponse>;
|
|
5063
|
+
deleteTransitionById(params: OnboardingStatesDeleteTransitionByIdParameters): Promise<OnboardingStatesDeleteTransitionByIdResponse>;
|
|
5054
5064
|
putUnblock(params: OnboardingStatesPutUnblockParameters): Promise<OnboardingStatesPutUnblockResponse>;
|
|
5055
5065
|
}
|
|
5056
5066
|
export declare class MembershipsResource extends $Resource {
|
|
@@ -5524,7 +5534,6 @@ export declare class RestrictionProductsResource extends $Resource {
|
|
|
5524
5534
|
get(params: RestrictionProductsGetParameters): Promise<RestrictionProductsGetResponse>;
|
|
5525
5535
|
postDecisions(params: RestrictionProductsPostDecisionsParameters): Promise<RestrictionProductsPostDecisionsResponse>;
|
|
5526
5536
|
getById(params: RestrictionProductsGetByIdParameters): Promise<RestrictionProductsGetByIdResponse>;
|
|
5527
|
-
postDecisionsById(params: RestrictionProductsPostDecisionsByIdParameters): Promise<RestrictionProductsPostDecisionsByIdResponse>;
|
|
5528
5537
|
}
|
|
5529
5538
|
export declare class RestrictionRulesResource extends $Resource {
|
|
5530
5539
|
get(params: RestrictionRulesGetParameters): Promise<RestrictionRulesGetResponse>;
|
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.119",
|
|
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": "304f46c2533d37256ff6dc855066e33408d43adc"
|
|
30
30
|
}
|