@integrahub/vergefy-client 0.23.0 → 0.24.0
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/README.md +2 -2
- package/dist/apis/APIAASAssociationApi.d.ts +2 -0
- package/dist/apis/APIAASAssociationApi.js +4 -2
- package/dist/apis/APIAGRGoodsReceiptApi.d.ts +1 -10
- package/dist/apis/APIAGRGoodsReceiptApi.js +1 -11
- package/dist/apis/APIARSGReorderSuggestionApi.d.ts +61 -0
- package/dist/apis/APIARSGReorderSuggestionApi.js +158 -0
- package/dist/apis/APIASPLSupplierPriceListApi.d.ts +137 -0
- package/dist/apis/APIASPLSupplierPriceListApi.js +394 -0
- package/dist/apis/APIASPOSupplierPurchaseOrderApi.d.ts +255 -0
- package/dist/apis/APIASPOSupplierPurchaseOrderApi.js +711 -0
- package/dist/apis/APIASPRSupplierPurchaseOrderApprovalRuleApi.d.ts +131 -0
- package/dist/apis/APIASPRSupplierPurchaseOrderApprovalRuleApi.js +369 -0
- package/dist/apis/APPPHRAWHRApprovalWorkflowApi.d.ts +1 -0
- package/dist/apis/APPPHRAWHRApprovalWorkflowApi.js +3 -0
- package/dist/apis/APPPMTMailTrustApi.d.ts +1 -2
- package/dist/apis/APPPMTMailTrustApi.js +0 -3
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +4 -0
- package/dist/esm/apis/APIAASAssociationApi.js +4 -2
- package/dist/esm/apis/APIAGRGoodsReceiptApi.js +0 -10
- package/dist/esm/apis/APIARSGReorderSuggestionApi.js +154 -0
- package/dist/esm/apis/APIASPLSupplierPriceListApi.js +390 -0
- package/dist/esm/apis/APIASPOSupplierPurchaseOrderApi.js +707 -0
- package/dist/esm/apis/APIASPRSupplierPurchaseOrderApprovalRuleApi.js +365 -0
- package/dist/esm/apis/APPPHRAWHRApprovalWorkflowApi.js +3 -0
- package/dist/esm/apis/APPPMTMailTrustApi.js +0 -3
- package/dist/esm/apis/index.js +4 -0
- package/dist/esm/ext/telemetry.js +1 -1
- package/dist/esm/models/AssociationDTO.js +4 -2
- package/dist/esm/models/DataResponseDTOListReorderSuggestionDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOListSupplierPurchaseOrderDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOSupplierPriceDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOSupplierPriceListDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOSupplierPurchaseOrderDTO.js +42 -0
- package/dist/esm/models/GoodsReceiptLineDTO.js +2 -0
- package/dist/esm/models/PageSupplierPriceListDTO.js +64 -0
- package/dist/esm/models/PageSupplierPurchaseOrderApprovalRuleDTO.js +64 -0
- package/dist/esm/models/PageSupplierPurchaseOrderDTO.js +64 -0
- package/dist/esm/models/ReorderSuggestionDTO.js +63 -0
- package/dist/esm/models/ReorderSuggestionDraftDTO.js +44 -0
- package/dist/esm/models/ReorderSuggestionSelectionDTO.js +43 -0
- package/dist/esm/models/SupplierPriceDTO.js +61 -0
- package/dist/esm/models/SupplierPriceListDTO.js +97 -0
- package/dist/esm/models/SupplierPriceListLineDTO.js +88 -0
- package/dist/esm/models/SupplierPurchaseOrderApprovalRuleDTO.js +86 -0
- package/dist/esm/models/SupplierPurchaseOrderDTO.js +142 -0
- package/dist/esm/models/SupplierPurchaseOrderLineDTO.js +98 -0
- package/dist/esm/models/SupplierPurchaseOrderRejectionDTO.js +43 -0
- package/dist/esm/models/index.js +19 -0
- package/dist/ext/telemetry.d.ts +1 -1
- package/dist/ext/telemetry.js +1 -1
- package/dist/models/AssociationDTO.d.ts +2 -0
- package/dist/models/AssociationDTO.js +4 -2
- package/dist/models/DataResponseDTOListReorderSuggestionDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListReorderSuggestionDTO.js +49 -0
- package/dist/models/DataResponseDTOListSupplierPurchaseOrderDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListSupplierPurchaseOrderDTO.js +49 -0
- package/dist/models/DataResponseDTOSupplierPriceDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOSupplierPriceDTO.js +49 -0
- package/dist/models/DataResponseDTOSupplierPriceListDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOSupplierPriceListDTO.js +49 -0
- package/dist/models/DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO.js +49 -0
- package/dist/models/DataResponseDTOSupplierPurchaseOrderDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOSupplierPurchaseOrderDTO.js +49 -0
- package/dist/models/GoodsReceiptLineDTO.d.ts +7 -1
- package/dist/models/GoodsReceiptLineDTO.js +2 -0
- package/dist/models/PageSupplierPriceListDTO.d.ts +95 -0
- package/dist/models/PageSupplierPriceListDTO.js +71 -0
- package/dist/models/PageSupplierPurchaseOrderApprovalRuleDTO.d.ts +95 -0
- package/dist/models/PageSupplierPurchaseOrderApprovalRuleDTO.js +71 -0
- package/dist/models/PageSupplierPurchaseOrderDTO.d.ts +95 -0
- package/dist/models/PageSupplierPurchaseOrderDTO.js +71 -0
- package/dist/models/ReorderSuggestionDTO.d.ts +98 -0
- package/dist/models/ReorderSuggestionDTO.js +70 -0
- package/dist/models/ReorderSuggestionDraftDTO.d.ts +33 -0
- package/dist/models/ReorderSuggestionDraftDTO.js +51 -0
- package/dist/models/ReorderSuggestionSelectionDTO.d.ts +38 -0
- package/dist/models/ReorderSuggestionSelectionDTO.js +50 -0
- package/dist/models/SupplierPriceDTO.d.ts +92 -0
- package/dist/models/SupplierPriceDTO.js +68 -0
- package/dist/models/SupplierPriceListDTO.d.ts +153 -0
- package/dist/models/SupplierPriceListDTO.js +105 -0
- package/dist/models/SupplierPriceListLineDTO.d.ts +140 -0
- package/dist/models/SupplierPriceListLineDTO.js +96 -0
- package/dist/models/SupplierPurchaseOrderApprovalRuleDTO.d.ts +134 -0
- package/dist/models/SupplierPurchaseOrderApprovalRuleDTO.js +94 -0
- package/dist/models/SupplierPurchaseOrderDTO.d.ts +269 -0
- package/dist/models/SupplierPurchaseOrderDTO.js +150 -0
- package/dist/models/SupplierPurchaseOrderLineDTO.d.ts +170 -0
- package/dist/models/SupplierPurchaseOrderLineDTO.js +106 -0
- package/dist/models/SupplierPurchaseOrderRejectionDTO.d.ts +32 -0
- package/dist/models/SupplierPurchaseOrderRejectionDTO.js +50 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/package.json +1 -1
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vergefy API
|
|
3
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
6
|
+
* Contact: support@integrahub.co
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import { type DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO } from '../models/DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO';
|
|
14
|
+
import { type PageSupplierPurchaseOrderApprovalRuleDTO } from '../models/PageSupplierPurchaseOrderApprovalRuleDTO';
|
|
15
|
+
import { type SupplierPurchaseOrderApprovalRuleDTO } from '../models/SupplierPurchaseOrderApprovalRuleDTO';
|
|
16
|
+
export interface ASPR001Request {
|
|
17
|
+
id: string;
|
|
18
|
+
xAppAccountId: string;
|
|
19
|
+
acceptLanguage?: string;
|
|
20
|
+
vergefyVersion?: string;
|
|
21
|
+
acceptTimezone?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface ASPR002Request {
|
|
24
|
+
xAppAccountId: string;
|
|
25
|
+
supplierId?: string;
|
|
26
|
+
currencyCode?: string;
|
|
27
|
+
tenantWide?: boolean;
|
|
28
|
+
page?: number;
|
|
29
|
+
size?: number;
|
|
30
|
+
sort?: Array<string>;
|
|
31
|
+
acceptLanguage?: string;
|
|
32
|
+
vergefyVersion?: string;
|
|
33
|
+
acceptTimezone?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface ASPR100Request {
|
|
36
|
+
xAppAccountId: string;
|
|
37
|
+
supplierPurchaseOrderApprovalRuleDTO: SupplierPurchaseOrderApprovalRuleDTO;
|
|
38
|
+
acceptLanguage?: string;
|
|
39
|
+
vergefyVersion?: string;
|
|
40
|
+
acceptTimezone?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface ASPR101Request {
|
|
43
|
+
id: string;
|
|
44
|
+
xAppAccountId: string;
|
|
45
|
+
supplierPurchaseOrderApprovalRuleDTO: SupplierPurchaseOrderApprovalRuleDTO;
|
|
46
|
+
acceptLanguage?: string;
|
|
47
|
+
vergefyVersion?: string;
|
|
48
|
+
acceptTimezone?: string;
|
|
49
|
+
}
|
|
50
|
+
export interface ASPR102Request {
|
|
51
|
+
id: string;
|
|
52
|
+
xAppAccountId: string;
|
|
53
|
+
acceptLanguage?: string;
|
|
54
|
+
vergefyVersion?: string;
|
|
55
|
+
acceptTimezone?: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
export declare class APIASPRSupplierPurchaseOrderApprovalRuleApi extends runtime.BaseAPI {
|
|
61
|
+
/**
|
|
62
|
+
* Creates request options for aSPR001 without sending the request
|
|
63
|
+
*/
|
|
64
|
+
aSPR001RequestOpts(requestParameters: ASPR001Request): Promise<runtime.RequestOpts>;
|
|
65
|
+
/**
|
|
66
|
+
* Retrieves an approval rule by id
|
|
67
|
+
* ASPR001 - Get Supplier Purchase Order Approval Rule
|
|
68
|
+
*/
|
|
69
|
+
aSPR001Raw(requestParameters: ASPR001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO>>;
|
|
70
|
+
/**
|
|
71
|
+
* Retrieves an approval rule by id
|
|
72
|
+
* ASPR001 - Get Supplier Purchase Order Approval Rule
|
|
73
|
+
*/
|
|
74
|
+
aSPR001(requestParameters: ASPR001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO>;
|
|
75
|
+
/**
|
|
76
|
+
* Creates request options for aSPR002 without sending the request
|
|
77
|
+
*/
|
|
78
|
+
aSPR002RequestOpts(requestParameters: ASPR002Request): Promise<runtime.RequestOpts>;
|
|
79
|
+
/**
|
|
80
|
+
* Filtered, paginated search over approval rules (supplier, currency, and whether a rule is tenant-wide)
|
|
81
|
+
* ASPR002 - Search Supplier Purchase Order Approval Rules
|
|
82
|
+
*/
|
|
83
|
+
aSPR002Raw(requestParameters: ASPR002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageSupplierPurchaseOrderApprovalRuleDTO>>;
|
|
84
|
+
/**
|
|
85
|
+
* Filtered, paginated search over approval rules (supplier, currency, and whether a rule is tenant-wide)
|
|
86
|
+
* ASPR002 - Search Supplier Purchase Order Approval Rules
|
|
87
|
+
*/
|
|
88
|
+
aSPR002(requestParameters: ASPR002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageSupplierPurchaseOrderApprovalRuleDTO>;
|
|
89
|
+
/**
|
|
90
|
+
* Creates request options for aSPR100 without sending the request
|
|
91
|
+
*/
|
|
92
|
+
aSPR100RequestOpts(requestParameters: ASPR100Request): Promise<runtime.RequestOpts>;
|
|
93
|
+
/**
|
|
94
|
+
* Creates the rule for one currency, tenant-wide when supplierId is omitted or for one supplier, whose rule overrides the tenant-wide one. An order whose total is at or under the threshold is approved when submitted
|
|
95
|
+
* ASPR100 - Create Supplier Purchase Order Approval Rule
|
|
96
|
+
*/
|
|
97
|
+
aSPR100Raw(requestParameters: ASPR100Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO>>;
|
|
98
|
+
/**
|
|
99
|
+
* Creates the rule for one currency, tenant-wide when supplierId is omitted or for one supplier, whose rule overrides the tenant-wide one. An order whose total is at or under the threshold is approved when submitted
|
|
100
|
+
* ASPR100 - Create Supplier Purchase Order Approval Rule
|
|
101
|
+
*/
|
|
102
|
+
aSPR100(requestParameters: ASPR100Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO>;
|
|
103
|
+
/**
|
|
104
|
+
* Creates request options for aSPR101 without sending the request
|
|
105
|
+
*/
|
|
106
|
+
aSPR101RequestOpts(requestParameters: ASPR101Request): Promise<runtime.RequestOpts>;
|
|
107
|
+
/**
|
|
108
|
+
* Replaces a rule\'s supplier, currency and threshold. Orders already waiting for approval are not decided again
|
|
109
|
+
* ASPR101 - Update Supplier Purchase Order Approval Rule
|
|
110
|
+
*/
|
|
111
|
+
aSPR101Raw(requestParameters: ASPR101Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO>>;
|
|
112
|
+
/**
|
|
113
|
+
* Replaces a rule\'s supplier, currency and threshold. Orders already waiting for approval are not decided again
|
|
114
|
+
* ASPR101 - Update Supplier Purchase Order Approval Rule
|
|
115
|
+
*/
|
|
116
|
+
aSPR101(requestParameters: ASPR101Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO>;
|
|
117
|
+
/**
|
|
118
|
+
* Creates request options for aSPR102 without sending the request
|
|
119
|
+
*/
|
|
120
|
+
aSPR102RequestOpts(requestParameters: ASPR102Request): Promise<runtime.RequestOpts>;
|
|
121
|
+
/**
|
|
122
|
+
* Deletes a rule. A supplier\'s orders then follow the tenant-wide rule, and orders in a currency with no rule wait for a person
|
|
123
|
+
* ASPR102 - Delete Supplier Purchase Order Approval Rule
|
|
124
|
+
*/
|
|
125
|
+
aSPR102Raw(requestParameters: ASPR102Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
126
|
+
/**
|
|
127
|
+
* Deletes a rule. A supplier\'s orders then follow the tenant-wide rule, and orders in a currency with no rule wait for a person
|
|
128
|
+
* ASPR102 - Delete Supplier Purchase Order Approval Rule
|
|
129
|
+
*/
|
|
130
|
+
aSPR102(requestParameters: ASPR102Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
131
|
+
}
|
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Vergefy API
|
|
6
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
9
|
+
* Contact: support@integrahub.co
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.APIASPRSupplierPurchaseOrderApprovalRuleApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO_1 = require("../models/DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO");
|
|
28
|
+
const PageSupplierPurchaseOrderApprovalRuleDTO_1 = require("../models/PageSupplierPurchaseOrderApprovalRuleDTO");
|
|
29
|
+
const SupplierPurchaseOrderApprovalRuleDTO_1 = require("../models/SupplierPurchaseOrderApprovalRuleDTO");
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
class APIASPRSupplierPurchaseOrderApprovalRuleApi extends runtime.BaseAPI {
|
|
34
|
+
/**
|
|
35
|
+
* Creates request options for aSPR001 without sending the request
|
|
36
|
+
*/
|
|
37
|
+
aSPR001RequestOpts(requestParameters) {
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
if (requestParameters['id'] == null) {
|
|
40
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling aSPR001().');
|
|
41
|
+
}
|
|
42
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
43
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aSPR001().');
|
|
44
|
+
}
|
|
45
|
+
const queryParameters = {};
|
|
46
|
+
const headerParameters = {};
|
|
47
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
48
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
49
|
+
}
|
|
50
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
51
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
52
|
+
}
|
|
53
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
54
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
55
|
+
}
|
|
56
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
57
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
58
|
+
}
|
|
59
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
60
|
+
const token = this.configuration.accessToken;
|
|
61
|
+
const tokenString = yield token("BearerAuth", []);
|
|
62
|
+
if (tokenString) {
|
|
63
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
let urlPath = `/api/supplier-purchase-order-approval-rules/{id}`;
|
|
67
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
68
|
+
return {
|
|
69
|
+
path: urlPath,
|
|
70
|
+
method: 'GET',
|
|
71
|
+
headers: headerParameters,
|
|
72
|
+
query: queryParameters,
|
|
73
|
+
};
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Retrieves an approval rule by id
|
|
78
|
+
* ASPR001 - Get Supplier Purchase Order Approval Rule
|
|
79
|
+
*/
|
|
80
|
+
aSPR001Raw(requestParameters, initOverrides) {
|
|
81
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
82
|
+
const requestOptions = yield this.aSPR001RequestOpts(requestParameters);
|
|
83
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
84
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO_1.DataResponseDTOSupplierPurchaseOrderApprovalRuleDTOFromJSON)(jsonValue));
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Retrieves an approval rule by id
|
|
89
|
+
* ASPR001 - Get Supplier Purchase Order Approval Rule
|
|
90
|
+
*/
|
|
91
|
+
aSPR001(requestParameters, initOverrides) {
|
|
92
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
93
|
+
const response = yield this.aSPR001Raw(requestParameters, initOverrides);
|
|
94
|
+
return yield response.value();
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Creates request options for aSPR002 without sending the request
|
|
99
|
+
*/
|
|
100
|
+
aSPR002RequestOpts(requestParameters) {
|
|
101
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
102
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
103
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aSPR002().');
|
|
104
|
+
}
|
|
105
|
+
const queryParameters = {};
|
|
106
|
+
if (requestParameters['supplierId'] != null) {
|
|
107
|
+
queryParameters['supplierId'] = requestParameters['supplierId'];
|
|
108
|
+
}
|
|
109
|
+
if (requestParameters['currencyCode'] != null) {
|
|
110
|
+
queryParameters['currencyCode'] = requestParameters['currencyCode'];
|
|
111
|
+
}
|
|
112
|
+
if (requestParameters['tenantWide'] != null) {
|
|
113
|
+
queryParameters['tenantWide'] = requestParameters['tenantWide'];
|
|
114
|
+
}
|
|
115
|
+
if (requestParameters['page'] != null) {
|
|
116
|
+
queryParameters['page'] = requestParameters['page'];
|
|
117
|
+
}
|
|
118
|
+
if (requestParameters['size'] != null) {
|
|
119
|
+
queryParameters['size'] = requestParameters['size'];
|
|
120
|
+
}
|
|
121
|
+
if (requestParameters['sort'] != null) {
|
|
122
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
123
|
+
}
|
|
124
|
+
const headerParameters = {};
|
|
125
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
126
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
127
|
+
}
|
|
128
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
129
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
130
|
+
}
|
|
131
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
132
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
133
|
+
}
|
|
134
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
135
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
136
|
+
}
|
|
137
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
138
|
+
const token = this.configuration.accessToken;
|
|
139
|
+
const tokenString = yield token("BearerAuth", []);
|
|
140
|
+
if (tokenString) {
|
|
141
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
let urlPath = `/api/supplier-purchase-order-approval-rules`;
|
|
145
|
+
return {
|
|
146
|
+
path: urlPath,
|
|
147
|
+
method: 'GET',
|
|
148
|
+
headers: headerParameters,
|
|
149
|
+
query: queryParameters,
|
|
150
|
+
};
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Filtered, paginated search over approval rules (supplier, currency, and whether a rule is tenant-wide)
|
|
155
|
+
* ASPR002 - Search Supplier Purchase Order Approval Rules
|
|
156
|
+
*/
|
|
157
|
+
aSPR002Raw(requestParameters, initOverrides) {
|
|
158
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
159
|
+
const requestOptions = yield this.aSPR002RequestOpts(requestParameters);
|
|
160
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
161
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PageSupplierPurchaseOrderApprovalRuleDTO_1.PageSupplierPurchaseOrderApprovalRuleDTOFromJSON)(jsonValue));
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Filtered, paginated search over approval rules (supplier, currency, and whether a rule is tenant-wide)
|
|
166
|
+
* ASPR002 - Search Supplier Purchase Order Approval Rules
|
|
167
|
+
*/
|
|
168
|
+
aSPR002(requestParameters, initOverrides) {
|
|
169
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
170
|
+
const response = yield this.aSPR002Raw(requestParameters, initOverrides);
|
|
171
|
+
return yield response.value();
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Creates request options for aSPR100 without sending the request
|
|
176
|
+
*/
|
|
177
|
+
aSPR100RequestOpts(requestParameters) {
|
|
178
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
179
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
180
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aSPR100().');
|
|
181
|
+
}
|
|
182
|
+
if (requestParameters['supplierPurchaseOrderApprovalRuleDTO'] == null) {
|
|
183
|
+
throw new runtime.RequiredError('supplierPurchaseOrderApprovalRuleDTO', 'Required parameter "supplierPurchaseOrderApprovalRuleDTO" was null or undefined when calling aSPR100().');
|
|
184
|
+
}
|
|
185
|
+
const queryParameters = {};
|
|
186
|
+
const headerParameters = {};
|
|
187
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
188
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
189
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
190
|
+
}
|
|
191
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
192
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
193
|
+
}
|
|
194
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
195
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
196
|
+
}
|
|
197
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
198
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
199
|
+
}
|
|
200
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
201
|
+
const token = this.configuration.accessToken;
|
|
202
|
+
const tokenString = yield token("BearerAuth", []);
|
|
203
|
+
if (tokenString) {
|
|
204
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
let urlPath = `/api/supplier-purchase-order-approval-rules`;
|
|
208
|
+
return {
|
|
209
|
+
path: urlPath,
|
|
210
|
+
method: 'POST',
|
|
211
|
+
headers: headerParameters,
|
|
212
|
+
query: queryParameters,
|
|
213
|
+
body: (0, SupplierPurchaseOrderApprovalRuleDTO_1.SupplierPurchaseOrderApprovalRuleDTOToJSON)(requestParameters['supplierPurchaseOrderApprovalRuleDTO']),
|
|
214
|
+
};
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Creates the rule for one currency, tenant-wide when supplierId is omitted or for one supplier, whose rule overrides the tenant-wide one. An order whose total is at or under the threshold is approved when submitted
|
|
219
|
+
* ASPR100 - Create Supplier Purchase Order Approval Rule
|
|
220
|
+
*/
|
|
221
|
+
aSPR100Raw(requestParameters, initOverrides) {
|
|
222
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
223
|
+
const requestOptions = yield this.aSPR100RequestOpts(requestParameters);
|
|
224
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
225
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO_1.DataResponseDTOSupplierPurchaseOrderApprovalRuleDTOFromJSON)(jsonValue));
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Creates the rule for one currency, tenant-wide when supplierId is omitted or for one supplier, whose rule overrides the tenant-wide one. An order whose total is at or under the threshold is approved when submitted
|
|
230
|
+
* ASPR100 - Create Supplier Purchase Order Approval Rule
|
|
231
|
+
*/
|
|
232
|
+
aSPR100(requestParameters, initOverrides) {
|
|
233
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
234
|
+
const response = yield this.aSPR100Raw(requestParameters, initOverrides);
|
|
235
|
+
return yield response.value();
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Creates request options for aSPR101 without sending the request
|
|
240
|
+
*/
|
|
241
|
+
aSPR101RequestOpts(requestParameters) {
|
|
242
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
243
|
+
if (requestParameters['id'] == null) {
|
|
244
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling aSPR101().');
|
|
245
|
+
}
|
|
246
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
247
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aSPR101().');
|
|
248
|
+
}
|
|
249
|
+
if (requestParameters['supplierPurchaseOrderApprovalRuleDTO'] == null) {
|
|
250
|
+
throw new runtime.RequiredError('supplierPurchaseOrderApprovalRuleDTO', 'Required parameter "supplierPurchaseOrderApprovalRuleDTO" was null or undefined when calling aSPR101().');
|
|
251
|
+
}
|
|
252
|
+
const queryParameters = {};
|
|
253
|
+
const headerParameters = {};
|
|
254
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
255
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
256
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
257
|
+
}
|
|
258
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
259
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
260
|
+
}
|
|
261
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
262
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
263
|
+
}
|
|
264
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
265
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
266
|
+
}
|
|
267
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
268
|
+
const token = this.configuration.accessToken;
|
|
269
|
+
const tokenString = yield token("BearerAuth", []);
|
|
270
|
+
if (tokenString) {
|
|
271
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
let urlPath = `/api/supplier-purchase-order-approval-rules/{id}`;
|
|
275
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
276
|
+
return {
|
|
277
|
+
path: urlPath,
|
|
278
|
+
method: 'PUT',
|
|
279
|
+
headers: headerParameters,
|
|
280
|
+
query: queryParameters,
|
|
281
|
+
body: (0, SupplierPurchaseOrderApprovalRuleDTO_1.SupplierPurchaseOrderApprovalRuleDTOToJSON)(requestParameters['supplierPurchaseOrderApprovalRuleDTO']),
|
|
282
|
+
};
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Replaces a rule\'s supplier, currency and threshold. Orders already waiting for approval are not decided again
|
|
287
|
+
* ASPR101 - Update Supplier Purchase Order Approval Rule
|
|
288
|
+
*/
|
|
289
|
+
aSPR101Raw(requestParameters, initOverrides) {
|
|
290
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
291
|
+
const requestOptions = yield this.aSPR101RequestOpts(requestParameters);
|
|
292
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
293
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOSupplierPurchaseOrderApprovalRuleDTO_1.DataResponseDTOSupplierPurchaseOrderApprovalRuleDTOFromJSON)(jsonValue));
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Replaces a rule\'s supplier, currency and threshold. Orders already waiting for approval are not decided again
|
|
298
|
+
* ASPR101 - Update Supplier Purchase Order Approval Rule
|
|
299
|
+
*/
|
|
300
|
+
aSPR101(requestParameters, initOverrides) {
|
|
301
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
302
|
+
const response = yield this.aSPR101Raw(requestParameters, initOverrides);
|
|
303
|
+
return yield response.value();
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Creates request options for aSPR102 without sending the request
|
|
308
|
+
*/
|
|
309
|
+
aSPR102RequestOpts(requestParameters) {
|
|
310
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
311
|
+
if (requestParameters['id'] == null) {
|
|
312
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling aSPR102().');
|
|
313
|
+
}
|
|
314
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
315
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling aSPR102().');
|
|
316
|
+
}
|
|
317
|
+
const queryParameters = {};
|
|
318
|
+
const headerParameters = {};
|
|
319
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
320
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
321
|
+
}
|
|
322
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
323
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
324
|
+
}
|
|
325
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
326
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
327
|
+
}
|
|
328
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
329
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
330
|
+
}
|
|
331
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
332
|
+
const token = this.configuration.accessToken;
|
|
333
|
+
const tokenString = yield token("BearerAuth", []);
|
|
334
|
+
if (tokenString) {
|
|
335
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
let urlPath = `/api/supplier-purchase-order-approval-rules/{id}`;
|
|
339
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
340
|
+
return {
|
|
341
|
+
path: urlPath,
|
|
342
|
+
method: 'DELETE',
|
|
343
|
+
headers: headerParameters,
|
|
344
|
+
query: queryParameters,
|
|
345
|
+
};
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* Deletes a rule. A supplier\'s orders then follow the tenant-wide rule, and orders in a currency with no rule wait for a person
|
|
350
|
+
* ASPR102 - Delete Supplier Purchase Order Approval Rule
|
|
351
|
+
*/
|
|
352
|
+
aSPR102Raw(requestParameters, initOverrides) {
|
|
353
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
354
|
+
const requestOptions = yield this.aSPR102RequestOpts(requestParameters);
|
|
355
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
356
|
+
return new runtime.VoidApiResponse(response);
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* Deletes a rule. A supplier\'s orders then follow the tenant-wide rule, and orders in a currency with no rule wait for a person
|
|
361
|
+
* ASPR102 - Delete Supplier Purchase Order Approval Rule
|
|
362
|
+
*/
|
|
363
|
+
aSPR102(requestParameters, initOverrides) {
|
|
364
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
365
|
+
yield this.aSPR102Raw(requestParameters, initOverrides);
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
exports.APIASPRSupplierPurchaseOrderApprovalRuleApi = APIASPRSupplierPurchaseOrderApprovalRuleApi;
|
|
@@ -131,6 +131,9 @@ class APPPHRAWHRApprovalWorkflowApi extends runtime.BaseAPI {
|
|
|
131
131
|
if (requestParameters['size'] != null) {
|
|
132
132
|
queryParameters['size'] = requestParameters['size'];
|
|
133
133
|
}
|
|
134
|
+
if (requestParameters['sort'] != null) {
|
|
135
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
136
|
+
}
|
|
134
137
|
const headerParameters = {};
|
|
135
138
|
if (requestParameters['acceptLanguage'] != null) {
|
|
136
139
|
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
@@ -557,9 +557,6 @@ class APPPMTMailTrustApi extends runtime.BaseAPI {
|
|
|
557
557
|
if (requestParameters['sort'] != null) {
|
|
558
558
|
queryParameters['sort'] = requestParameters['sort'];
|
|
559
559
|
}
|
|
560
|
-
if (requestParameters['direction'] != null) {
|
|
561
|
-
queryParameters['direction'] = requestParameters['direction'];
|
|
562
|
-
}
|
|
563
560
|
if (requestParameters['name'] != null) {
|
|
564
561
|
queryParameters['name'] = requestParameters['name'];
|
|
565
562
|
}
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -136,10 +136,14 @@ export * from './APIARDReadsApi';
|
|
|
136
136
|
export * from './APIARERefundApi';
|
|
137
137
|
export * from './APIARFRFIDApi';
|
|
138
138
|
export * from './APIARQRequirementApi';
|
|
139
|
+
export * from './APIARSGReorderSuggestionApi';
|
|
139
140
|
export * from './APIARTReturnApi';
|
|
140
141
|
export * from './APIARVReviewApi';
|
|
141
142
|
export * from './APIASHShipmentApi';
|
|
142
143
|
export * from './APIASMSSMSApi';
|
|
144
|
+
export * from './APIASPLSupplierPriceListApi';
|
|
145
|
+
export * from './APIASPOSupplierPurchaseOrderApi';
|
|
146
|
+
export * from './APIASPRSupplierPurchaseOrderApprovalRuleApi';
|
|
143
147
|
export * from './APIASPSupplierApi';
|
|
144
148
|
export * from './APIASTAssetApi';
|
|
145
149
|
export * from './APIASUPSubscriptionPublicBridgeApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -154,10 +154,14 @@ __exportStar(require("./APIARDReadsApi"), exports);
|
|
|
154
154
|
__exportStar(require("./APIARERefundApi"), exports);
|
|
155
155
|
__exportStar(require("./APIARFRFIDApi"), exports);
|
|
156
156
|
__exportStar(require("./APIARQRequirementApi"), exports);
|
|
157
|
+
__exportStar(require("./APIARSGReorderSuggestionApi"), exports);
|
|
157
158
|
__exportStar(require("./APIARTReturnApi"), exports);
|
|
158
159
|
__exportStar(require("./APIARVReviewApi"), exports);
|
|
159
160
|
__exportStar(require("./APIASHShipmentApi"), exports);
|
|
160
161
|
__exportStar(require("./APIASMSSMSApi"), exports);
|
|
162
|
+
__exportStar(require("./APIASPLSupplierPriceListApi"), exports);
|
|
163
|
+
__exportStar(require("./APIASPOSupplierPurchaseOrderApi"), exports);
|
|
164
|
+
__exportStar(require("./APIASPRSupplierPurchaseOrderApprovalRuleApi"), exports);
|
|
161
165
|
__exportStar(require("./APIASPSupplierApi"), exports);
|
|
162
166
|
__exportStar(require("./APIASTAssetApi"), exports);
|
|
163
167
|
__exportStar(require("./APIASUPSubscriptionPublicBridgeApi"), exports);
|
|
@@ -423,7 +423,8 @@ export const AAS005SourceTypesEnum = {
|
|
|
423
423
|
RouteStop: 'ROUTE_STOP',
|
|
424
424
|
Shipment: 'SHIPMENT',
|
|
425
425
|
WarehouseLocation: 'WAREHOUSE_LOCATION',
|
|
426
|
-
FleetDevice: 'FLEET_DEVICE'
|
|
426
|
+
FleetDevice: 'FLEET_DEVICE',
|
|
427
|
+
SupplierPurchaseOrder: 'SUPPLIER_PURCHASE_ORDER'
|
|
427
428
|
};
|
|
428
429
|
/**
|
|
429
430
|
* @export
|
|
@@ -474,5 +475,6 @@ export const AAS005TargetTypesEnum = {
|
|
|
474
475
|
RouteStop: 'ROUTE_STOP',
|
|
475
476
|
Shipment: 'SHIPMENT',
|
|
476
477
|
WarehouseLocation: 'WAREHOUSE_LOCATION',
|
|
477
|
-
FleetDevice: 'FLEET_DEVICE'
|
|
478
|
+
FleetDevice: 'FLEET_DEVICE',
|
|
479
|
+
SupplierPurchaseOrder: 'SUPPLIER_PURCHASE_ORDER'
|
|
478
480
|
};
|
|
@@ -248,9 +248,6 @@ export class APIAGRGoodsReceiptApi extends runtime.BaseAPI {
|
|
|
248
248
|
if (requestParameters['sort'] != null) {
|
|
249
249
|
queryParameters['sort'] = requestParameters['sort'];
|
|
250
250
|
}
|
|
251
|
-
if (requestParameters['direction'] != null) {
|
|
252
|
-
queryParameters['direction'] = requestParameters['direction'];
|
|
253
|
-
}
|
|
254
251
|
const headerParameters = {};
|
|
255
252
|
if (requestParameters['acceptLanguage'] != null) {
|
|
256
253
|
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
@@ -310,10 +307,3 @@ export const AGR004StatusEnum = {
|
|
|
310
307
|
Received: 'RECEIVED',
|
|
311
308
|
PutAway: 'PUT_AWAY'
|
|
312
309
|
};
|
|
313
|
-
/**
|
|
314
|
-
* @export
|
|
315
|
-
*/
|
|
316
|
-
export const AGR004DirectionEnum = {
|
|
317
|
-
Asc: 'ASC',
|
|
318
|
-
Desc: 'DESC'
|
|
319
|
-
};
|