@smartytalent/api-client 0.1.33-dev.2 → 0.1.33-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/LabelsApi.d.ts +141 -0
- package/dist/apis/LabelsApi.d.ts.map +1 -0
- package/dist/apis/LabelsApi.js +342 -0
- package/dist/apis/LabelsApi.js.map +1 -0
- package/dist/apis/StatesApi.d.ts +157 -0
- package/dist/apis/StatesApi.d.ts.map +1 -0
- package/dist/apis/StatesApi.js +370 -0
- package/dist/apis/StatesApi.js.map +1 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.d.ts.map +1 -1
- package/dist/apis/index.js +2 -0
- package/dist/apis/index.js.map +1 -1
- package/dist/models/CreateLabelRequestBody.d.ts +34 -0
- package/dist/models/CreateLabelRequestBody.d.ts.map +1 -0
- package/dist/models/CreateLabelRequestBody.js +52 -0
- package/dist/models/CreateLabelRequestBody.js.map +1 -0
- package/dist/models/CreateLabelRequestBodyData.d.ts +47 -0
- package/dist/models/CreateLabelRequestBodyData.d.ts.map +1 -0
- package/dist/models/CreateLabelRequestBodyData.js +63 -0
- package/dist/models/CreateLabelRequestBodyData.js.map +1 -0
- package/dist/models/CreateStateRequestBody.d.ts +34 -0
- package/dist/models/CreateStateRequestBody.d.ts.map +1 -0
- package/dist/models/CreateStateRequestBody.js +52 -0
- package/dist/models/CreateStateRequestBody.js.map +1 -0
- package/dist/models/CreateStateRequestBodyData.d.ts +47 -0
- package/dist/models/CreateStateRequestBodyData.d.ts.map +1 -0
- package/dist/models/CreateStateRequestBodyData.js +63 -0
- package/dist/models/CreateStateRequestBodyData.js.map +1 -0
- package/dist/models/EmailAttributesSchema.d.ts +25 -1
- package/dist/models/EmailAttributesSchema.d.ts.map +1 -1
- package/dist/models/EmailAttributesSchema.js +8 -0
- package/dist/models/EmailAttributesSchema.js.map +1 -1
- package/dist/models/EmailAttributesSchemaAttachmentsInner.d.ts +27 -3
- package/dist/models/EmailAttributesSchemaAttachmentsInner.d.ts.map +1 -1
- package/dist/models/EmailAttributesSchemaAttachmentsInner.js +8 -0
- package/dist/models/EmailAttributesSchemaAttachmentsInner.js.map +1 -1
- package/dist/models/LabelAttributesSchema.d.ts +92 -0
- package/dist/models/LabelAttributesSchema.d.ts.map +1 -0
- package/dist/models/LabelAttributesSchema.js +79 -0
- package/dist/models/LabelAttributesSchema.js.map +1 -0
- package/dist/models/LabelResourceSchema.d.ts +74 -0
- package/dist/models/LabelResourceSchema.d.ts.map +1 -0
- package/dist/models/LabelResourceSchema.js +74 -0
- package/dist/models/LabelResourceSchema.js.map +1 -0
- package/dist/models/LabelSchema.d.ts +49 -0
- package/dist/models/LabelSchema.d.ts.map +1 -0
- package/dist/models/LabelSchema.js +55 -0
- package/dist/models/LabelSchema.js.map +1 -0
- package/dist/models/LabelsSchema.d.ts +48 -0
- package/dist/models/LabelsSchema.d.ts.map +1 -0
- package/dist/models/LabelsSchema.js +56 -0
- package/dist/models/LabelsSchema.js.map +1 -0
- package/dist/models/StateAttributesSchema.d.ts +116 -0
- package/dist/models/StateAttributesSchema.d.ts.map +1 -0
- package/dist/models/StateAttributesSchema.js +86 -0
- package/dist/models/StateAttributesSchema.js.map +1 -0
- package/dist/models/StateResourceSchema.d.ts +74 -0
- package/dist/models/StateResourceSchema.d.ts.map +1 -0
- package/dist/models/StateResourceSchema.js +74 -0
- package/dist/models/StateResourceSchema.js.map +1 -0
- package/dist/models/StateSchema.d.ts +49 -0
- package/dist/models/StateSchema.d.ts.map +1 -0
- package/dist/models/StateSchema.js +55 -0
- package/dist/models/StateSchema.js.map +1 -0
- package/dist/models/StatesSchema.d.ts +48 -0
- package/dist/models/StatesSchema.d.ts.map +1 -0
- package/dist/models/StatesSchema.js +56 -0
- package/dist/models/StatesSchema.js.map +1 -0
- package/dist/models/UpdateLabelRequestBody.d.ts +34 -0
- package/dist/models/UpdateLabelRequestBody.d.ts.map +1 -0
- package/dist/models/UpdateLabelRequestBody.js +52 -0
- package/dist/models/UpdateLabelRequestBody.js.map +1 -0
- package/dist/models/UpdateLabelRequestBodyData.d.ts +53 -0
- package/dist/models/UpdateLabelRequestBodyData.d.ts.map +1 -0
- package/dist/models/UpdateLabelRequestBodyData.js +67 -0
- package/dist/models/UpdateLabelRequestBodyData.js.map +1 -0
- package/dist/models/UpdateStateRequestBody.d.ts +34 -0
- package/dist/models/UpdateStateRequestBody.d.ts.map +1 -0
- package/dist/models/UpdateStateRequestBody.js +52 -0
- package/dist/models/UpdateStateRequestBody.js.map +1 -0
- package/dist/models/UpdateStateRequestBodyData.d.ts +53 -0
- package/dist/models/UpdateStateRequestBodyData.d.ts.map +1 -0
- package/dist/models/UpdateStateRequestBodyData.js +67 -0
- package/dist/models/UpdateStateRequestBodyData.js.map +1 -0
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +16 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SmartyMeet Dev03 API REST
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.1
|
|
6
|
+
* Contact: developer@smartymeet.com
|
|
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 { CreateLabelRequestBody, LabelSchema, LabelsSchema, UpdateLabelRequestBody } from '../models/index';
|
|
14
|
+
export interface CreateLabelRequest {
|
|
15
|
+
createLabelRequestBody: CreateLabelRequestBody;
|
|
16
|
+
}
|
|
17
|
+
export interface DeleteLabelRequest {
|
|
18
|
+
labelId: string;
|
|
19
|
+
}
|
|
20
|
+
export interface LabelOptionsRequest {
|
|
21
|
+
labelId: string;
|
|
22
|
+
}
|
|
23
|
+
export interface ListLabelsRequest {
|
|
24
|
+
filterStatus?: ListLabelsFilterStatusEnum;
|
|
25
|
+
pageSize?: number;
|
|
26
|
+
}
|
|
27
|
+
export interface ShowLabelRequest {
|
|
28
|
+
labelId: string;
|
|
29
|
+
}
|
|
30
|
+
export interface UpdateLabelRequest {
|
|
31
|
+
labelId: string;
|
|
32
|
+
updateLabelRequestBody: UpdateLabelRequestBody;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
export declare class LabelsApi extends runtime.BaseAPI {
|
|
38
|
+
/**
|
|
39
|
+
* Creates request options for createLabel without sending the request
|
|
40
|
+
*/
|
|
41
|
+
createLabelRequestOpts(requestParameters: CreateLabelRequest): Promise<runtime.RequestOpts>;
|
|
42
|
+
/**
|
|
43
|
+
* Creates a new label. `scope=tenant` creates a tenant-wide label (visible to all users in the tenant); `scope=user` creates a personal label. `ownerId` is set server-side from the caller.
|
|
44
|
+
* Create Label
|
|
45
|
+
*/
|
|
46
|
+
createLabelRaw(requestParameters: CreateLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LabelSchema>>;
|
|
47
|
+
/**
|
|
48
|
+
* Creates a new label. `scope=tenant` creates a tenant-wide label (visible to all users in the tenant); `scope=user` creates a personal label. `ownerId` is set server-side from the caller.
|
|
49
|
+
* Create Label
|
|
50
|
+
*/
|
|
51
|
+
createLabel(requestParameters: CreateLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LabelSchema>;
|
|
52
|
+
/**
|
|
53
|
+
* Creates request options for deleteLabel without sending the request
|
|
54
|
+
*/
|
|
55
|
+
deleteLabelRequestOpts(requestParameters: DeleteLabelRequest): Promise<runtime.RequestOpts>;
|
|
56
|
+
/**
|
|
57
|
+
* Soft delete: flips status to archived. Historical assignments on state rows keep the labelId but the label is hidden from the label list.
|
|
58
|
+
* Delete Label
|
|
59
|
+
*/
|
|
60
|
+
deleteLabelRaw(requestParameters: DeleteLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
61
|
+
/**
|
|
62
|
+
* Soft delete: flips status to archived. Historical assignments on state rows keep the labelId but the label is hidden from the label list.
|
|
63
|
+
* Delete Label
|
|
64
|
+
*/
|
|
65
|
+
deleteLabel(requestParameters: DeleteLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* Creates request options for labelOptions without sending the request
|
|
68
|
+
*/
|
|
69
|
+
labelOptionsRequestOpts(requestParameters: LabelOptionsRequest): Promise<runtime.RequestOpts>;
|
|
70
|
+
/**
|
|
71
|
+
* Enable CORS
|
|
72
|
+
* Label Options
|
|
73
|
+
*/
|
|
74
|
+
labelOptionsRaw(requestParameters: LabelOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
75
|
+
/**
|
|
76
|
+
* Enable CORS
|
|
77
|
+
* Label Options
|
|
78
|
+
*/
|
|
79
|
+
labelOptions(requestParameters: LabelOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
80
|
+
/**
|
|
81
|
+
* Creates request options for labelsOptions without sending the request
|
|
82
|
+
*/
|
|
83
|
+
labelsOptionsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
84
|
+
/**
|
|
85
|
+
* Enable CORS
|
|
86
|
+
* Labels Options
|
|
87
|
+
*/
|
|
88
|
+
labelsOptionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
89
|
+
/**
|
|
90
|
+
* Enable CORS
|
|
91
|
+
* Labels Options
|
|
92
|
+
*/
|
|
93
|
+
labelsOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
94
|
+
/**
|
|
95
|
+
* Creates request options for listLabels without sending the request
|
|
96
|
+
*/
|
|
97
|
+
listLabelsRequestOpts(requestParameters: ListLabelsRequest): Promise<runtime.RequestOpts>;
|
|
98
|
+
/**
|
|
99
|
+
* Returns labels visible to the authenticated user: - all tenant-scope labels for the caller\'s tenant - the caller\'s own user-scope labels Archived labels are excluded by default; pass `filterStatus=archived` to include them.
|
|
100
|
+
* List Labels
|
|
101
|
+
*/
|
|
102
|
+
listLabelsRaw(requestParameters: ListLabelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LabelsSchema>>;
|
|
103
|
+
/**
|
|
104
|
+
* Returns labels visible to the authenticated user: - all tenant-scope labels for the caller\'s tenant - the caller\'s own user-scope labels Archived labels are excluded by default; pass `filterStatus=archived` to include them.
|
|
105
|
+
* List Labels
|
|
106
|
+
*/
|
|
107
|
+
listLabels(requestParameters?: ListLabelsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LabelsSchema>;
|
|
108
|
+
/**
|
|
109
|
+
* Creates request options for showLabel without sending the request
|
|
110
|
+
*/
|
|
111
|
+
showLabelRequestOpts(requestParameters: ShowLabelRequest): Promise<runtime.RequestOpts>;
|
|
112
|
+
/**
|
|
113
|
+
* Show Label
|
|
114
|
+
*/
|
|
115
|
+
showLabelRaw(requestParameters: ShowLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LabelSchema>>;
|
|
116
|
+
/**
|
|
117
|
+
* Show Label
|
|
118
|
+
*/
|
|
119
|
+
showLabel(requestParameters: ShowLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LabelSchema>;
|
|
120
|
+
/**
|
|
121
|
+
* Creates request options for updateLabel without sending the request
|
|
122
|
+
*/
|
|
123
|
+
updateLabelRequestOpts(requestParameters: UpdateLabelRequest): Promise<runtime.RequestOpts>;
|
|
124
|
+
/**
|
|
125
|
+
* Update Label
|
|
126
|
+
*/
|
|
127
|
+
updateLabelRaw(requestParameters: UpdateLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LabelSchema>>;
|
|
128
|
+
/**
|
|
129
|
+
* Update Label
|
|
130
|
+
*/
|
|
131
|
+
updateLabel(requestParameters: UpdateLabelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LabelSchema>;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* @export
|
|
135
|
+
*/
|
|
136
|
+
export declare const ListLabelsFilterStatusEnum: {
|
|
137
|
+
readonly Active: "active";
|
|
138
|
+
readonly Archived: "archived";
|
|
139
|
+
};
|
|
140
|
+
export type ListLabelsFilterStatusEnum = typeof ListLabelsFilterStatusEnum[keyof typeof ListLabelsFilterStatusEnum];
|
|
141
|
+
//# sourceMappingURL=LabelsApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LabelsApi.d.ts","sourceRoot":"","sources":["../../src/apis/LabelsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,sBAAsB,EAEtB,WAAW,EACX,YAAY,EACZ,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;AAczB,MAAM,WAAW,kBAAkB;IAC/B,sBAAsB,EAAE,sBAAsB,CAAC;CAClD;AAED,MAAM,WAAW,kBAAkB;IAC/B,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAChC,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAC9B,YAAY,CAAC,EAAE,0BAA0B,CAAC;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC7B,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,kBAAkB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,sBAAsB,EAAE,sBAAsB,CAA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I;;OAEG;IACG,sBAAsB,CAAC,iBAAiB,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC;IA2CjG;;OAEG;IACG,cAAc,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;IAOlK;;OAEG;IACG,WAAW,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,WAAW,CAAC;CAK7I;AAED;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;CAG7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SmartyMeet Dev03 API REST
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.1
|
|
9
|
+
* Contact: developer@smartymeet.com
|
|
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
+
exports.ListLabelsFilterStatusEnum = exports.LabelsApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
const index_1 = require("../models/index");
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
class LabelsApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Creates request options for createLabel without sending the request
|
|
58
|
+
*/
|
|
59
|
+
async createLabelRequestOpts(requestParameters) {
|
|
60
|
+
if (requestParameters['createLabelRequestBody'] == null) {
|
|
61
|
+
throw new runtime.RequiredError('createLabelRequestBody', 'Required parameter "createLabelRequestBody" was null or undefined when calling createLabel().');
|
|
62
|
+
}
|
|
63
|
+
const queryParameters = {};
|
|
64
|
+
const headerParameters = {};
|
|
65
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
66
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
67
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
68
|
+
}
|
|
69
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
70
|
+
// oauth required
|
|
71
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
72
|
+
}
|
|
73
|
+
let urlPath = `/v1/labels`;
|
|
74
|
+
return {
|
|
75
|
+
path: urlPath,
|
|
76
|
+
method: 'POST',
|
|
77
|
+
headers: headerParameters,
|
|
78
|
+
query: queryParameters,
|
|
79
|
+
body: (0, index_1.CreateLabelRequestBodyToJSON)(requestParameters['createLabelRequestBody']),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Creates a new label. `scope=tenant` creates a tenant-wide label (visible to all users in the tenant); `scope=user` creates a personal label. `ownerId` is set server-side from the caller.
|
|
84
|
+
* Create Label
|
|
85
|
+
*/
|
|
86
|
+
async createLabelRaw(requestParameters, initOverrides) {
|
|
87
|
+
const requestOptions = await this.createLabelRequestOpts(requestParameters);
|
|
88
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
89
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.LabelSchemaFromJSON)(jsonValue));
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Creates a new label. `scope=tenant` creates a tenant-wide label (visible to all users in the tenant); `scope=user` creates a personal label. `ownerId` is set server-side from the caller.
|
|
93
|
+
* Create Label
|
|
94
|
+
*/
|
|
95
|
+
async createLabel(requestParameters, initOverrides) {
|
|
96
|
+
const response = await this.createLabelRaw(requestParameters, initOverrides);
|
|
97
|
+
return await response.value();
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Creates request options for deleteLabel without sending the request
|
|
101
|
+
*/
|
|
102
|
+
async deleteLabelRequestOpts(requestParameters) {
|
|
103
|
+
if (requestParameters['labelId'] == null) {
|
|
104
|
+
throw new runtime.RequiredError('labelId', 'Required parameter "labelId" was null or undefined when calling deleteLabel().');
|
|
105
|
+
}
|
|
106
|
+
const queryParameters = {};
|
|
107
|
+
const headerParameters = {};
|
|
108
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
109
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
110
|
+
}
|
|
111
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
112
|
+
// oauth required
|
|
113
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
114
|
+
}
|
|
115
|
+
let urlPath = `/v1/labels/{labelId}`;
|
|
116
|
+
urlPath = urlPath.replace(`{${"labelId"}}`, encodeURIComponent(String(requestParameters['labelId'])));
|
|
117
|
+
return {
|
|
118
|
+
path: urlPath,
|
|
119
|
+
method: 'DELETE',
|
|
120
|
+
headers: headerParameters,
|
|
121
|
+
query: queryParameters,
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Soft delete: flips status to archived. Historical assignments on state rows keep the labelId but the label is hidden from the label list.
|
|
126
|
+
* Delete Label
|
|
127
|
+
*/
|
|
128
|
+
async deleteLabelRaw(requestParameters, initOverrides) {
|
|
129
|
+
const requestOptions = await this.deleteLabelRequestOpts(requestParameters);
|
|
130
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
131
|
+
return new runtime.VoidApiResponse(response);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Soft delete: flips status to archived. Historical assignments on state rows keep the labelId but the label is hidden from the label list.
|
|
135
|
+
* Delete Label
|
|
136
|
+
*/
|
|
137
|
+
async deleteLabel(requestParameters, initOverrides) {
|
|
138
|
+
await this.deleteLabelRaw(requestParameters, initOverrides);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Creates request options for labelOptions without sending the request
|
|
142
|
+
*/
|
|
143
|
+
async labelOptionsRequestOpts(requestParameters) {
|
|
144
|
+
if (requestParameters['labelId'] == null) {
|
|
145
|
+
throw new runtime.RequiredError('labelId', 'Required parameter "labelId" was null or undefined when calling labelOptions().');
|
|
146
|
+
}
|
|
147
|
+
const queryParameters = {};
|
|
148
|
+
const headerParameters = {};
|
|
149
|
+
let urlPath = `/v1/labels/{labelId}`;
|
|
150
|
+
urlPath = urlPath.replace(`{${"labelId"}}`, encodeURIComponent(String(requestParameters['labelId'])));
|
|
151
|
+
return {
|
|
152
|
+
path: urlPath,
|
|
153
|
+
method: 'OPTIONS',
|
|
154
|
+
headers: headerParameters,
|
|
155
|
+
query: queryParameters,
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Enable CORS
|
|
160
|
+
* Label Options
|
|
161
|
+
*/
|
|
162
|
+
async labelOptionsRaw(requestParameters, initOverrides) {
|
|
163
|
+
const requestOptions = await this.labelOptionsRequestOpts(requestParameters);
|
|
164
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
165
|
+
return new runtime.VoidApiResponse(response);
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Enable CORS
|
|
169
|
+
* Label Options
|
|
170
|
+
*/
|
|
171
|
+
async labelOptions(requestParameters, initOverrides) {
|
|
172
|
+
await this.labelOptionsRaw(requestParameters, initOverrides);
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Creates request options for labelsOptions without sending the request
|
|
176
|
+
*/
|
|
177
|
+
async labelsOptionsRequestOpts() {
|
|
178
|
+
const queryParameters = {};
|
|
179
|
+
const headerParameters = {};
|
|
180
|
+
let urlPath = `/v1/labels`;
|
|
181
|
+
return {
|
|
182
|
+
path: urlPath,
|
|
183
|
+
method: 'OPTIONS',
|
|
184
|
+
headers: headerParameters,
|
|
185
|
+
query: queryParameters,
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Enable CORS
|
|
190
|
+
* Labels Options
|
|
191
|
+
*/
|
|
192
|
+
async labelsOptionsRaw(initOverrides) {
|
|
193
|
+
const requestOptions = await this.labelsOptionsRequestOpts();
|
|
194
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
195
|
+
return new runtime.VoidApiResponse(response);
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Enable CORS
|
|
199
|
+
* Labels Options
|
|
200
|
+
*/
|
|
201
|
+
async labelsOptions(initOverrides) {
|
|
202
|
+
await this.labelsOptionsRaw(initOverrides);
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Creates request options for listLabels without sending the request
|
|
206
|
+
*/
|
|
207
|
+
async listLabelsRequestOpts(requestParameters) {
|
|
208
|
+
const queryParameters = {};
|
|
209
|
+
if (requestParameters['filterStatus'] != null) {
|
|
210
|
+
queryParameters['filterStatus'] = requestParameters['filterStatus'];
|
|
211
|
+
}
|
|
212
|
+
if (requestParameters['pageSize'] != null) {
|
|
213
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
214
|
+
}
|
|
215
|
+
const headerParameters = {};
|
|
216
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
217
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
218
|
+
}
|
|
219
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
220
|
+
// oauth required
|
|
221
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
222
|
+
}
|
|
223
|
+
let urlPath = `/v1/labels`;
|
|
224
|
+
return {
|
|
225
|
+
path: urlPath,
|
|
226
|
+
method: 'GET',
|
|
227
|
+
headers: headerParameters,
|
|
228
|
+
query: queryParameters,
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Returns labels visible to the authenticated user: - all tenant-scope labels for the caller\'s tenant - the caller\'s own user-scope labels Archived labels are excluded by default; pass `filterStatus=archived` to include them.
|
|
233
|
+
* List Labels
|
|
234
|
+
*/
|
|
235
|
+
async listLabelsRaw(requestParameters, initOverrides) {
|
|
236
|
+
const requestOptions = await this.listLabelsRequestOpts(requestParameters);
|
|
237
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
238
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.LabelsSchemaFromJSON)(jsonValue));
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Returns labels visible to the authenticated user: - all tenant-scope labels for the caller\'s tenant - the caller\'s own user-scope labels Archived labels are excluded by default; pass `filterStatus=archived` to include them.
|
|
242
|
+
* List Labels
|
|
243
|
+
*/
|
|
244
|
+
async listLabels(requestParameters = {}, initOverrides) {
|
|
245
|
+
const response = await this.listLabelsRaw(requestParameters, initOverrides);
|
|
246
|
+
return await response.value();
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Creates request options for showLabel without sending the request
|
|
250
|
+
*/
|
|
251
|
+
async showLabelRequestOpts(requestParameters) {
|
|
252
|
+
if (requestParameters['labelId'] == null) {
|
|
253
|
+
throw new runtime.RequiredError('labelId', 'Required parameter "labelId" was null or undefined when calling showLabel().');
|
|
254
|
+
}
|
|
255
|
+
const queryParameters = {};
|
|
256
|
+
const headerParameters = {};
|
|
257
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
258
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
259
|
+
}
|
|
260
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
261
|
+
// oauth required
|
|
262
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
263
|
+
}
|
|
264
|
+
let urlPath = `/v1/labels/{labelId}`;
|
|
265
|
+
urlPath = urlPath.replace(`{${"labelId"}}`, encodeURIComponent(String(requestParameters['labelId'])));
|
|
266
|
+
return {
|
|
267
|
+
path: urlPath,
|
|
268
|
+
method: 'GET',
|
|
269
|
+
headers: headerParameters,
|
|
270
|
+
query: queryParameters,
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Show Label
|
|
275
|
+
*/
|
|
276
|
+
async showLabelRaw(requestParameters, initOverrides) {
|
|
277
|
+
const requestOptions = await this.showLabelRequestOpts(requestParameters);
|
|
278
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
279
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.LabelSchemaFromJSON)(jsonValue));
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Show Label
|
|
283
|
+
*/
|
|
284
|
+
async showLabel(requestParameters, initOverrides) {
|
|
285
|
+
const response = await this.showLabelRaw(requestParameters, initOverrides);
|
|
286
|
+
return await response.value();
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* Creates request options for updateLabel without sending the request
|
|
290
|
+
*/
|
|
291
|
+
async updateLabelRequestOpts(requestParameters) {
|
|
292
|
+
if (requestParameters['labelId'] == null) {
|
|
293
|
+
throw new runtime.RequiredError('labelId', 'Required parameter "labelId" was null or undefined when calling updateLabel().');
|
|
294
|
+
}
|
|
295
|
+
if (requestParameters['updateLabelRequestBody'] == null) {
|
|
296
|
+
throw new runtime.RequiredError('updateLabelRequestBody', 'Required parameter "updateLabelRequestBody" was null or undefined when calling updateLabel().');
|
|
297
|
+
}
|
|
298
|
+
const queryParameters = {};
|
|
299
|
+
const headerParameters = {};
|
|
300
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
301
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
302
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
303
|
+
}
|
|
304
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
305
|
+
// oauth required
|
|
306
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
307
|
+
}
|
|
308
|
+
let urlPath = `/v1/labels/{labelId}`;
|
|
309
|
+
urlPath = urlPath.replace(`{${"labelId"}}`, encodeURIComponent(String(requestParameters['labelId'])));
|
|
310
|
+
return {
|
|
311
|
+
path: urlPath,
|
|
312
|
+
method: 'PATCH',
|
|
313
|
+
headers: headerParameters,
|
|
314
|
+
query: queryParameters,
|
|
315
|
+
body: (0, index_1.UpdateLabelRequestBodyToJSON)(requestParameters['updateLabelRequestBody']),
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* Update Label
|
|
320
|
+
*/
|
|
321
|
+
async updateLabelRaw(requestParameters, initOverrides) {
|
|
322
|
+
const requestOptions = await this.updateLabelRequestOpts(requestParameters);
|
|
323
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
324
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.LabelSchemaFromJSON)(jsonValue));
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Update Label
|
|
328
|
+
*/
|
|
329
|
+
async updateLabel(requestParameters, initOverrides) {
|
|
330
|
+
const response = await this.updateLabelRaw(requestParameters, initOverrides);
|
|
331
|
+
return await response.value();
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
exports.LabelsApi = LabelsApi;
|
|
335
|
+
/**
|
|
336
|
+
* @export
|
|
337
|
+
*/
|
|
338
|
+
exports.ListLabelsFilterStatusEnum = {
|
|
339
|
+
Active: 'active',
|
|
340
|
+
Archived: 'archived'
|
|
341
|
+
};
|
|
342
|
+
//# sourceMappingURL=LabelsApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LabelsApi.js","sourceRoot":"","sources":["../../src/apis/LabelsApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,oDAAsC;AAQtC,2CAWyB;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AAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AArXD,8BAqXC;AAED;;GAEG;AACU,QAAA,0BAA0B,GAAG;IACtC,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACd,CAAC"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SmartyMeet Dev03 API REST
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.1
|
|
6
|
+
* Contact: developer@smartymeet.com
|
|
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 { CreateStateRequestBody, StateSchema, StatesSchema, UpdateStateRequestBody } from '../models/index';
|
|
14
|
+
export interface CreateStateRequest {
|
|
15
|
+
createStateRequestBody: CreateStateRequestBody;
|
|
16
|
+
}
|
|
17
|
+
export interface DeleteStateRequest {
|
|
18
|
+
stateId: string;
|
|
19
|
+
}
|
|
20
|
+
export interface ListStatesRequest {
|
|
21
|
+
filterResourceType?: ListStatesFilterResourceTypeEnum;
|
|
22
|
+
filterResourceIds?: string;
|
|
23
|
+
filterIsStarred?: boolean;
|
|
24
|
+
filterIsSeen?: boolean;
|
|
25
|
+
filterIsSpam?: boolean;
|
|
26
|
+
pageSize?: number;
|
|
27
|
+
pageAfter?: string;
|
|
28
|
+
pageBefore?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface ShowStateRequest {
|
|
31
|
+
stateId: string;
|
|
32
|
+
}
|
|
33
|
+
export interface StateOptionsRequest {
|
|
34
|
+
stateId: string;
|
|
35
|
+
}
|
|
36
|
+
export interface UpdateStateRequest {
|
|
37
|
+
stateId: string;
|
|
38
|
+
updateStateRequestBody: UpdateStateRequestBody;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
export declare class StatesApi extends runtime.BaseAPI {
|
|
44
|
+
/**
|
|
45
|
+
* Creates request options for createState without sending the request
|
|
46
|
+
*/
|
|
47
|
+
createStateRequestOpts(requestParameters: CreateStateRequest): Promise<runtime.RequestOpts>;
|
|
48
|
+
/**
|
|
49
|
+
* Idempotent upsert on `(user, resourceType, resourceId)`. Frontend posts the full desired state on every toggle. Sparse GSIs flip atomically.
|
|
50
|
+
* Upsert State
|
|
51
|
+
*/
|
|
52
|
+
createStateRaw(requestParameters: CreateStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StateSchema>>;
|
|
53
|
+
/**
|
|
54
|
+
* Idempotent upsert on `(user, resourceType, resourceId)`. Frontend posts the full desired state on every toggle. Sparse GSIs flip atomically.
|
|
55
|
+
* Upsert State
|
|
56
|
+
*/
|
|
57
|
+
createState(requestParameters: CreateStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StateSchema>;
|
|
58
|
+
/**
|
|
59
|
+
* Creates request options for deleteState without sending the request
|
|
60
|
+
*/
|
|
61
|
+
deleteStateRequestOpts(requestParameters: DeleteStateRequest): Promise<runtime.RequestOpts>;
|
|
62
|
+
/**
|
|
63
|
+
* Hard-delete the state row. Equivalent to resetting the user\'s perception of the resource back to never-seen.
|
|
64
|
+
* Delete State
|
|
65
|
+
*/
|
|
66
|
+
deleteStateRaw(requestParameters: DeleteStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
67
|
+
/**
|
|
68
|
+
* Hard-delete the state row. Equivalent to resetting the user\'s perception of the resource back to never-seen.
|
|
69
|
+
* Delete State
|
|
70
|
+
*/
|
|
71
|
+
deleteState(requestParameters: DeleteStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* Creates request options for listStates without sending the request
|
|
74
|
+
*/
|
|
75
|
+
listStatesRequestOpts(requestParameters: ListStatesRequest): Promise<runtime.RequestOpts>;
|
|
76
|
+
/**
|
|
77
|
+
* Returns the authenticated user\'s per-resource states (seen/starred/flags). Filters: - `filterResourceType=emails` limits to one resource type. - `filterResourceIds=a,b,c` batch-fetches specific resources (requires `filterResourceType`). - `filterIsStarred=true` reads from StarredIndex, oldest-starred-last. - `filterIsSeen=false` reads from UnseenIndex, oldest-unread-first.
|
|
78
|
+
* List States
|
|
79
|
+
*/
|
|
80
|
+
listStatesRaw(requestParameters: ListStatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StatesSchema>>;
|
|
81
|
+
/**
|
|
82
|
+
* Returns the authenticated user\'s per-resource states (seen/starred/flags). Filters: - `filterResourceType=emails` limits to one resource type. - `filterResourceIds=a,b,c` batch-fetches specific resources (requires `filterResourceType`). - `filterIsStarred=true` reads from StarredIndex, oldest-starred-last. - `filterIsSeen=false` reads from UnseenIndex, oldest-unread-first.
|
|
83
|
+
* List States
|
|
84
|
+
*/
|
|
85
|
+
listStates(requestParameters?: ListStatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StatesSchema>;
|
|
86
|
+
/**
|
|
87
|
+
* Creates request options for showState without sending the request
|
|
88
|
+
*/
|
|
89
|
+
showStateRequestOpts(requestParameters: ShowStateRequest): Promise<runtime.RequestOpts>;
|
|
90
|
+
/**
|
|
91
|
+
* Read one state row for the authenticated user.
|
|
92
|
+
* Show State
|
|
93
|
+
*/
|
|
94
|
+
showStateRaw(requestParameters: ShowStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StateSchema>>;
|
|
95
|
+
/**
|
|
96
|
+
* Read one state row for the authenticated user.
|
|
97
|
+
* Show State
|
|
98
|
+
*/
|
|
99
|
+
showState(requestParameters: ShowStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StateSchema>;
|
|
100
|
+
/**
|
|
101
|
+
* Creates request options for stateOptions without sending the request
|
|
102
|
+
*/
|
|
103
|
+
stateOptionsRequestOpts(requestParameters: StateOptionsRequest): Promise<runtime.RequestOpts>;
|
|
104
|
+
/**
|
|
105
|
+
* Enable CORS by returning correct headers
|
|
106
|
+
* State Options
|
|
107
|
+
*/
|
|
108
|
+
stateOptionsRaw(requestParameters: StateOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
109
|
+
/**
|
|
110
|
+
* Enable CORS by returning correct headers
|
|
111
|
+
* State Options
|
|
112
|
+
*/
|
|
113
|
+
stateOptions(requestParameters: StateOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
114
|
+
/**
|
|
115
|
+
* Creates request options for statesOptions without sending the request
|
|
116
|
+
*/
|
|
117
|
+
statesOptionsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
118
|
+
/**
|
|
119
|
+
* Enable CORS by returning correct headers
|
|
120
|
+
* States Options
|
|
121
|
+
*/
|
|
122
|
+
statesOptionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
123
|
+
/**
|
|
124
|
+
* Enable CORS by returning correct headers
|
|
125
|
+
* States Options
|
|
126
|
+
*/
|
|
127
|
+
statesOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
128
|
+
/**
|
|
129
|
+
* Creates request options for updateState without sending the request
|
|
130
|
+
*/
|
|
131
|
+
updateStateRequestOpts(requestParameters: UpdateStateRequest): Promise<runtime.RequestOpts>;
|
|
132
|
+
/**
|
|
133
|
+
* Partial update of a state row. Omitted flags retain their current value.
|
|
134
|
+
* Update State
|
|
135
|
+
*/
|
|
136
|
+
updateStateRaw(requestParameters: UpdateStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StateSchema>>;
|
|
137
|
+
/**
|
|
138
|
+
* Partial update of a state row. Omitted flags retain their current value.
|
|
139
|
+
* Update State
|
|
140
|
+
*/
|
|
141
|
+
updateState(requestParameters: UpdateStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StateSchema>;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* @export
|
|
145
|
+
*/
|
|
146
|
+
export declare const ListStatesFilterResourceTypeEnum: {
|
|
147
|
+
readonly Emails: "emails";
|
|
148
|
+
readonly Candidates: "candidates";
|
|
149
|
+
readonly Conversations: "conversations";
|
|
150
|
+
readonly Jobs: "jobs";
|
|
151
|
+
readonly Talents: "talents";
|
|
152
|
+
readonly Personas: "personas";
|
|
153
|
+
readonly Reports: "reports";
|
|
154
|
+
readonly Tasks: "tasks";
|
|
155
|
+
};
|
|
156
|
+
export type ListStatesFilterResourceTypeEnum = typeof ListStatesFilterResourceTypeEnum[keyof typeof ListStatesFilterResourceTypeEnum];
|
|
157
|
+
//# sourceMappingURL=StatesApi.d.ts.map
|