gs2 1.3.166 → 1.3.168
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/formation/model/Form.d.ts +2 -2
- package/formation/model/Form.js +11 -11
- package/formation/model/Form.js.map +1 -1
- package/formation/model/Form.ts +11 -11
- package/formation/model/FormModel.d.ts +2 -1
- package/formation/model/FormModel.js +22 -2
- package/formation/model/FormModel.js.map +1 -1
- package/formation/model/FormModel.ts +24 -1
- package/formation/model/Mold.d.ts +2 -2
- package/formation/model/Mold.js +10 -10
- package/formation/model/Mold.js.map +1 -1
- package/formation/model/Mold.ts +10 -10
- package/formation/model/MoldModel.d.ts +2 -2
- package/formation/model/MoldModel.js +9 -9
- package/formation/model/MoldModel.js.map +1 -1
- package/formation/model/MoldModel.ts +9 -9
- package/formation/model/MoldModelMaster.d.ts +2 -2
- package/formation/model/MoldModelMaster.js +9 -9
- package/formation/model/MoldModelMaster.js.map +1 -1
- package/formation/model/MoldModelMaster.ts +9 -9
- package/formation/model/PropertyForm.d.ts +2 -2
- package/formation/model/PropertyForm.js +11 -11
- package/formation/model/PropertyForm.js.map +1 -1
- package/formation/model/PropertyForm.ts +11 -11
- package/formation/model/PropertyFormModel.d.ts +32 -0
- package/formation/model/PropertyFormModel.js +165 -0
- package/formation/model/PropertyFormModel.js.map +1 -0
- package/formation/model/PropertyFormModel.ts +179 -0
- package/formation/model/PropertyFormModelMaster.d.ts +48 -0
- package/formation/model/PropertyFormModelMaster.js +221 -0
- package/formation/model/PropertyFormModelMaster.js.map +1 -0
- package/formation/model/PropertyFormModelMaster.ts +235 -0
- package/formation/model/index.d.ts +3 -1
- package/formation/model/index.js +5 -1
- package/formation/model/index.js.map +1 -1
- package/formation/model/index.ts +4 -0
- package/formation/request/AcquireActionsToFormPropertiesRequest.d.ts +4 -4
- package/formation/request/AcquireActionsToFormPropertiesRequest.js +9 -9
- package/formation/request/AcquireActionsToFormPropertiesRequest.js.map +1 -1
- package/formation/request/AcquireActionsToFormPropertiesRequest.ts +9 -9
- package/formation/request/AcquireActionsToPropertyFormPropertiesRequest.d.ts +4 -4
- package/formation/request/AcquireActionsToPropertyFormPropertiesRequest.js +9 -9
- package/formation/request/AcquireActionsToPropertyFormPropertiesRequest.js.map +1 -1
- package/formation/request/AcquireActionsToPropertyFormPropertiesRequest.ts +9 -9
- package/formation/request/AddMoldCapacityByUserIdRequest.d.ts +4 -4
- package/formation/request/AddMoldCapacityByUserIdRequest.js +9 -9
- package/formation/request/AddMoldCapacityByUserIdRequest.js.map +1 -1
- package/formation/request/AddMoldCapacityByUserIdRequest.ts +9 -9
- package/formation/request/CreatePropertyFormModelMasterRequest.d.ts +38 -0
- package/formation/request/CreatePropertyFormModelMasterRequest.js +133 -0
- package/formation/request/CreatePropertyFormModelMasterRequest.js.map +1 -0
- package/formation/request/CreatePropertyFormModelMasterRequest.ts +140 -0
- package/formation/request/DeleteFormByUserIdRequest.d.ts +4 -4
- package/formation/request/DeleteFormByUserIdRequest.js +9 -9
- package/formation/request/DeleteFormByUserIdRequest.js.map +1 -1
- package/formation/request/DeleteFormByUserIdRequest.ts +9 -9
- package/formation/request/DeleteFormRequest.d.ts +4 -4
- package/formation/request/DeleteFormRequest.js +9 -9
- package/formation/request/DeleteFormRequest.js.map +1 -1
- package/formation/request/DeleteFormRequest.ts +9 -9
- package/formation/request/DeleteMoldByUserIdRequest.d.ts +4 -4
- package/formation/request/DeleteMoldByUserIdRequest.js +9 -9
- package/formation/request/DeleteMoldByUserIdRequest.js.map +1 -1
- package/formation/request/DeleteMoldByUserIdRequest.ts +9 -9
- package/formation/request/DeleteMoldModelMasterRequest.d.ts +4 -4
- package/formation/request/DeleteMoldModelMasterRequest.js +9 -9
- package/formation/request/DeleteMoldModelMasterRequest.js.map +1 -1
- package/formation/request/DeleteMoldModelMasterRequest.ts +9 -9
- package/formation/request/DeleteMoldRequest.d.ts +4 -4
- package/formation/request/DeleteMoldRequest.js +9 -9
- package/formation/request/DeleteMoldRequest.js.map +1 -1
- package/formation/request/DeleteMoldRequest.ts +9 -9
- package/formation/request/DeletePropertyFormByUserIdRequest.d.ts +4 -4
- package/formation/request/DeletePropertyFormByUserIdRequest.js +9 -9
- package/formation/request/DeletePropertyFormByUserIdRequest.js.map +1 -1
- package/formation/request/DeletePropertyFormByUserIdRequest.ts +9 -9
- package/formation/request/DeletePropertyFormModelMasterRequest.d.ts +25 -0
- package/formation/request/DeletePropertyFormModelMasterRequest.js +83 -0
- package/formation/request/DeletePropertyFormModelMasterRequest.js.map +1 -0
- package/formation/request/DeletePropertyFormModelMasterRequest.ts +90 -0
- package/formation/request/DeletePropertyFormRequest.d.ts +4 -4
- package/formation/request/DeletePropertyFormRequest.js +9 -9
- package/formation/request/DeletePropertyFormRequest.js.map +1 -1
- package/formation/request/DeletePropertyFormRequest.ts +9 -9
- package/formation/request/DescribeFormsByUserIdRequest.d.ts +4 -4
- package/formation/request/DescribeFormsByUserIdRequest.js +9 -9
- package/formation/request/DescribeFormsByUserIdRequest.js.map +1 -1
- package/formation/request/DescribeFormsByUserIdRequest.ts +9 -9
- package/formation/request/DescribeFormsRequest.d.ts +4 -4
- package/formation/request/DescribeFormsRequest.js +9 -9
- package/formation/request/DescribeFormsRequest.js.map +1 -1
- package/formation/request/DescribeFormsRequest.ts +9 -9
- package/formation/request/DescribePropertyFormModelMastersRequest.d.ts +29 -0
- package/formation/request/DescribePropertyFormModelMastersRequest.js +97 -0
- package/formation/request/DescribePropertyFormModelMastersRequest.js.map +1 -0
- package/formation/request/DescribePropertyFormModelMastersRequest.ts +104 -0
- package/formation/request/DescribePropertyFormModelsRequest.d.ts +21 -0
- package/formation/request/DescribePropertyFormModelsRequest.js +69 -0
- package/formation/request/DescribePropertyFormModelsRequest.js.map +1 -0
- package/formation/request/DescribePropertyFormModelsRequest.ts +76 -0
- package/formation/request/DescribePropertyFormsByUserIdRequest.d.ts +4 -4
- package/formation/request/DescribePropertyFormsByUserIdRequest.js +9 -9
- package/formation/request/DescribePropertyFormsByUserIdRequest.js.map +1 -1
- package/formation/request/DescribePropertyFormsByUserIdRequest.ts +9 -9
- package/formation/request/DescribePropertyFormsRequest.d.ts +4 -4
- package/formation/request/DescribePropertyFormsRequest.js +9 -9
- package/formation/request/DescribePropertyFormsRequest.js.map +1 -1
- package/formation/request/DescribePropertyFormsRequest.ts +9 -9
- package/formation/request/GetFormByUserIdRequest.d.ts +4 -4
- package/formation/request/GetFormByUserIdRequest.js +9 -9
- package/formation/request/GetFormByUserIdRequest.js.map +1 -1
- package/formation/request/GetFormByUserIdRequest.ts +9 -9
- package/formation/request/GetFormModelRequest.d.ts +4 -0
- package/formation/request/GetFormModelRequest.js +14 -0
- package/formation/request/GetFormModelRequest.js.map +1 -1
- package/formation/request/GetFormModelRequest.ts +14 -0
- package/formation/request/GetFormRequest.d.ts +4 -4
- package/formation/request/GetFormRequest.js +9 -9
- package/formation/request/GetFormRequest.js.map +1 -1
- package/formation/request/GetFormRequest.ts +9 -9
- package/formation/request/GetFormWithSignatureByUserIdRequest.d.ts +4 -4
- package/formation/request/GetFormWithSignatureByUserIdRequest.js +9 -9
- package/formation/request/GetFormWithSignatureByUserIdRequest.js.map +1 -1
- package/formation/request/GetFormWithSignatureByUserIdRequest.ts +9 -9
- package/formation/request/GetFormWithSignatureRequest.d.ts +4 -4
- package/formation/request/GetFormWithSignatureRequest.js +9 -9
- package/formation/request/GetFormWithSignatureRequest.js.map +1 -1
- package/formation/request/GetFormWithSignatureRequest.ts +9 -9
- package/formation/request/GetMoldByUserIdRequest.d.ts +4 -4
- package/formation/request/GetMoldByUserIdRequest.js +9 -9
- package/formation/request/GetMoldByUserIdRequest.js.map +1 -1
- package/formation/request/GetMoldByUserIdRequest.ts +9 -9
- package/formation/request/GetMoldModelMasterRequest.d.ts +4 -4
- package/formation/request/GetMoldModelMasterRequest.js +9 -9
- package/formation/request/GetMoldModelMasterRequest.js.map +1 -1
- package/formation/request/GetMoldModelMasterRequest.ts +9 -9
- package/formation/request/GetMoldModelRequest.d.ts +4 -4
- package/formation/request/GetMoldModelRequest.js +9 -9
- package/formation/request/GetMoldModelRequest.js.map +1 -1
- package/formation/request/GetMoldModelRequest.ts +9 -9
- package/formation/request/GetMoldRequest.d.ts +4 -4
- package/formation/request/GetMoldRequest.js +9 -9
- package/formation/request/GetMoldRequest.js.map +1 -1
- package/formation/request/GetMoldRequest.ts +9 -9
- package/formation/request/GetPropertyFormByUserIdRequest.d.ts +4 -4
- package/formation/request/GetPropertyFormByUserIdRequest.js +9 -9
- package/formation/request/GetPropertyFormByUserIdRequest.js.map +1 -1
- package/formation/request/GetPropertyFormByUserIdRequest.ts +9 -9
- package/formation/request/GetPropertyFormModelMasterRequest.d.ts +25 -0
- package/formation/request/GetPropertyFormModelMasterRequest.js +83 -0
- package/formation/request/GetPropertyFormModelMasterRequest.js.map +1 -0
- package/formation/request/GetPropertyFormModelMasterRequest.ts +90 -0
- package/formation/request/GetPropertyFormModelRequest.d.ts +25 -0
- package/formation/request/GetPropertyFormModelRequest.js +83 -0
- package/formation/request/GetPropertyFormModelRequest.js.map +1 -0
- package/formation/request/GetPropertyFormModelRequest.ts +90 -0
- package/formation/request/GetPropertyFormRequest.d.ts +4 -4
- package/formation/request/GetPropertyFormRequest.js +9 -9
- package/formation/request/GetPropertyFormRequest.js.map +1 -1
- package/formation/request/GetPropertyFormRequest.ts +9 -9
- package/formation/request/GetPropertyFormWithSignatureByUserIdRequest.d.ts +4 -4
- package/formation/request/GetPropertyFormWithSignatureByUserIdRequest.js +9 -9
- package/formation/request/GetPropertyFormWithSignatureByUserIdRequest.js.map +1 -1
- package/formation/request/GetPropertyFormWithSignatureByUserIdRequest.ts +9 -9
- package/formation/request/GetPropertyFormWithSignatureRequest.d.ts +4 -4
- package/formation/request/GetPropertyFormWithSignatureRequest.js +9 -9
- package/formation/request/GetPropertyFormWithSignatureRequest.js.map +1 -1
- package/formation/request/GetPropertyFormWithSignatureRequest.ts +9 -9
- package/formation/request/SetFormByUserIdRequest.d.ts +4 -4
- package/formation/request/SetFormByUserIdRequest.js +9 -9
- package/formation/request/SetFormByUserIdRequest.js.map +1 -1
- package/formation/request/SetFormByUserIdRequest.ts +9 -9
- package/formation/request/SetFormWithSignatureRequest.d.ts +4 -4
- package/formation/request/SetFormWithSignatureRequest.js +9 -9
- package/formation/request/SetFormWithSignatureRequest.js.map +1 -1
- package/formation/request/SetFormWithSignatureRequest.ts +9 -9
- package/formation/request/SetMoldCapacityByUserIdRequest.d.ts +4 -4
- package/formation/request/SetMoldCapacityByUserIdRequest.js +9 -9
- package/formation/request/SetMoldCapacityByUserIdRequest.js.map +1 -1
- package/formation/request/SetMoldCapacityByUserIdRequest.ts +9 -9
- package/formation/request/SetPropertyFormByUserIdRequest.d.ts +4 -4
- package/formation/request/SetPropertyFormByUserIdRequest.js +9 -9
- package/formation/request/SetPropertyFormByUserIdRequest.js.map +1 -1
- package/formation/request/SetPropertyFormByUserIdRequest.ts +9 -9
- package/formation/request/SetPropertyFormWithSignatureRequest.d.ts +4 -4
- package/formation/request/SetPropertyFormWithSignatureRequest.js +9 -9
- package/formation/request/SetPropertyFormWithSignatureRequest.js.map +1 -1
- package/formation/request/SetPropertyFormWithSignatureRequest.ts +9 -9
- package/formation/request/SubMoldCapacityByUserIdRequest.d.ts +4 -4
- package/formation/request/SubMoldCapacityByUserIdRequest.js +9 -9
- package/formation/request/SubMoldCapacityByUserIdRequest.js.map +1 -1
- package/formation/request/SubMoldCapacityByUserIdRequest.ts +9 -9
- package/formation/request/UpdateMoldModelMasterRequest.d.ts +4 -4
- package/formation/request/UpdateMoldModelMasterRequest.js +9 -9
- package/formation/request/UpdateMoldModelMasterRequest.js.map +1 -1
- package/formation/request/UpdateMoldModelMasterRequest.ts +9 -9
- package/formation/request/UpdatePropertyFormModelMasterRequest.d.ts +38 -0
- package/formation/request/UpdatePropertyFormModelMasterRequest.js +133 -0
- package/formation/request/UpdatePropertyFormModelMasterRequest.js.map +1 -0
- package/formation/request/UpdatePropertyFormModelMasterRequest.ts +140 -0
- package/formation/request/index.d.ts +8 -2
- package/formation/request/index.js +16 -4
- package/formation/request/index.js.map +1 -1
- package/formation/request/index.ts +14 -2
- package/formation/rest.d.ts +7 -1
- package/formation/rest.js +246 -92
- package/formation/rest.js.map +1 -1
- package/formation/rest.ts +271 -93
- package/formation/result/CreatePropertyFormModelMasterResult.d.ts +14 -0
- package/formation/result/CreatePropertyFormModelMasterResult.js +48 -0
- package/formation/result/CreatePropertyFormModelMasterResult.js.map +1 -0
- package/formation/result/CreatePropertyFormModelMasterResult.ts +48 -0
- package/formation/result/DeletePropertyFormByUserIdResult.d.ts +4 -4
- package/formation/result/DeletePropertyFormByUserIdResult.js +9 -9
- package/formation/result/DeletePropertyFormByUserIdResult.js.map +1 -1
- package/formation/result/DeletePropertyFormByUserIdResult.ts +9 -9
- package/formation/result/DeletePropertyFormModelMasterResult.d.ts +14 -0
- package/formation/result/DeletePropertyFormModelMasterResult.js +48 -0
- package/formation/result/DeletePropertyFormModelMasterResult.js.map +1 -0
- package/formation/result/DeletePropertyFormModelMasterResult.ts +48 -0
- package/formation/result/DeletePropertyFormResult.d.ts +4 -4
- package/formation/result/DeletePropertyFormResult.js +9 -9
- package/formation/result/DeletePropertyFormResult.js.map +1 -1
- package/formation/result/DeletePropertyFormResult.ts +9 -9
- package/formation/result/DescribePropertyFormModelMastersResult.d.ts +18 -0
- package/formation/result/DescribePropertyFormModelMastersResult.js +67 -0
- package/formation/result/DescribePropertyFormModelMastersResult.js.map +1 -0
- package/formation/result/DescribePropertyFormModelMastersResult.ts +73 -0
- package/formation/result/DescribePropertyFormModelsResult.d.ts +14 -0
- package/formation/result/DescribePropertyFormModelsResult.js +53 -0
- package/formation/result/DescribePropertyFormModelsResult.js.map +1 -0
- package/formation/result/DescribePropertyFormModelsResult.ts +56 -0
- package/formation/result/GetPropertyFormByUserIdResult.d.ts +4 -4
- package/formation/result/GetPropertyFormByUserIdResult.js +9 -9
- package/formation/result/GetPropertyFormByUserIdResult.js.map +1 -1
- package/formation/result/GetPropertyFormByUserIdResult.ts +9 -9
- package/formation/result/GetPropertyFormModelMasterResult.d.ts +14 -0
- package/formation/result/GetPropertyFormModelMasterResult.js +48 -0
- package/formation/result/GetPropertyFormModelMasterResult.js.map +1 -0
- package/formation/result/GetPropertyFormModelMasterResult.ts +48 -0
- package/formation/result/GetPropertyFormModelResult.d.ts +14 -0
- package/formation/result/GetPropertyFormModelResult.js +48 -0
- package/formation/result/GetPropertyFormModelResult.js.map +1 -0
- package/formation/result/GetPropertyFormModelResult.ts +48 -0
- package/formation/result/GetPropertyFormResult.d.ts +4 -4
- package/formation/result/GetPropertyFormResult.js +9 -9
- package/formation/result/GetPropertyFormResult.js.map +1 -1
- package/formation/result/GetPropertyFormResult.ts +9 -9
- package/formation/result/GetPropertyFormWithSignatureByUserIdResult.d.ts +4 -4
- package/formation/result/GetPropertyFormWithSignatureByUserIdResult.js +9 -9
- package/formation/result/GetPropertyFormWithSignatureByUserIdResult.js.map +1 -1
- package/formation/result/GetPropertyFormWithSignatureByUserIdResult.ts +9 -9
- package/formation/result/GetPropertyFormWithSignatureResult.d.ts +4 -4
- package/formation/result/GetPropertyFormWithSignatureResult.js +9 -9
- package/formation/result/GetPropertyFormWithSignatureResult.js.map +1 -1
- package/formation/result/GetPropertyFormWithSignatureResult.ts +9 -9
- package/formation/result/SetPropertyFormByUserIdResult.d.ts +4 -4
- package/formation/result/SetPropertyFormByUserIdResult.js +9 -9
- package/formation/result/SetPropertyFormByUserIdResult.js.map +1 -1
- package/formation/result/SetPropertyFormByUserIdResult.ts +9 -9
- package/formation/result/SetPropertyFormWithSignatureResult.d.ts +4 -4
- package/formation/result/SetPropertyFormWithSignatureResult.js +9 -9
- package/formation/result/SetPropertyFormWithSignatureResult.js.map +1 -1
- package/formation/result/SetPropertyFormWithSignatureResult.ts +9 -9
- package/formation/result/UpdatePropertyFormModelMasterResult.d.ts +14 -0
- package/formation/result/UpdatePropertyFormModelMasterResult.js +48 -0
- package/formation/result/UpdatePropertyFormModelMasterResult.js.map +1 -0
- package/formation/result/UpdatePropertyFormModelMasterResult.ts +48 -0
- package/formation/result/index.d.ts +8 -2
- package/formation/result/index.js +16 -4
- package/formation/result/index.js.map +1 -1
- package/formation/result/index.ts +14 -2
- package/inventory/model/BigInventory.d.ts +5 -0
- package/inventory/model/BigInventory.js +22 -0
- package/inventory/model/BigInventory.js.map +1 -1
- package/inventory/model/BigInventory.ts +23 -0
- package/package.json +1 -1
package/formation/rest.ts
CHANGED
|
@@ -202,37 +202,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
public describeFormModels(request: Request.DescribeFormModelsRequest): Promise<Result.DescribeFormModelsResult> {
|
|
206
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/model/form')
|
|
207
|
-
.replace('{service}', 'formation')
|
|
208
|
-
.replace('{region}', this.session.region)
|
|
209
|
-
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
210
|
-
|
|
211
|
-
const headers = this.createAuthorizedHeaders();
|
|
212
|
-
if (request.getRequestId()) {
|
|
213
|
-
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
214
|
-
}
|
|
215
|
-
const params: {[key: string]: any} = {
|
|
216
|
-
'contextStack': request.getContextStack() ?? null,
|
|
217
|
-
};
|
|
218
|
-
return axios.get(
|
|
219
|
-
url,
|
|
220
|
-
{
|
|
221
|
-
params,
|
|
222
|
-
headers,
|
|
223
|
-
},
|
|
224
|
-
).then((response: any) => {
|
|
225
|
-
return Result.DescribeFormModelsResult.fromDict(response.data);
|
|
226
|
-
}).catch((error: any) => {
|
|
227
|
-
throw JSON.parse(error.response.data.message);
|
|
228
|
-
});
|
|
229
|
-
}
|
|
230
|
-
|
|
231
205
|
public getFormModel(request: Request.GetFormModelRequest): Promise<Result.GetFormModelResult> {
|
|
232
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/model/form/{formModelName}')
|
|
206
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/model/{moldModelName}/form/{formModelName}')
|
|
233
207
|
.replace('{service}', 'formation')
|
|
234
208
|
.replace('{region}', this.session.region)
|
|
235
209
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
210
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'))
|
|
236
211
|
.replace('{formModelName}', String(request.getFormModelName() ?? 'null') === "" ? "null" : String(request.getFormModelName() ?? 'null'));
|
|
237
212
|
|
|
238
213
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -432,11 +407,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
432
407
|
}
|
|
433
408
|
|
|
434
409
|
public getMoldModel(request: Request.GetMoldModelRequest): Promise<Result.GetMoldModelResult> {
|
|
435
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/model/mold/{
|
|
410
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/model/mold/{moldModelName}')
|
|
436
411
|
.replace('{service}', 'formation')
|
|
437
412
|
.replace('{region}', this.session.region)
|
|
438
413
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
439
|
-
.replace('{
|
|
414
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'));
|
|
440
415
|
|
|
441
416
|
const headers = this.createAuthorizedHeaders();
|
|
442
417
|
if (request.getRequestId()) {
|
|
@@ -523,11 +498,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
523
498
|
}
|
|
524
499
|
|
|
525
500
|
public getMoldModelMaster(request: Request.GetMoldModelMasterRequest): Promise<Result.GetMoldModelMasterResult> {
|
|
526
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/mold/{
|
|
501
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/mold/{moldModelName}')
|
|
527
502
|
.replace('{service}', 'formation')
|
|
528
503
|
.replace('{region}', this.session.region)
|
|
529
504
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
530
|
-
.replace('{
|
|
505
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'));
|
|
531
506
|
|
|
532
507
|
const headers = this.createAuthorizedHeaders();
|
|
533
508
|
if (request.getRequestId()) {
|
|
@@ -550,11 +525,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
550
525
|
}
|
|
551
526
|
|
|
552
527
|
public updateMoldModelMaster(request: Request.UpdateMoldModelMasterRequest): Promise<Result.UpdateMoldModelMasterResult> {
|
|
553
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/mold/{
|
|
528
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/mold/{moldModelName}')
|
|
554
529
|
.replace('{service}', 'formation')
|
|
555
530
|
.replace('{region}', this.session.region)
|
|
556
531
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
557
|
-
.replace('{
|
|
532
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'));
|
|
558
533
|
|
|
559
534
|
const headers = this.createAuthorizedHeaders();
|
|
560
535
|
if (request.getRequestId()) {
|
|
@@ -586,11 +561,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
586
561
|
}
|
|
587
562
|
|
|
588
563
|
public deleteMoldModelMaster(request: Request.DeleteMoldModelMasterRequest): Promise<Result.DeleteMoldModelMasterResult> {
|
|
589
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/mold/{
|
|
564
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/mold/{moldModelName}')
|
|
590
565
|
.replace('{service}', 'formation')
|
|
591
566
|
.replace('{region}', this.session.region)
|
|
592
567
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
593
|
-
.replace('{
|
|
568
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'));
|
|
594
569
|
|
|
595
570
|
const headers = this.createAuthorizedHeaders();
|
|
596
571
|
if (request.getRequestId()) {
|
|
@@ -612,6 +587,209 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
612
587
|
});
|
|
613
588
|
}
|
|
614
589
|
|
|
590
|
+
public describePropertyFormModels(request: Request.DescribePropertyFormModelsRequest): Promise<Result.DescribePropertyFormModelsResult> {
|
|
591
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/model/propertyForm')
|
|
592
|
+
.replace('{service}', 'formation')
|
|
593
|
+
.replace('{region}', this.session.region)
|
|
594
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
595
|
+
|
|
596
|
+
const headers = this.createAuthorizedHeaders();
|
|
597
|
+
if (request.getRequestId()) {
|
|
598
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
599
|
+
}
|
|
600
|
+
const params: {[key: string]: any} = {
|
|
601
|
+
'contextStack': request.getContextStack() ?? null,
|
|
602
|
+
};
|
|
603
|
+
return axios.get(
|
|
604
|
+
url,
|
|
605
|
+
{
|
|
606
|
+
params,
|
|
607
|
+
headers,
|
|
608
|
+
},
|
|
609
|
+
).then((response: any) => {
|
|
610
|
+
return Result.DescribePropertyFormModelsResult.fromDict(response.data);
|
|
611
|
+
}).catch((error: any) => {
|
|
612
|
+
throw JSON.parse(error.response.data.message);
|
|
613
|
+
});
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
public getPropertyFormModel(request: Request.GetPropertyFormModelRequest): Promise<Result.GetPropertyFormModelResult> {
|
|
617
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/model/propertyForm/{propertyFormModelName}')
|
|
618
|
+
.replace('{service}', 'formation')
|
|
619
|
+
.replace('{region}', this.session.region)
|
|
620
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
621
|
+
.replace('{propertyFormModelName}', String(request.getPropertyFormModelName() ?? 'null') === "" ? "null" : String(request.getPropertyFormModelName() ?? 'null'));
|
|
622
|
+
|
|
623
|
+
const headers = this.createAuthorizedHeaders();
|
|
624
|
+
if (request.getRequestId()) {
|
|
625
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
626
|
+
}
|
|
627
|
+
const params: {[key: string]: any} = {
|
|
628
|
+
'contextStack': request.getContextStack() ?? null,
|
|
629
|
+
};
|
|
630
|
+
return axios.get(
|
|
631
|
+
url,
|
|
632
|
+
{
|
|
633
|
+
params,
|
|
634
|
+
headers,
|
|
635
|
+
},
|
|
636
|
+
).then((response: any) => {
|
|
637
|
+
return Result.GetPropertyFormModelResult.fromDict(response.data);
|
|
638
|
+
}).catch((error: any) => {
|
|
639
|
+
throw JSON.parse(error.response.data.message);
|
|
640
|
+
});
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
public describePropertyFormModelMasters(request: Request.DescribePropertyFormModelMastersRequest): Promise<Result.DescribePropertyFormModelMastersResult> {
|
|
644
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/propertyForm')
|
|
645
|
+
.replace('{service}', 'formation')
|
|
646
|
+
.replace('{region}', this.session.region)
|
|
647
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
648
|
+
|
|
649
|
+
const headers = this.createAuthorizedHeaders();
|
|
650
|
+
if (request.getRequestId()) {
|
|
651
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
652
|
+
}
|
|
653
|
+
const params: {[key: string]: any} = {
|
|
654
|
+
'contextStack': request.getContextStack() ?? null,
|
|
655
|
+
'pageToken': String(request.getPageToken() ?? null),
|
|
656
|
+
'limit': String(request.getLimit() ?? null),
|
|
657
|
+
};
|
|
658
|
+
return axios.get(
|
|
659
|
+
url,
|
|
660
|
+
{
|
|
661
|
+
params,
|
|
662
|
+
headers,
|
|
663
|
+
},
|
|
664
|
+
).then((response: any) => {
|
|
665
|
+
return Result.DescribePropertyFormModelMastersResult.fromDict(response.data);
|
|
666
|
+
}).catch((error: any) => {
|
|
667
|
+
throw JSON.parse(error.response.data.message);
|
|
668
|
+
});
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
public createPropertyFormModelMaster(request: Request.CreatePropertyFormModelMasterRequest): Promise<Result.CreatePropertyFormModelMasterResult> {
|
|
672
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/propertyForm')
|
|
673
|
+
.replace('{service}', 'formation')
|
|
674
|
+
.replace('{region}', this.session.region)
|
|
675
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
676
|
+
|
|
677
|
+
const headers = this.createAuthorizedHeaders();
|
|
678
|
+
if (request.getRequestId()) {
|
|
679
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
680
|
+
}
|
|
681
|
+
const body: {[key: string]: any} = {
|
|
682
|
+
'contextStack': request.getContextStack() ?? null,
|
|
683
|
+
'name': request.getName() ?? null,
|
|
684
|
+
'description': request.getDescription() ?? null,
|
|
685
|
+
'metadata': request.getMetadata() ?? null,
|
|
686
|
+
'slots': request.getSlots()?.map((item) => item.toDict()) ?? null,
|
|
687
|
+
};
|
|
688
|
+
return axios.post(
|
|
689
|
+
url,
|
|
690
|
+
body,
|
|
691
|
+
{
|
|
692
|
+
headers,
|
|
693
|
+
},
|
|
694
|
+
).then((response: any) => {
|
|
695
|
+
return Result.CreatePropertyFormModelMasterResult.fromDict(response.data);
|
|
696
|
+
}).catch((error: any) => {
|
|
697
|
+
if (error.response) {
|
|
698
|
+
throw JSON.parse(error.response.data.message);
|
|
699
|
+
} else {
|
|
700
|
+
throw [];
|
|
701
|
+
}
|
|
702
|
+
});
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
public getPropertyFormModelMaster(request: Request.GetPropertyFormModelMasterRequest): Promise<Result.GetPropertyFormModelMasterResult> {
|
|
706
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/propertyForm/{propertyFormModelName}')
|
|
707
|
+
.replace('{service}', 'formation')
|
|
708
|
+
.replace('{region}', this.session.region)
|
|
709
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
710
|
+
.replace('{propertyFormModelName}', String(request.getPropertyFormModelName() ?? 'null') === "" ? "null" : String(request.getPropertyFormModelName() ?? 'null'));
|
|
711
|
+
|
|
712
|
+
const headers = this.createAuthorizedHeaders();
|
|
713
|
+
if (request.getRequestId()) {
|
|
714
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
715
|
+
}
|
|
716
|
+
const params: {[key: string]: any} = {
|
|
717
|
+
'contextStack': request.getContextStack() ?? null,
|
|
718
|
+
};
|
|
719
|
+
return axios.get(
|
|
720
|
+
url,
|
|
721
|
+
{
|
|
722
|
+
params,
|
|
723
|
+
headers,
|
|
724
|
+
},
|
|
725
|
+
).then((response: any) => {
|
|
726
|
+
return Result.GetPropertyFormModelMasterResult.fromDict(response.data);
|
|
727
|
+
}).catch((error: any) => {
|
|
728
|
+
throw JSON.parse(error.response.data.message);
|
|
729
|
+
});
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
public updatePropertyFormModelMaster(request: Request.UpdatePropertyFormModelMasterRequest): Promise<Result.UpdatePropertyFormModelMasterResult> {
|
|
733
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/propertyForm/{propertyFormModelName}')
|
|
734
|
+
.replace('{service}', 'formation')
|
|
735
|
+
.replace('{region}', this.session.region)
|
|
736
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
737
|
+
.replace('{propertyFormModelName}', String(request.getPropertyFormModelName() ?? 'null') === "" ? "null" : String(request.getPropertyFormModelName() ?? 'null'));
|
|
738
|
+
|
|
739
|
+
const headers = this.createAuthorizedHeaders();
|
|
740
|
+
if (request.getRequestId()) {
|
|
741
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
742
|
+
}
|
|
743
|
+
const body: {[key: string]: any} = {
|
|
744
|
+
'contextStack': request.getContextStack() ?? null,
|
|
745
|
+
'description': request.getDescription() ?? null,
|
|
746
|
+
'metadata': request.getMetadata() ?? null,
|
|
747
|
+
'slots': request.getSlots()?.map((item) => item.toDict()) ?? null,
|
|
748
|
+
};
|
|
749
|
+
return axios.put(
|
|
750
|
+
url,
|
|
751
|
+
body,
|
|
752
|
+
{
|
|
753
|
+
headers,
|
|
754
|
+
},
|
|
755
|
+
).then((response: any) => {
|
|
756
|
+
return Result.UpdatePropertyFormModelMasterResult.fromDict(response.data);
|
|
757
|
+
}).catch((error: any) => {
|
|
758
|
+
if (error.response) {
|
|
759
|
+
throw JSON.parse(error.response.data.message);
|
|
760
|
+
} else {
|
|
761
|
+
throw [];
|
|
762
|
+
}
|
|
763
|
+
});
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
public deletePropertyFormModelMaster(request: Request.DeletePropertyFormModelMasterRequest): Promise<Result.DeletePropertyFormModelMasterResult> {
|
|
767
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/model/propertyForm/{propertyFormModelName}')
|
|
768
|
+
.replace('{service}', 'formation')
|
|
769
|
+
.replace('{region}', this.session.region)
|
|
770
|
+
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
771
|
+
.replace('{propertyFormModelName}', String(request.getPropertyFormModelName() ?? 'null') === "" ? "null" : String(request.getPropertyFormModelName() ?? 'null'));
|
|
772
|
+
|
|
773
|
+
const headers = this.createAuthorizedHeaders();
|
|
774
|
+
if (request.getRequestId()) {
|
|
775
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
776
|
+
}
|
|
777
|
+
const params: {[key: string]: any} = {
|
|
778
|
+
'contextStack': request.getContextStack() ?? null,
|
|
779
|
+
};
|
|
780
|
+
return axios.delete(
|
|
781
|
+
url,
|
|
782
|
+
{
|
|
783
|
+
params,
|
|
784
|
+
headers,
|
|
785
|
+
},
|
|
786
|
+
).then((response: any) => {
|
|
787
|
+
return Result.DeletePropertyFormModelMasterResult.fromDict(response.data);
|
|
788
|
+
}).catch((error: any) => {
|
|
789
|
+
throw JSON.parse(error.response.data.message);
|
|
790
|
+
});
|
|
791
|
+
}
|
|
792
|
+
|
|
615
793
|
public exportMaster(request: Request.ExportMasterRequest): Promise<Result.ExportMasterResult> {
|
|
616
794
|
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/export')
|
|
617
795
|
.replace('{service}', 'formation')
|
|
@@ -787,11 +965,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
787
965
|
}
|
|
788
966
|
|
|
789
967
|
public getMold(request: Request.GetMoldRequest): Promise<Result.GetMoldResult> {
|
|
790
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/mold/{
|
|
968
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/mold/{moldModelName}')
|
|
791
969
|
.replace('{service}', 'formation')
|
|
792
970
|
.replace('{region}', this.session.region)
|
|
793
971
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
794
|
-
.replace('{
|
|
972
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'));
|
|
795
973
|
|
|
796
974
|
const headers = this.createAuthorizedHeaders();
|
|
797
975
|
if (request.getRequestId()) {
|
|
@@ -817,12 +995,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
817
995
|
}
|
|
818
996
|
|
|
819
997
|
public getMoldByUserId(request: Request.GetMoldByUserIdRequest): Promise<Result.GetMoldByUserIdResult> {
|
|
820
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{
|
|
998
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{moldModelName}')
|
|
821
999
|
.replace('{service}', 'formation')
|
|
822
1000
|
.replace('{region}', this.session.region)
|
|
823
1001
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
824
1002
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
825
|
-
.replace('{
|
|
1003
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'));
|
|
826
1004
|
|
|
827
1005
|
const headers = this.createAuthorizedHeaders();
|
|
828
1006
|
if (request.getRequestId()) {
|
|
@@ -845,12 +1023,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
845
1023
|
}
|
|
846
1024
|
|
|
847
1025
|
public setMoldCapacityByUserId(request: Request.SetMoldCapacityByUserIdRequest): Promise<Result.SetMoldCapacityByUserIdResult> {
|
|
848
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{
|
|
1026
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{moldModelName}')
|
|
849
1027
|
.replace('{service}', 'formation')
|
|
850
1028
|
.replace('{region}', this.session.region)
|
|
851
1029
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
852
1030
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
853
|
-
.replace('{
|
|
1031
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'));
|
|
854
1032
|
|
|
855
1033
|
const headers = this.createAuthorizedHeaders();
|
|
856
1034
|
if (request.getRequestId()) {
|
|
@@ -881,12 +1059,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
881
1059
|
}
|
|
882
1060
|
|
|
883
1061
|
public addMoldCapacityByUserId(request: Request.AddMoldCapacityByUserIdRequest): Promise<Result.AddMoldCapacityByUserIdResult> {
|
|
884
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{
|
|
1062
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{moldModelName}')
|
|
885
1063
|
.replace('{service}', 'formation')
|
|
886
1064
|
.replace('{region}', this.session.region)
|
|
887
1065
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
888
1066
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
889
|
-
.replace('{
|
|
1067
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'));
|
|
890
1068
|
|
|
891
1069
|
const headers = this.createAuthorizedHeaders();
|
|
892
1070
|
if (request.getRequestId()) {
|
|
@@ -917,12 +1095,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
917
1095
|
}
|
|
918
1096
|
|
|
919
1097
|
public subMoldCapacityByUserId(request: Request.SubMoldCapacityByUserIdRequest): Promise<Result.SubMoldCapacityByUserIdResult> {
|
|
920
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{
|
|
1098
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{moldModelName}/sub')
|
|
921
1099
|
.replace('{service}', 'formation')
|
|
922
1100
|
.replace('{region}', this.session.region)
|
|
923
1101
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
924
1102
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
925
|
-
.replace('{
|
|
1103
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'));
|
|
926
1104
|
|
|
927
1105
|
const headers = this.createAuthorizedHeaders();
|
|
928
1106
|
if (request.getRequestId()) {
|
|
@@ -953,11 +1131,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
953
1131
|
}
|
|
954
1132
|
|
|
955
1133
|
public deleteMold(request: Request.DeleteMoldRequest): Promise<Result.DeleteMoldResult> {
|
|
956
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/mold/{
|
|
1134
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/mold/{moldModelName}')
|
|
957
1135
|
.replace('{service}', 'formation')
|
|
958
1136
|
.replace('{region}', this.session.region)
|
|
959
1137
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
960
|
-
.replace('{
|
|
1138
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'));
|
|
961
1139
|
|
|
962
1140
|
const headers = this.createAuthorizedHeaders();
|
|
963
1141
|
if (request.getRequestId()) {
|
|
@@ -986,12 +1164,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
986
1164
|
}
|
|
987
1165
|
|
|
988
1166
|
public deleteMoldByUserId(request: Request.DeleteMoldByUserIdRequest): Promise<Result.DeleteMoldByUserIdResult> {
|
|
989
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{
|
|
1167
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{moldModelName}')
|
|
990
1168
|
.replace('{service}', 'formation')
|
|
991
1169
|
.replace('{region}', this.session.region)
|
|
992
1170
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
993
1171
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
994
|
-
.replace('{
|
|
1172
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'));
|
|
995
1173
|
|
|
996
1174
|
const headers = this.createAuthorizedHeaders();
|
|
997
1175
|
if (request.getRequestId()) {
|
|
@@ -1110,11 +1288,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1110
1288
|
}
|
|
1111
1289
|
|
|
1112
1290
|
public describeForms(request: Request.DescribeFormsRequest): Promise<Result.DescribeFormsResult> {
|
|
1113
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/mold/{
|
|
1291
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/mold/{moldModelName}/form')
|
|
1114
1292
|
.replace('{service}', 'formation')
|
|
1115
1293
|
.replace('{region}', this.session.region)
|
|
1116
1294
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1117
|
-
.replace('{
|
|
1295
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'));
|
|
1118
1296
|
|
|
1119
1297
|
const headers = this.createAuthorizedHeaders();
|
|
1120
1298
|
if (request.getRequestId()) {
|
|
@@ -1142,11 +1320,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1142
1320
|
}
|
|
1143
1321
|
|
|
1144
1322
|
public describeFormsByUserId(request: Request.DescribeFormsByUserIdRequest): Promise<Result.DescribeFormsByUserIdResult> {
|
|
1145
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{
|
|
1323
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{moldModelName}/form')
|
|
1146
1324
|
.replace('{service}', 'formation')
|
|
1147
1325
|
.replace('{region}', this.session.region)
|
|
1148
1326
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1149
|
-
.replace('{
|
|
1327
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'))
|
|
1150
1328
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'));
|
|
1151
1329
|
|
|
1152
1330
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1172,11 +1350,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1172
1350
|
}
|
|
1173
1351
|
|
|
1174
1352
|
public getForm(request: Request.GetFormRequest): Promise<Result.GetFormResult> {
|
|
1175
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/mold/{
|
|
1353
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/mold/{moldModelName}/form/{index}')
|
|
1176
1354
|
.replace('{service}', 'formation')
|
|
1177
1355
|
.replace('{region}', this.session.region)
|
|
1178
1356
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1179
|
-
.replace('{
|
|
1357
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'))
|
|
1180
1358
|
.replace('{index}', String(request.getIndex() ?? 'null') === "" ? "null" : String(request.getIndex() ?? 'null'));
|
|
1181
1359
|
|
|
1182
1360
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1203,12 +1381,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1203
1381
|
}
|
|
1204
1382
|
|
|
1205
1383
|
public getFormByUserId(request: Request.GetFormByUserIdRequest): Promise<Result.GetFormByUserIdResult> {
|
|
1206
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{
|
|
1384
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{moldModelName}/form/{index}')
|
|
1207
1385
|
.replace('{service}', 'formation')
|
|
1208
1386
|
.replace('{region}', this.session.region)
|
|
1209
1387
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1210
1388
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
1211
|
-
.replace('{
|
|
1389
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'))
|
|
1212
1390
|
.replace('{index}', String(request.getIndex() ?? 'null') === "" ? "null" : String(request.getIndex() ?? 'null'));
|
|
1213
1391
|
|
|
1214
1392
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1232,11 +1410,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1232
1410
|
}
|
|
1233
1411
|
|
|
1234
1412
|
public getFormWithSignature(request: Request.GetFormWithSignatureRequest): Promise<Result.GetFormWithSignatureResult> {
|
|
1235
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/mold/{
|
|
1413
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/mold/{moldModelName}/form/{index}/signature')
|
|
1236
1414
|
.replace('{service}', 'formation')
|
|
1237
1415
|
.replace('{region}', this.session.region)
|
|
1238
1416
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1239
|
-
.replace('{
|
|
1417
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'))
|
|
1240
1418
|
.replace('{index}', String(request.getIndex() ?? 'null') === "" ? "null" : String(request.getIndex() ?? 'null'));
|
|
1241
1419
|
|
|
1242
1420
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1264,12 +1442,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1264
1442
|
}
|
|
1265
1443
|
|
|
1266
1444
|
public getFormWithSignatureByUserId(request: Request.GetFormWithSignatureByUserIdRequest): Promise<Result.GetFormWithSignatureByUserIdResult> {
|
|
1267
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{
|
|
1445
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{moldModelName}/form/{index}/signature')
|
|
1268
1446
|
.replace('{service}', 'formation')
|
|
1269
1447
|
.replace('{region}', this.session.region)
|
|
1270
1448
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1271
1449
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
1272
|
-
.replace('{
|
|
1450
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'))
|
|
1273
1451
|
.replace('{index}', String(request.getIndex() ?? 'null') === "" ? "null" : String(request.getIndex() ?? 'null'));
|
|
1274
1452
|
|
|
1275
1453
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1294,12 +1472,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1294
1472
|
}
|
|
1295
1473
|
|
|
1296
1474
|
public setFormByUserId(request: Request.SetFormByUserIdRequest): Promise<Result.SetFormByUserIdResult> {
|
|
1297
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{
|
|
1475
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{moldModelName}/form/{index}')
|
|
1298
1476
|
.replace('{service}', 'formation')
|
|
1299
1477
|
.replace('{region}', this.session.region)
|
|
1300
1478
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1301
1479
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
1302
|
-
.replace('{
|
|
1480
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'))
|
|
1303
1481
|
.replace('{index}', String(request.getIndex() ?? 'null') === "" ? "null" : String(request.getIndex() ?? 'null'));
|
|
1304
1482
|
|
|
1305
1483
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1331,11 +1509,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1331
1509
|
}
|
|
1332
1510
|
|
|
1333
1511
|
public setFormWithSignature(request: Request.SetFormWithSignatureRequest): Promise<Result.SetFormWithSignatureResult> {
|
|
1334
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/mold/{
|
|
1512
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/mold/{moldModelName}/form/{index}')
|
|
1335
1513
|
.replace('{service}', 'formation')
|
|
1336
1514
|
.replace('{region}', this.session.region)
|
|
1337
1515
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1338
|
-
.replace('{
|
|
1516
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'))
|
|
1339
1517
|
.replace('{index}', String(request.getIndex() ?? 'null') === "" ? "null" : String(request.getIndex() ?? 'null'));
|
|
1340
1518
|
|
|
1341
1519
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1371,12 +1549,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1371
1549
|
}
|
|
1372
1550
|
|
|
1373
1551
|
public acquireActionsToFormProperties(request: Request.AcquireActionsToFormPropertiesRequest): Promise<Result.AcquireActionsToFormPropertiesResult> {
|
|
1374
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{
|
|
1552
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{moldModelName}/form/{index}/stamp/delegate')
|
|
1375
1553
|
.replace('{service}', 'formation')
|
|
1376
1554
|
.replace('{region}', this.session.region)
|
|
1377
1555
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1378
1556
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
1379
|
-
.replace('{
|
|
1557
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'))
|
|
1380
1558
|
.replace('{index}', String(request.getIndex() ?? 'null') === "" ? "null" : String(request.getIndex() ?? 'null'));
|
|
1381
1559
|
|
|
1382
1560
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1409,11 +1587,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1409
1587
|
}
|
|
1410
1588
|
|
|
1411
1589
|
public deleteForm(request: Request.DeleteFormRequest): Promise<Result.DeleteFormResult> {
|
|
1412
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/mold/{
|
|
1590
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/mold/{moldModelName}/form/{index}')
|
|
1413
1591
|
.replace('{service}', 'formation')
|
|
1414
1592
|
.replace('{region}', this.session.region)
|
|
1415
1593
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1416
|
-
.replace('{
|
|
1594
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'))
|
|
1417
1595
|
.replace('{index}', String(request.getIndex() ?? 'null') === "" ? "null" : String(request.getIndex() ?? 'null'));
|
|
1418
1596
|
|
|
1419
1597
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1443,12 +1621,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1443
1621
|
}
|
|
1444
1622
|
|
|
1445
1623
|
public deleteFormByUserId(request: Request.DeleteFormByUserIdRequest): Promise<Result.DeleteFormByUserIdResult> {
|
|
1446
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{
|
|
1624
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/mold/{moldModelName}/form/{index}')
|
|
1447
1625
|
.replace('{service}', 'formation')
|
|
1448
1626
|
.replace('{region}', this.session.region)
|
|
1449
1627
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1450
1628
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
1451
|
-
.replace('{
|
|
1629
|
+
.replace('{moldModelName}', String(request.getMoldModelName() ?? 'null') === "" ? "null" : String(request.getMoldModelName() ?? 'null'))
|
|
1452
1630
|
.replace('{index}', String(request.getIndex() ?? 'null') === "" ? "null" : String(request.getIndex() ?? 'null'));
|
|
1453
1631
|
|
|
1454
1632
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1506,11 +1684,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1506
1684
|
}
|
|
1507
1685
|
|
|
1508
1686
|
public describePropertyForms(request: Request.DescribePropertyFormsRequest): Promise<Result.DescribePropertyFormsResult> {
|
|
1509
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/property/{
|
|
1687
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/property/{propertyFormModelName}/form')
|
|
1510
1688
|
.replace('{service}', 'formation')
|
|
1511
1689
|
.replace('{region}', this.session.region)
|
|
1512
1690
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1513
|
-
.replace('{
|
|
1691
|
+
.replace('{propertyFormModelName}', String(request.getPropertyFormModelName() ?? 'null') === "" ? "null" : String(request.getPropertyFormModelName() ?? 'null'));
|
|
1514
1692
|
|
|
1515
1693
|
const headers = this.createAuthorizedHeaders();
|
|
1516
1694
|
if (request.getRequestId()) {
|
|
@@ -1538,12 +1716,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1538
1716
|
}
|
|
1539
1717
|
|
|
1540
1718
|
public describePropertyFormsByUserId(request: Request.DescribePropertyFormsByUserIdRequest): Promise<Result.DescribePropertyFormsByUserIdResult> {
|
|
1541
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/property/{
|
|
1719
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/property/{propertyFormModelName}/form')
|
|
1542
1720
|
.replace('{service}', 'formation')
|
|
1543
1721
|
.replace('{region}', this.session.region)
|
|
1544
1722
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1545
1723
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
1546
|
-
.replace('{
|
|
1724
|
+
.replace('{propertyFormModelName}', String(request.getPropertyFormModelName() ?? 'null') === "" ? "null" : String(request.getPropertyFormModelName() ?? 'null'));
|
|
1547
1725
|
|
|
1548
1726
|
const headers = this.createAuthorizedHeaders();
|
|
1549
1727
|
if (request.getRequestId()) {
|
|
@@ -1568,11 +1746,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1568
1746
|
}
|
|
1569
1747
|
|
|
1570
1748
|
public getPropertyForm(request: Request.GetPropertyFormRequest): Promise<Result.GetPropertyFormResult> {
|
|
1571
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/property/{
|
|
1749
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/property/{propertyFormModelName}/form/{propertyId}')
|
|
1572
1750
|
.replace('{service}', 'formation')
|
|
1573
1751
|
.replace('{region}', this.session.region)
|
|
1574
1752
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1575
|
-
.replace('{
|
|
1753
|
+
.replace('{propertyFormModelName}', String(request.getPropertyFormModelName() ?? 'null') === "" ? "null" : String(request.getPropertyFormModelName() ?? 'null'))
|
|
1576
1754
|
.replace('{propertyId}', String(request.getPropertyId() ?? 'null') === "" ? "null" : String(request.getPropertyId() ?? 'null'));
|
|
1577
1755
|
|
|
1578
1756
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1599,12 +1777,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1599
1777
|
}
|
|
1600
1778
|
|
|
1601
1779
|
public getPropertyFormByUserId(request: Request.GetPropertyFormByUserIdRequest): Promise<Result.GetPropertyFormByUserIdResult> {
|
|
1602
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/property/{
|
|
1780
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/property/{propertyFormModelName}/form/{propertyId}')
|
|
1603
1781
|
.replace('{service}', 'formation')
|
|
1604
1782
|
.replace('{region}', this.session.region)
|
|
1605
1783
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1606
1784
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
1607
|
-
.replace('{
|
|
1785
|
+
.replace('{propertyFormModelName}', String(request.getPropertyFormModelName() ?? 'null') === "" ? "null" : String(request.getPropertyFormModelName() ?? 'null'))
|
|
1608
1786
|
.replace('{propertyId}', String(request.getPropertyId() ?? 'null') === "" ? "null" : String(request.getPropertyId() ?? 'null'));
|
|
1609
1787
|
|
|
1610
1788
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1628,11 +1806,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1628
1806
|
}
|
|
1629
1807
|
|
|
1630
1808
|
public getPropertyFormWithSignature(request: Request.GetPropertyFormWithSignatureRequest): Promise<Result.GetPropertyFormWithSignatureResult> {
|
|
1631
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/property/{
|
|
1809
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/property/{propertyFormModelName}/form/{propertyId}/signature')
|
|
1632
1810
|
.replace('{service}', 'formation')
|
|
1633
1811
|
.replace('{region}', this.session.region)
|
|
1634
1812
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1635
|
-
.replace('{
|
|
1813
|
+
.replace('{propertyFormModelName}', String(request.getPropertyFormModelName() ?? 'null') === "" ? "null" : String(request.getPropertyFormModelName() ?? 'null'))
|
|
1636
1814
|
.replace('{propertyId}', String(request.getPropertyId() ?? 'null') === "" ? "null" : String(request.getPropertyId() ?? 'null'));
|
|
1637
1815
|
|
|
1638
1816
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1660,12 +1838,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1660
1838
|
}
|
|
1661
1839
|
|
|
1662
1840
|
public getPropertyFormWithSignatureByUserId(request: Request.GetPropertyFormWithSignatureByUserIdRequest): Promise<Result.GetPropertyFormWithSignatureByUserIdResult> {
|
|
1663
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/property/{
|
|
1841
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/property/{propertyFormModelName}/form/{propertyId}/signature')
|
|
1664
1842
|
.replace('{service}', 'formation')
|
|
1665
1843
|
.replace('{region}', this.session.region)
|
|
1666
1844
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1667
1845
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
1668
|
-
.replace('{
|
|
1846
|
+
.replace('{propertyFormModelName}', String(request.getPropertyFormModelName() ?? 'null') === "" ? "null" : String(request.getPropertyFormModelName() ?? 'null'))
|
|
1669
1847
|
.replace('{propertyId}', String(request.getPropertyId() ?? 'null') === "" ? "null" : String(request.getPropertyId() ?? 'null'));
|
|
1670
1848
|
|
|
1671
1849
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1690,12 +1868,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1690
1868
|
}
|
|
1691
1869
|
|
|
1692
1870
|
public setPropertyFormByUserId(request: Request.SetPropertyFormByUserIdRequest): Promise<Result.SetPropertyFormByUserIdResult> {
|
|
1693
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/property/{
|
|
1871
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/property/{propertyFormModelName}/form/{propertyId}')
|
|
1694
1872
|
.replace('{service}', 'formation')
|
|
1695
1873
|
.replace('{region}', this.session.region)
|
|
1696
1874
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1697
1875
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
1698
|
-
.replace('{
|
|
1876
|
+
.replace('{propertyFormModelName}', String(request.getPropertyFormModelName() ?? 'null') === "" ? "null" : String(request.getPropertyFormModelName() ?? 'null'))
|
|
1699
1877
|
.replace('{propertyId}', String(request.getPropertyId() ?? 'null') === "" ? "null" : String(request.getPropertyId() ?? 'null'));
|
|
1700
1878
|
|
|
1701
1879
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1727,11 +1905,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1727
1905
|
}
|
|
1728
1906
|
|
|
1729
1907
|
public setPropertyFormWithSignature(request: Request.SetPropertyFormWithSignatureRequest): Promise<Result.SetPropertyFormWithSignatureResult> {
|
|
1730
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/property/{
|
|
1908
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/property/{propertyFormModelName}/form/{propertyId}')
|
|
1731
1909
|
.replace('{service}', 'formation')
|
|
1732
1910
|
.replace('{region}', this.session.region)
|
|
1733
1911
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1734
|
-
.replace('{
|
|
1912
|
+
.replace('{propertyFormModelName}', String(request.getPropertyFormModelName() ?? 'null') === "" ? "null" : String(request.getPropertyFormModelName() ?? 'null'))
|
|
1735
1913
|
.replace('{propertyId}', String(request.getPropertyId() ?? 'null') === "" ? "null" : String(request.getPropertyId() ?? 'null'));
|
|
1736
1914
|
|
|
1737
1915
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1767,12 +1945,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1767
1945
|
}
|
|
1768
1946
|
|
|
1769
1947
|
public acquireActionsToPropertyFormProperties(request: Request.AcquireActionsToPropertyFormPropertiesRequest): Promise<Result.AcquireActionsToPropertyFormPropertiesResult> {
|
|
1770
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/property/{
|
|
1948
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/property/{propertyFormModelName}/form/{propertyId}/stamp/delegate')
|
|
1771
1949
|
.replace('{service}', 'formation')
|
|
1772
1950
|
.replace('{region}', this.session.region)
|
|
1773
1951
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1774
1952
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
1775
|
-
.replace('{
|
|
1953
|
+
.replace('{propertyFormModelName}', String(request.getPropertyFormModelName() ?? 'null') === "" ? "null" : String(request.getPropertyFormModelName() ?? 'null'))
|
|
1776
1954
|
.replace('{propertyId}', String(request.getPropertyId() ?? 'null') === "" ? "null" : String(request.getPropertyId() ?? 'null'));
|
|
1777
1955
|
|
|
1778
1956
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1805,11 +1983,11 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1805
1983
|
}
|
|
1806
1984
|
|
|
1807
1985
|
public deletePropertyForm(request: Request.DeletePropertyFormRequest): Promise<Result.DeletePropertyFormResult> {
|
|
1808
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/property/{
|
|
1986
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/property/{propertyFormModelName}/form/{propertyId}')
|
|
1809
1987
|
.replace('{service}', 'formation')
|
|
1810
1988
|
.replace('{region}', this.session.region)
|
|
1811
1989
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1812
|
-
.replace('{
|
|
1990
|
+
.replace('{propertyFormModelName}', String(request.getPropertyFormModelName() ?? 'null') === "" ? "null" : String(request.getPropertyFormModelName() ?? 'null'))
|
|
1813
1991
|
.replace('{propertyId}', String(request.getPropertyId() ?? 'null') === "" ? "null" : String(request.getPropertyId() ?? 'null'));
|
|
1814
1992
|
|
|
1815
1993
|
const headers = this.createAuthorizedHeaders();
|
|
@@ -1839,12 +2017,12 @@ export default class Gs2FormationRestClient extends AbstractGs2RestClient {
|
|
|
1839
2017
|
}
|
|
1840
2018
|
|
|
1841
2019
|
public deletePropertyFormByUserId(request: Request.DeletePropertyFormByUserIdRequest): Promise<Result.DeletePropertyFormByUserIdResult> {
|
|
1842
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/property/{
|
|
2020
|
+
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/property/{propertyFormModelName}/form/{propertyId}')
|
|
1843
2021
|
.replace('{service}', 'formation')
|
|
1844
2022
|
.replace('{region}', this.session.region)
|
|
1845
2023
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
1846
2024
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
1847
|
-
.replace('{
|
|
2025
|
+
.replace('{propertyFormModelName}', String(request.getPropertyFormModelName() ?? 'null') === "" ? "null" : String(request.getPropertyFormModelName() ?? 'null'))
|
|
1848
2026
|
.replace('{propertyId}', String(request.getPropertyId() ?? 'null') === "" ? "null" : String(request.getPropertyId() ?? 'null'));
|
|
1849
2027
|
|
|
1850
2028
|
const headers = this.createAuthorizedHeaders();
|