@caraer/client 2.0.621 → 2.0.622
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/api.ts +113 -4
- package/dist/api.d.ts +70 -6
- package/dist/api.js +76 -0
- package/dist/esm/api.d.ts +70 -6
- package/dist/esm/api.js +76 -0
- package/docs/ApplicationsApi.md +59 -0
- package/docs/ExistingWidgetSummary.md +2 -2
- package/docs/Record.md +2 -2
- package/docs/ShowResponseSubscribeWebhookDTO.md +3 -3
- package/docs/SubscribeWebhookDTO.md +12 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2813,9 +2813,9 @@ export const EventRsvpRequestScopeEnum = {
|
|
|
2813
2813
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2814
2814
|
|
|
2815
2815
|
export interface ExistingWidgetSummary {
|
|
2816
|
-
'yproperty'?: string;
|
|
2817
2816
|
'xproperty'?: string;
|
|
2818
2817
|
'ymetric'?: string;
|
|
2818
|
+
'yproperty'?: string;
|
|
2819
2819
|
'title'?: string;
|
|
2820
2820
|
'chartType'?: string;
|
|
2821
2821
|
'xProperty'?: string;
|
|
@@ -3729,9 +3729,9 @@ export interface ModelRecord {
|
|
|
3729
3729
|
'complete'?: boolean;
|
|
3730
3730
|
'deleted'?: boolean;
|
|
3731
3731
|
'uuid': string;
|
|
3732
|
+
'user'?: PublicUserDTO;
|
|
3732
3733
|
'properties'?: Array<FilledProperty>;
|
|
3733
3734
|
'objects'?: { [key: string]: any | null; };
|
|
3734
|
-
'user'?: PublicUserDTO;
|
|
3735
3735
|
}
|
|
3736
3736
|
export interface MultiFile extends PropertyFormat {
|
|
3737
3737
|
}
|
|
@@ -6501,11 +6501,17 @@ export interface ShowResponseString {
|
|
|
6501
6501
|
'data'?: string;
|
|
6502
6502
|
}
|
|
6503
6503
|
/**
|
|
6504
|
-
*
|
|
6504
|
+
* Represents the response for viewing or showing a specific resource.
|
|
6505
6505
|
*/
|
|
6506
6506
|
export interface ShowResponseSubscribeWebhookDTO {
|
|
6507
|
+
/**
|
|
6508
|
+
* A message detailing the result of the operation.
|
|
6509
|
+
*/
|
|
6507
6510
|
'message'?: string;
|
|
6508
|
-
|
|
6511
|
+
/**
|
|
6512
|
+
* The data payload of the response, if any.
|
|
6513
|
+
*/
|
|
6514
|
+
'data'?: SubscribeWebhookDTO;
|
|
6509
6515
|
}
|
|
6510
6516
|
/**
|
|
6511
6517
|
* Success response (ShowResponseTemplateWebpageDTO).
|
|
@@ -7068,6 +7074,30 @@ export interface SubscribeWebhookDTO {
|
|
|
7068
7074
|
* Internal schedule version incremented when schedule config changes
|
|
7069
7075
|
*/
|
|
7070
7076
|
'scheduleVersion'?: number;
|
|
7077
|
+
/**
|
|
7078
|
+
* Company subscription runtime state
|
|
7079
|
+
*/
|
|
7080
|
+
'deactivated'?: boolean;
|
|
7081
|
+
/**
|
|
7082
|
+
* Company subscription runtime state
|
|
7083
|
+
*/
|
|
7084
|
+
'failureCount'?: number;
|
|
7085
|
+
/**
|
|
7086
|
+
* Company subscription runtime state
|
|
7087
|
+
*/
|
|
7088
|
+
'lastFailureStatus'?: number;
|
|
7089
|
+
/**
|
|
7090
|
+
* Company subscription runtime state
|
|
7091
|
+
*/
|
|
7092
|
+
'lastFailureAt'?: number;
|
|
7093
|
+
/**
|
|
7094
|
+
* Company subscription runtime state
|
|
7095
|
+
*/
|
|
7096
|
+
'deactivatedAt'?: number;
|
|
7097
|
+
/**
|
|
7098
|
+
* Company subscription runtime state
|
|
7099
|
+
*/
|
|
7100
|
+
'deactivationReason'?: string;
|
|
7071
7101
|
/**
|
|
7072
7102
|
* Unique identifier for the entity
|
|
7073
7103
|
*/
|
|
@@ -11345,6 +11375,48 @@ export const ApplicationsApiAxiosParamCreator = function (configuration?: Config
|
|
|
11345
11375
|
options: localVarRequestOptions,
|
|
11346
11376
|
};
|
|
11347
11377
|
},
|
|
11378
|
+
/**
|
|
11379
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
11380
|
+
* @summary Reactivate a company webhook
|
|
11381
|
+
* @param {string} appUuid
|
|
11382
|
+
* @param {string} webhookUuid
|
|
11383
|
+
* @param {*} [options] Override http request option.
|
|
11384
|
+
* @throws {RequiredError}
|
|
11385
|
+
*/
|
|
11386
|
+
reactivateAppWebhook: async (appUuid: string, webhookUuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11387
|
+
// verify required parameter 'appUuid' is not null or undefined
|
|
11388
|
+
assertParamExists('reactivateAppWebhook', 'appUuid', appUuid)
|
|
11389
|
+
// verify required parameter 'webhookUuid' is not null or undefined
|
|
11390
|
+
assertParamExists('reactivateAppWebhook', 'webhookUuid', webhookUuid)
|
|
11391
|
+
const localVarPath = `/api/v2/apps/{appUuid}/webhooks/{webhookUuid}/reactivate`
|
|
11392
|
+
.replace('{appUuid}', encodeURIComponent(String(appUuid)))
|
|
11393
|
+
.replace('{webhookUuid}', encodeURIComponent(String(webhookUuid)));
|
|
11394
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11395
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11396
|
+
let baseOptions;
|
|
11397
|
+
if (configuration) {
|
|
11398
|
+
baseOptions = configuration.baseOptions;
|
|
11399
|
+
}
|
|
11400
|
+
|
|
11401
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11402
|
+
const localVarHeaderParameter = {} as any;
|
|
11403
|
+
const localVarQueryParameter = {} as any;
|
|
11404
|
+
|
|
11405
|
+
// authentication bearerAuth required
|
|
11406
|
+
// http bearer authentication required
|
|
11407
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11408
|
+
|
|
11409
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
11410
|
+
|
|
11411
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11412
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11413
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11414
|
+
|
|
11415
|
+
return {
|
|
11416
|
+
url: toPathString(localVarUrlObj),
|
|
11417
|
+
options: localVarRequestOptions,
|
|
11418
|
+
};
|
|
11419
|
+
},
|
|
11348
11420
|
/**
|
|
11349
11421
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
11350
11422
|
* @summary Review a public app
|
|
@@ -12085,6 +12157,20 @@ export const ApplicationsApiFp = function(configuration?: Configuration) {
|
|
|
12085
12157
|
const localVarOperationServerBasePath = operationServerMap['ApplicationsApi.migrateToV2']?.[localVarOperationServerIndex]?.url;
|
|
12086
12158
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12087
12159
|
},
|
|
12160
|
+
/**
|
|
12161
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
12162
|
+
* @summary Reactivate a company webhook
|
|
12163
|
+
* @param {string} appUuid
|
|
12164
|
+
* @param {string} webhookUuid
|
|
12165
|
+
* @param {*} [options] Override http request option.
|
|
12166
|
+
* @throws {RequiredError}
|
|
12167
|
+
*/
|
|
12168
|
+
async reactivateAppWebhook(appUuid: string, webhookUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseSubscribeWebhookDTO>> {
|
|
12169
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reactivateAppWebhook(appUuid, webhookUuid, options);
|
|
12170
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12171
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationsApi.reactivateAppWebhook']?.[localVarOperationServerIndex]?.url;
|
|
12172
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12173
|
+
},
|
|
12088
12174
|
/**
|
|
12089
12175
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
12090
12176
|
* @summary Review a public app
|
|
@@ -12470,6 +12556,17 @@ export const ApplicationsApiFactory = function (configuration?: Configuration, b
|
|
|
12470
12556
|
migrateToV2(uuid: string, migrateAppToV2Request?: MigrateAppToV2Request, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseMapStringObject> {
|
|
12471
12557
|
return localVarFp.migrateToV2(uuid, migrateAppToV2Request, options).then((request) => request(axios, basePath));
|
|
12472
12558
|
},
|
|
12559
|
+
/**
|
|
12560
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
12561
|
+
* @summary Reactivate a company webhook
|
|
12562
|
+
* @param {string} appUuid
|
|
12563
|
+
* @param {string} webhookUuid
|
|
12564
|
+
* @param {*} [options] Override http request option.
|
|
12565
|
+
* @throws {RequiredError}
|
|
12566
|
+
*/
|
|
12567
|
+
reactivateAppWebhook(appUuid: string, webhookUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseSubscribeWebhookDTO> {
|
|
12568
|
+
return localVarFp.reactivateAppWebhook(appUuid, webhookUuid, options).then((request) => request(axios, basePath));
|
|
12569
|
+
},
|
|
12473
12570
|
/**
|
|
12474
12571
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
12475
12572
|
* @summary Review a public app
|
|
@@ -12845,6 +12942,18 @@ export class ApplicationsApi extends BaseAPI {
|
|
|
12845
12942
|
return ApplicationsApiFp(this.configuration).migrateToV2(uuid, migrateAppToV2Request, options).then((request) => request(this.axios, this.basePath));
|
|
12846
12943
|
}
|
|
12847
12944
|
|
|
12945
|
+
/**
|
|
12946
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
12947
|
+
* @summary Reactivate a company webhook
|
|
12948
|
+
* @param {string} appUuid
|
|
12949
|
+
* @param {string} webhookUuid
|
|
12950
|
+
* @param {*} [options] Override http request option.
|
|
12951
|
+
* @throws {RequiredError}
|
|
12952
|
+
*/
|
|
12953
|
+
public reactivateAppWebhook(appUuid: string, webhookUuid: string, options?: RawAxiosRequestConfig) {
|
|
12954
|
+
return ApplicationsApiFp(this.configuration).reactivateAppWebhook(appUuid, webhookUuid, options).then((request) => request(this.axios, this.basePath));
|
|
12955
|
+
}
|
|
12956
|
+
|
|
12848
12957
|
/**
|
|
12849
12958
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
12850
12959
|
* @summary Review a public app
|
package/dist/api.d.ts
CHANGED
|
@@ -2806,9 +2806,9 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2806
2806
|
};
|
|
2807
2807
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2808
2808
|
export interface ExistingWidgetSummary {
|
|
2809
|
-
'yproperty'?: string;
|
|
2810
2809
|
'xproperty'?: string;
|
|
2811
2810
|
'ymetric'?: string;
|
|
2811
|
+
'yproperty'?: string;
|
|
2812
2812
|
'title'?: string;
|
|
2813
2813
|
'chartType'?: string;
|
|
2814
2814
|
'xProperty'?: string;
|
|
@@ -3740,11 +3740,11 @@ export interface ModelRecord {
|
|
|
3740
3740
|
'complete'?: boolean;
|
|
3741
3741
|
'deleted'?: boolean;
|
|
3742
3742
|
'uuid': string;
|
|
3743
|
+
'user'?: PublicUserDTO;
|
|
3743
3744
|
'properties'?: Array<FilledProperty>;
|
|
3744
3745
|
'objects'?: {
|
|
3745
3746
|
[key: string]: any | null;
|
|
3746
3747
|
};
|
|
3747
|
-
'user'?: PublicUserDTO;
|
|
3748
3748
|
}
|
|
3749
3749
|
export interface MultiFile extends PropertyFormat {
|
|
3750
3750
|
}
|
|
@@ -6593,13 +6593,17 @@ export interface ShowResponseString {
|
|
|
6593
6593
|
'data'?: string;
|
|
6594
6594
|
}
|
|
6595
6595
|
/**
|
|
6596
|
-
*
|
|
6596
|
+
* Represents the response for viewing or showing a specific resource.
|
|
6597
6597
|
*/
|
|
6598
6598
|
export interface ShowResponseSubscribeWebhookDTO {
|
|
6599
|
+
/**
|
|
6600
|
+
* A message detailing the result of the operation.
|
|
6601
|
+
*/
|
|
6599
6602
|
'message'?: string;
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
+
/**
|
|
6604
|
+
* The data payload of the response, if any.
|
|
6605
|
+
*/
|
|
6606
|
+
'data'?: SubscribeWebhookDTO;
|
|
6603
6607
|
}
|
|
6604
6608
|
/**
|
|
6605
6609
|
* Success response (ShowResponseTemplateWebpageDTO).
|
|
@@ -7169,6 +7173,30 @@ export interface SubscribeWebhookDTO {
|
|
|
7169
7173
|
* Internal schedule version incremented when schedule config changes
|
|
7170
7174
|
*/
|
|
7171
7175
|
'scheduleVersion'?: number;
|
|
7176
|
+
/**
|
|
7177
|
+
* Company subscription runtime state
|
|
7178
|
+
*/
|
|
7179
|
+
'deactivated'?: boolean;
|
|
7180
|
+
/**
|
|
7181
|
+
* Company subscription runtime state
|
|
7182
|
+
*/
|
|
7183
|
+
'failureCount'?: number;
|
|
7184
|
+
/**
|
|
7185
|
+
* Company subscription runtime state
|
|
7186
|
+
*/
|
|
7187
|
+
'lastFailureStatus'?: number;
|
|
7188
|
+
/**
|
|
7189
|
+
* Company subscription runtime state
|
|
7190
|
+
*/
|
|
7191
|
+
'lastFailureAt'?: number;
|
|
7192
|
+
/**
|
|
7193
|
+
* Company subscription runtime state
|
|
7194
|
+
*/
|
|
7195
|
+
'deactivatedAt'?: number;
|
|
7196
|
+
/**
|
|
7197
|
+
* Company subscription runtime state
|
|
7198
|
+
*/
|
|
7199
|
+
'deactivationReason'?: string;
|
|
7172
7200
|
/**
|
|
7173
7201
|
* Unique identifier for the entity
|
|
7174
7202
|
*/
|
|
@@ -9734,6 +9762,15 @@ export declare const ApplicationsApiAxiosParamCreator: (configuration?: Configur
|
|
|
9734
9762
|
* @throws {RequiredError}
|
|
9735
9763
|
*/
|
|
9736
9764
|
migrateToV2: (uuid: string, migrateAppToV2Request?: MigrateAppToV2Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9765
|
+
/**
|
|
9766
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
9767
|
+
* @summary Reactivate a company webhook
|
|
9768
|
+
* @param {string} appUuid
|
|
9769
|
+
* @param {string} webhookUuid
|
|
9770
|
+
* @param {*} [options] Override http request option.
|
|
9771
|
+
* @throws {RequiredError}
|
|
9772
|
+
*/
|
|
9773
|
+
reactivateAppWebhook: (appUuid: string, webhookUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9737
9774
|
/**
|
|
9738
9775
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
9739
9776
|
* @summary Review a public app
|
|
@@ -10027,6 +10064,15 @@ export declare const ApplicationsApiFp: (configuration?: Configuration) => {
|
|
|
10027
10064
|
* @throws {RequiredError}
|
|
10028
10065
|
*/
|
|
10029
10066
|
migrateToV2(uuid: string, migrateAppToV2Request?: MigrateAppToV2Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseMapStringObject>>;
|
|
10067
|
+
/**
|
|
10068
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
10069
|
+
* @summary Reactivate a company webhook
|
|
10070
|
+
* @param {string} appUuid
|
|
10071
|
+
* @param {string} webhookUuid
|
|
10072
|
+
* @param {*} [options] Override http request option.
|
|
10073
|
+
* @throws {RequiredError}
|
|
10074
|
+
*/
|
|
10075
|
+
reactivateAppWebhook(appUuid: string, webhookUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseSubscribeWebhookDTO>>;
|
|
10030
10076
|
/**
|
|
10031
10077
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
10032
10078
|
* @summary Review a public app
|
|
@@ -10320,6 +10366,15 @@ export declare const ApplicationsApiFactory: (configuration?: Configuration, bas
|
|
|
10320
10366
|
* @throws {RequiredError}
|
|
10321
10367
|
*/
|
|
10322
10368
|
migrateToV2(uuid: string, migrateAppToV2Request?: MigrateAppToV2Request, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseMapStringObject>;
|
|
10369
|
+
/**
|
|
10370
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
10371
|
+
* @summary Reactivate a company webhook
|
|
10372
|
+
* @param {string} appUuid
|
|
10373
|
+
* @param {string} webhookUuid
|
|
10374
|
+
* @param {*} [options] Override http request option.
|
|
10375
|
+
* @throws {RequiredError}
|
|
10376
|
+
*/
|
|
10377
|
+
reactivateAppWebhook(appUuid: string, webhookUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseSubscribeWebhookDTO>;
|
|
10323
10378
|
/**
|
|
10324
10379
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
10325
10380
|
* @summary Review a public app
|
|
@@ -10613,6 +10668,15 @@ export declare class ApplicationsApi extends BaseAPI {
|
|
|
10613
10668
|
* @throws {RequiredError}
|
|
10614
10669
|
*/
|
|
10615
10670
|
migrateToV2(uuid: string, migrateAppToV2Request?: MigrateAppToV2Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseMapStringObject, any, {}>>;
|
|
10671
|
+
/**
|
|
10672
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
10673
|
+
* @summary Reactivate a company webhook
|
|
10674
|
+
* @param {string} appUuid
|
|
10675
|
+
* @param {string} webhookUuid
|
|
10676
|
+
* @param {*} [options] Override http request option.
|
|
10677
|
+
* @throws {RequiredError}
|
|
10678
|
+
*/
|
|
10679
|
+
reactivateAppWebhook(appUuid: string, webhookUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseSubscribeWebhookDTO, any, {}>>;
|
|
10616
10680
|
/**
|
|
10617
10681
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
10618
10682
|
* @summary Review a public app
|
package/dist/api.js
CHANGED
|
@@ -2816,6 +2816,43 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
2816
2816
|
options: localVarRequestOptions,
|
|
2817
2817
|
};
|
|
2818
2818
|
}),
|
|
2819
|
+
/**
|
|
2820
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
2821
|
+
* @summary Reactivate a company webhook
|
|
2822
|
+
* @param {string} appUuid
|
|
2823
|
+
* @param {string} webhookUuid
|
|
2824
|
+
* @param {*} [options] Override http request option.
|
|
2825
|
+
* @throws {RequiredError}
|
|
2826
|
+
*/
|
|
2827
|
+
reactivateAppWebhook: (appUuid_1, webhookUuid_1, ...args_1) => __awaiter(this, [appUuid_1, webhookUuid_1, ...args_1], void 0, function* (appUuid, webhookUuid, options = {}) {
|
|
2828
|
+
// verify required parameter 'appUuid' is not null or undefined
|
|
2829
|
+
(0, common_1.assertParamExists)('reactivateAppWebhook', 'appUuid', appUuid);
|
|
2830
|
+
// verify required parameter 'webhookUuid' is not null or undefined
|
|
2831
|
+
(0, common_1.assertParamExists)('reactivateAppWebhook', 'webhookUuid', webhookUuid);
|
|
2832
|
+
const localVarPath = `/api/v2/apps/{appUuid}/webhooks/{webhookUuid}/reactivate`
|
|
2833
|
+
.replace('{appUuid}', encodeURIComponent(String(appUuid)))
|
|
2834
|
+
.replace('{webhookUuid}', encodeURIComponent(String(webhookUuid)));
|
|
2835
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2836
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2837
|
+
let baseOptions;
|
|
2838
|
+
if (configuration) {
|
|
2839
|
+
baseOptions = configuration.baseOptions;
|
|
2840
|
+
}
|
|
2841
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2842
|
+
const localVarHeaderParameter = {};
|
|
2843
|
+
const localVarQueryParameter = {};
|
|
2844
|
+
// authentication bearerAuth required
|
|
2845
|
+
// http bearer authentication required
|
|
2846
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2847
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2848
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2849
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2850
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2851
|
+
return {
|
|
2852
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2853
|
+
options: localVarRequestOptions,
|
|
2854
|
+
};
|
|
2855
|
+
}),
|
|
2819
2856
|
/**
|
|
2820
2857
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
2821
2858
|
* @summary Review a public app
|
|
@@ -3571,6 +3608,23 @@ const ApplicationsApiFp = function (configuration) {
|
|
|
3571
3608
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3572
3609
|
});
|
|
3573
3610
|
},
|
|
3611
|
+
/**
|
|
3612
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
3613
|
+
* @summary Reactivate a company webhook
|
|
3614
|
+
* @param {string} appUuid
|
|
3615
|
+
* @param {string} webhookUuid
|
|
3616
|
+
* @param {*} [options] Override http request option.
|
|
3617
|
+
* @throws {RequiredError}
|
|
3618
|
+
*/
|
|
3619
|
+
reactivateAppWebhook(appUuid, webhookUuid, options) {
|
|
3620
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3621
|
+
var _a, _b, _c;
|
|
3622
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.reactivateAppWebhook(appUuid, webhookUuid, options);
|
|
3623
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3624
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ApplicationsApi.reactivateAppWebhook']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3625
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3626
|
+
});
|
|
3627
|
+
},
|
|
3574
3628
|
/**
|
|
3575
3629
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
3576
3630
|
* @summary Review a public app
|
|
@@ -3986,6 +4040,17 @@ const ApplicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
3986
4040
|
migrateToV2(uuid, migrateAppToV2Request, options) {
|
|
3987
4041
|
return localVarFp.migrateToV2(uuid, migrateAppToV2Request, options).then((request) => request(axios, basePath));
|
|
3988
4042
|
},
|
|
4043
|
+
/**
|
|
4044
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
4045
|
+
* @summary Reactivate a company webhook
|
|
4046
|
+
* @param {string} appUuid
|
|
4047
|
+
* @param {string} webhookUuid
|
|
4048
|
+
* @param {*} [options] Override http request option.
|
|
4049
|
+
* @throws {RequiredError}
|
|
4050
|
+
*/
|
|
4051
|
+
reactivateAppWebhook(appUuid, webhookUuid, options) {
|
|
4052
|
+
return localVarFp.reactivateAppWebhook(appUuid, webhookUuid, options).then((request) => request(axios, basePath));
|
|
4053
|
+
},
|
|
3989
4054
|
/**
|
|
3990
4055
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
3991
4056
|
* @summary Review a public app
|
|
@@ -4339,6 +4404,17 @@ class ApplicationsApi extends base_1.BaseAPI {
|
|
|
4339
4404
|
migrateToV2(uuid, migrateAppToV2Request, options) {
|
|
4340
4405
|
return (0, exports.ApplicationsApiFp)(this.configuration).migrateToV2(uuid, migrateAppToV2Request, options).then((request) => request(this.axios, this.basePath));
|
|
4341
4406
|
}
|
|
4407
|
+
/**
|
|
4408
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
4409
|
+
* @summary Reactivate a company webhook
|
|
4410
|
+
* @param {string} appUuid
|
|
4411
|
+
* @param {string} webhookUuid
|
|
4412
|
+
* @param {*} [options] Override http request option.
|
|
4413
|
+
* @throws {RequiredError}
|
|
4414
|
+
*/
|
|
4415
|
+
reactivateAppWebhook(appUuid, webhookUuid, options) {
|
|
4416
|
+
return (0, exports.ApplicationsApiFp)(this.configuration).reactivateAppWebhook(appUuid, webhookUuid, options).then((request) => request(this.axios, this.basePath));
|
|
4417
|
+
}
|
|
4342
4418
|
/**
|
|
4343
4419
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
4344
4420
|
* @summary Review a public app
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2806,9 +2806,9 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2806
2806
|
};
|
|
2807
2807
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2808
2808
|
export interface ExistingWidgetSummary {
|
|
2809
|
-
'yproperty'?: string;
|
|
2810
2809
|
'xproperty'?: string;
|
|
2811
2810
|
'ymetric'?: string;
|
|
2811
|
+
'yproperty'?: string;
|
|
2812
2812
|
'title'?: string;
|
|
2813
2813
|
'chartType'?: string;
|
|
2814
2814
|
'xProperty'?: string;
|
|
@@ -3740,11 +3740,11 @@ export interface ModelRecord {
|
|
|
3740
3740
|
'complete'?: boolean;
|
|
3741
3741
|
'deleted'?: boolean;
|
|
3742
3742
|
'uuid': string;
|
|
3743
|
+
'user'?: PublicUserDTO;
|
|
3743
3744
|
'properties'?: Array<FilledProperty>;
|
|
3744
3745
|
'objects'?: {
|
|
3745
3746
|
[key: string]: any | null;
|
|
3746
3747
|
};
|
|
3747
|
-
'user'?: PublicUserDTO;
|
|
3748
3748
|
}
|
|
3749
3749
|
export interface MultiFile extends PropertyFormat {
|
|
3750
3750
|
}
|
|
@@ -6593,13 +6593,17 @@ export interface ShowResponseString {
|
|
|
6593
6593
|
'data'?: string;
|
|
6594
6594
|
}
|
|
6595
6595
|
/**
|
|
6596
|
-
*
|
|
6596
|
+
* Represents the response for viewing or showing a specific resource.
|
|
6597
6597
|
*/
|
|
6598
6598
|
export interface ShowResponseSubscribeWebhookDTO {
|
|
6599
|
+
/**
|
|
6600
|
+
* A message detailing the result of the operation.
|
|
6601
|
+
*/
|
|
6599
6602
|
'message'?: string;
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
+
/**
|
|
6604
|
+
* The data payload of the response, if any.
|
|
6605
|
+
*/
|
|
6606
|
+
'data'?: SubscribeWebhookDTO;
|
|
6603
6607
|
}
|
|
6604
6608
|
/**
|
|
6605
6609
|
* Success response (ShowResponseTemplateWebpageDTO).
|
|
@@ -7169,6 +7173,30 @@ export interface SubscribeWebhookDTO {
|
|
|
7169
7173
|
* Internal schedule version incremented when schedule config changes
|
|
7170
7174
|
*/
|
|
7171
7175
|
'scheduleVersion'?: number;
|
|
7176
|
+
/**
|
|
7177
|
+
* Company subscription runtime state
|
|
7178
|
+
*/
|
|
7179
|
+
'deactivated'?: boolean;
|
|
7180
|
+
/**
|
|
7181
|
+
* Company subscription runtime state
|
|
7182
|
+
*/
|
|
7183
|
+
'failureCount'?: number;
|
|
7184
|
+
/**
|
|
7185
|
+
* Company subscription runtime state
|
|
7186
|
+
*/
|
|
7187
|
+
'lastFailureStatus'?: number;
|
|
7188
|
+
/**
|
|
7189
|
+
* Company subscription runtime state
|
|
7190
|
+
*/
|
|
7191
|
+
'lastFailureAt'?: number;
|
|
7192
|
+
/**
|
|
7193
|
+
* Company subscription runtime state
|
|
7194
|
+
*/
|
|
7195
|
+
'deactivatedAt'?: number;
|
|
7196
|
+
/**
|
|
7197
|
+
* Company subscription runtime state
|
|
7198
|
+
*/
|
|
7199
|
+
'deactivationReason'?: string;
|
|
7172
7200
|
/**
|
|
7173
7201
|
* Unique identifier for the entity
|
|
7174
7202
|
*/
|
|
@@ -9734,6 +9762,15 @@ export declare const ApplicationsApiAxiosParamCreator: (configuration?: Configur
|
|
|
9734
9762
|
* @throws {RequiredError}
|
|
9735
9763
|
*/
|
|
9736
9764
|
migrateToV2: (uuid: string, migrateAppToV2Request?: MigrateAppToV2Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9765
|
+
/**
|
|
9766
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
9767
|
+
* @summary Reactivate a company webhook
|
|
9768
|
+
* @param {string} appUuid
|
|
9769
|
+
* @param {string} webhookUuid
|
|
9770
|
+
* @param {*} [options] Override http request option.
|
|
9771
|
+
* @throws {RequiredError}
|
|
9772
|
+
*/
|
|
9773
|
+
reactivateAppWebhook: (appUuid: string, webhookUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9737
9774
|
/**
|
|
9738
9775
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
9739
9776
|
* @summary Review a public app
|
|
@@ -10027,6 +10064,15 @@ export declare const ApplicationsApiFp: (configuration?: Configuration) => {
|
|
|
10027
10064
|
* @throws {RequiredError}
|
|
10028
10065
|
*/
|
|
10029
10066
|
migrateToV2(uuid: string, migrateAppToV2Request?: MigrateAppToV2Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessResponseMapStringObject>>;
|
|
10067
|
+
/**
|
|
10068
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
10069
|
+
* @summary Reactivate a company webhook
|
|
10070
|
+
* @param {string} appUuid
|
|
10071
|
+
* @param {string} webhookUuid
|
|
10072
|
+
* @param {*} [options] Override http request option.
|
|
10073
|
+
* @throws {RequiredError}
|
|
10074
|
+
*/
|
|
10075
|
+
reactivateAppWebhook(appUuid: string, webhookUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseSubscribeWebhookDTO>>;
|
|
10030
10076
|
/**
|
|
10031
10077
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
10032
10078
|
* @summary Review a public app
|
|
@@ -10320,6 +10366,15 @@ export declare const ApplicationsApiFactory: (configuration?: Configuration, bas
|
|
|
10320
10366
|
* @throws {RequiredError}
|
|
10321
10367
|
*/
|
|
10322
10368
|
migrateToV2(uuid: string, migrateAppToV2Request?: MigrateAppToV2Request, options?: RawAxiosRequestConfig): AxiosPromise<SuccessResponseMapStringObject>;
|
|
10369
|
+
/**
|
|
10370
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
10371
|
+
* @summary Reactivate a company webhook
|
|
10372
|
+
* @param {string} appUuid
|
|
10373
|
+
* @param {string} webhookUuid
|
|
10374
|
+
* @param {*} [options] Override http request option.
|
|
10375
|
+
* @throws {RequiredError}
|
|
10376
|
+
*/
|
|
10377
|
+
reactivateAppWebhook(appUuid: string, webhookUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseSubscribeWebhookDTO>;
|
|
10323
10378
|
/**
|
|
10324
10379
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
10325
10380
|
* @summary Review a public app
|
|
@@ -10613,6 +10668,15 @@ export declare class ApplicationsApi extends BaseAPI {
|
|
|
10613
10668
|
* @throws {RequiredError}
|
|
10614
10669
|
*/
|
|
10615
10670
|
migrateToV2(uuid: string, migrateAppToV2Request?: MigrateAppToV2Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessResponseMapStringObject, any, {}>>;
|
|
10671
|
+
/**
|
|
10672
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
10673
|
+
* @summary Reactivate a company webhook
|
|
10674
|
+
* @param {string} appUuid
|
|
10675
|
+
* @param {string} webhookUuid
|
|
10676
|
+
* @param {*} [options] Override http request option.
|
|
10677
|
+
* @throws {RequiredError}
|
|
10678
|
+
*/
|
|
10679
|
+
reactivateAppWebhook(appUuid: string, webhookUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseSubscribeWebhookDTO, any, {}>>;
|
|
10616
10680
|
/**
|
|
10617
10681
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
10618
10682
|
* @summary Review a public app
|
package/dist/esm/api.js
CHANGED
|
@@ -2798,6 +2798,43 @@ export const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
2798
2798
|
options: localVarRequestOptions,
|
|
2799
2799
|
};
|
|
2800
2800
|
}),
|
|
2801
|
+
/**
|
|
2802
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
2803
|
+
* @summary Reactivate a company webhook
|
|
2804
|
+
* @param {string} appUuid
|
|
2805
|
+
* @param {string} webhookUuid
|
|
2806
|
+
* @param {*} [options] Override http request option.
|
|
2807
|
+
* @throws {RequiredError}
|
|
2808
|
+
*/
|
|
2809
|
+
reactivateAppWebhook: (appUuid_1, webhookUuid_1, ...args_1) => __awaiter(this, [appUuid_1, webhookUuid_1, ...args_1], void 0, function* (appUuid, webhookUuid, options = {}) {
|
|
2810
|
+
// verify required parameter 'appUuid' is not null or undefined
|
|
2811
|
+
assertParamExists('reactivateAppWebhook', 'appUuid', appUuid);
|
|
2812
|
+
// verify required parameter 'webhookUuid' is not null or undefined
|
|
2813
|
+
assertParamExists('reactivateAppWebhook', 'webhookUuid', webhookUuid);
|
|
2814
|
+
const localVarPath = `/api/v2/apps/{appUuid}/webhooks/{webhookUuid}/reactivate`
|
|
2815
|
+
.replace('{appUuid}', encodeURIComponent(String(appUuid)))
|
|
2816
|
+
.replace('{webhookUuid}', encodeURIComponent(String(webhookUuid)));
|
|
2817
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2818
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2819
|
+
let baseOptions;
|
|
2820
|
+
if (configuration) {
|
|
2821
|
+
baseOptions = configuration.baseOptions;
|
|
2822
|
+
}
|
|
2823
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2824
|
+
const localVarHeaderParameter = {};
|
|
2825
|
+
const localVarQueryParameter = {};
|
|
2826
|
+
// authentication bearerAuth required
|
|
2827
|
+
// http bearer authentication required
|
|
2828
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2829
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2830
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2831
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2832
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2833
|
+
return {
|
|
2834
|
+
url: toPathString(localVarUrlObj),
|
|
2835
|
+
options: localVarRequestOptions,
|
|
2836
|
+
};
|
|
2837
|
+
}),
|
|
2801
2838
|
/**
|
|
2802
2839
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
2803
2840
|
* @summary Review a public app
|
|
@@ -3552,6 +3589,23 @@ export const ApplicationsApiFp = function (configuration) {
|
|
|
3552
3589
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3553
3590
|
});
|
|
3554
3591
|
},
|
|
3592
|
+
/**
|
|
3593
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
3594
|
+
* @summary Reactivate a company webhook
|
|
3595
|
+
* @param {string} appUuid
|
|
3596
|
+
* @param {string} webhookUuid
|
|
3597
|
+
* @param {*} [options] Override http request option.
|
|
3598
|
+
* @throws {RequiredError}
|
|
3599
|
+
*/
|
|
3600
|
+
reactivateAppWebhook(appUuid, webhookUuid, options) {
|
|
3601
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3602
|
+
var _a, _b, _c;
|
|
3603
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.reactivateAppWebhook(appUuid, webhookUuid, options);
|
|
3604
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3605
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ApplicationsApi.reactivateAppWebhook']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3606
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3607
|
+
});
|
|
3608
|
+
},
|
|
3555
3609
|
/**
|
|
3556
3610
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
3557
3611
|
* @summary Review a public app
|
|
@@ -3966,6 +4020,17 @@ export const ApplicationsApiFactory = function (configuration, basePath, axios)
|
|
|
3966
4020
|
migrateToV2(uuid, migrateAppToV2Request, options) {
|
|
3967
4021
|
return localVarFp.migrateToV2(uuid, migrateAppToV2Request, options).then((request) => request(axios, basePath));
|
|
3968
4022
|
},
|
|
4023
|
+
/**
|
|
4024
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
4025
|
+
* @summary Reactivate a company webhook
|
|
4026
|
+
* @param {string} appUuid
|
|
4027
|
+
* @param {string} webhookUuid
|
|
4028
|
+
* @param {*} [options] Override http request option.
|
|
4029
|
+
* @throws {RequiredError}
|
|
4030
|
+
*/
|
|
4031
|
+
reactivateAppWebhook(appUuid, webhookUuid, options) {
|
|
4032
|
+
return localVarFp.reactivateAppWebhook(appUuid, webhookUuid, options).then((request) => request(axios, basePath));
|
|
4033
|
+
},
|
|
3969
4034
|
/**
|
|
3970
4035
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
3971
4036
|
* @summary Review a public app
|
|
@@ -4318,6 +4383,17 @@ export class ApplicationsApi extends BaseAPI {
|
|
|
4318
4383
|
migrateToV2(uuid, migrateAppToV2Request, options) {
|
|
4319
4384
|
return ApplicationsApiFp(this.configuration).migrateToV2(uuid, migrateAppToV2Request, options).then((request) => request(this.axios, this.basePath));
|
|
4320
4385
|
}
|
|
4386
|
+
/**
|
|
4387
|
+
* Resumes future events for only the selected company and resets its failure counter.
|
|
4388
|
+
* @summary Reactivate a company webhook
|
|
4389
|
+
* @param {string} appUuid
|
|
4390
|
+
* @param {string} webhookUuid
|
|
4391
|
+
* @param {*} [options] Override http request option.
|
|
4392
|
+
* @throws {RequiredError}
|
|
4393
|
+
*/
|
|
4394
|
+
reactivateAppWebhook(appUuid, webhookUuid, options) {
|
|
4395
|
+
return ApplicationsApiFp(this.configuration).reactivateAppWebhook(appUuid, webhookUuid, options).then((request) => request(this.axios, this.basePath));
|
|
4396
|
+
}
|
|
4321
4397
|
/**
|
|
4322
4398
|
* Sets review outcome (approve/reject/changes requested), feedback, and optional reviewer notes. Returns the updated app details as a ShowResponse wrapping an AppDTO.
|
|
4323
4399
|
* @summary Review a public app
|
package/docs/ApplicationsApi.md
CHANGED
|
@@ -26,6 +26,7 @@ All URIs are relative to *https://v2.api.caraer.com*
|
|
|
26
26
|
|[**listAvailableAppCategories**](#listavailableappcategories) | **GET** /api/v2/apps/categories/available | List available app categories|
|
|
27
27
|
|[**loadSettingOptions**](#loadsettingoptions) | **POST** /api/v2/apps/{uuid}/settings-schema/options | Load dynamic options for a setting select field|
|
|
28
28
|
|[**migrateToV2**](#migratetov2) | **POST** /api/v2/apps/{uuid}/migrate-v2 | Migrate an app from platform V1 to V2|
|
|
29
|
+
|[**reactivateAppWebhook**](#reactivateappwebhook) | **POST** /api/v2/apps/{appUuid}/webhooks/{webhookUuid}/reactivate | Reactivate a company webhook|
|
|
29
30
|
|[**reviewPublicApp**](#reviewpublicapp) | **POST** /api/v2/apps/public/{uuid}/review | Review a public app|
|
|
30
31
|
|[**rotateApp**](#rotateapp) | **POST** /api/v2/apps/{uuid}/rotate | Rotate application configurations|
|
|
31
32
|
|[**streamRuntimeLogs**](#streamruntimelogs) | **GET** /api/v2/apps/{appUuid}/runtime/logs/stream | Stream app runtime logs (SSE)|
|
|
@@ -1307,6 +1308,64 @@ const { status, data } = await apiInstance.migrateToV2(
|
|
|
1307
1308
|
|
|
1308
1309
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1309
1310
|
|
|
1311
|
+
# **reactivateAppWebhook**
|
|
1312
|
+
> ShowResponseSubscribeWebhookDTO reactivateAppWebhook()
|
|
1313
|
+
|
|
1314
|
+
Resumes future events for only the selected company and resets its failure counter.
|
|
1315
|
+
|
|
1316
|
+
### Example
|
|
1317
|
+
|
|
1318
|
+
```typescript
|
|
1319
|
+
import {
|
|
1320
|
+
ApplicationsApi,
|
|
1321
|
+
Configuration
|
|
1322
|
+
} from '@caraer/client';
|
|
1323
|
+
|
|
1324
|
+
const configuration = new Configuration();
|
|
1325
|
+
const apiInstance = new ApplicationsApi(configuration);
|
|
1326
|
+
|
|
1327
|
+
let appUuid: string; // (default to undefined)
|
|
1328
|
+
let webhookUuid: string; // (default to undefined)
|
|
1329
|
+
|
|
1330
|
+
const { status, data } = await apiInstance.reactivateAppWebhook(
|
|
1331
|
+
appUuid,
|
|
1332
|
+
webhookUuid
|
|
1333
|
+
);
|
|
1334
|
+
```
|
|
1335
|
+
|
|
1336
|
+
### Parameters
|
|
1337
|
+
|
|
1338
|
+
|Name | Type | Description | Notes|
|
|
1339
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1340
|
+
| **appUuid** | [**string**] | | defaults to undefined|
|
|
1341
|
+
| **webhookUuid** | [**string**] | | defaults to undefined|
|
|
1342
|
+
|
|
1343
|
+
|
|
1344
|
+
### Return type
|
|
1345
|
+
|
|
1346
|
+
**ShowResponseSubscribeWebhookDTO**
|
|
1347
|
+
|
|
1348
|
+
### Authorization
|
|
1349
|
+
|
|
1350
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1351
|
+
|
|
1352
|
+
### HTTP request headers
|
|
1353
|
+
|
|
1354
|
+
- **Content-Type**: Not defined
|
|
1355
|
+
- **Accept**: application/json
|
|
1356
|
+
|
|
1357
|
+
|
|
1358
|
+
### HTTP response details
|
|
1359
|
+
| Status code | Description | Response headers |
|
|
1360
|
+
|-------------|-------------|------------------|
|
|
1361
|
+
|**200** | OK | - |
|
|
1362
|
+
|**401** | Authentication is required or the token is invalid. | - |
|
|
1363
|
+
|**403** | The caller is missing a required role or scope. | - |
|
|
1364
|
+
|**404** | The requested resource was not found. | - |
|
|
1365
|
+
|**500** | An internal server error occurred. | - |
|
|
1366
|
+
|
|
1367
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1368
|
+
|
|
1310
1369
|
# **reviewPublicApp**
|
|
1311
1370
|
> ShowResponseAppDTO reviewPublicApp(reviewRequest)
|
|
1312
1371
|
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**yproperty** | **string** | | [optional] [default to undefined]
|
|
9
8
|
**xproperty** | **string** | | [optional] [default to undefined]
|
|
10
9
|
**ymetric** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**yproperty** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**title** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**chartType** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**xProperty** | **string** | | [optional] [default to undefined]
|
|
@@ -20,9 +20,9 @@ Name | Type | Description | Notes
|
|
|
20
20
|
import { ExistingWidgetSummary } from '@caraer/client';
|
|
21
21
|
|
|
22
22
|
const instance: ExistingWidgetSummary = {
|
|
23
|
-
yproperty,
|
|
24
23
|
xproperty,
|
|
25
24
|
ymetric,
|
|
25
|
+
yproperty,
|
|
26
26
|
title,
|
|
27
27
|
chartType,
|
|
28
28
|
xProperty,
|
package/docs/Record.md
CHANGED
|
@@ -17,9 +17,9 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**complete** | **boolean** | | [optional] [default to undefined]
|
|
18
18
|
**deleted** | **boolean** | | [optional] [default to undefined]
|
|
19
19
|
**uuid** | **string** | | [default to undefined]
|
|
20
|
+
**user** | [**PublicUserDTO**](PublicUserDTO.md) | | [optional] [default to undefined]
|
|
20
21
|
**properties** | [**Array<FilledProperty>**](FilledProperty.md) | | [optional] [default to undefined]
|
|
21
22
|
**objects** | **{ [key: string]: any | null; }** | | [optional] [default to undefined]
|
|
22
|
-
**user** | [**PublicUserDTO**](PublicUserDTO.md) | | [optional] [default to undefined]
|
|
23
23
|
|
|
24
24
|
## Example
|
|
25
25
|
|
|
@@ -39,9 +39,9 @@ const instance: ModelRecord = {
|
|
|
39
39
|
complete,
|
|
40
40
|
deleted,
|
|
41
41
|
uuid,
|
|
42
|
+
user,
|
|
42
43
|
properties,
|
|
43
44
|
objects,
|
|
44
|
-
user,
|
|
45
45
|
};
|
|
46
46
|
```
|
|
47
47
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# ShowResponseSubscribeWebhookDTO
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Represents the response for viewing or showing a specific resource.
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**message** | **string** |
|
|
10
|
-
**data** | **
|
|
9
|
+
**message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
|
|
10
|
+
**data** | [**SubscribeWebhookDTO**](SubscribeWebhookDTO.md) | The data payload of the response, if any. | [optional] [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
@@ -28,6 +28,12 @@ Name | Type | Description | Notes
|
|
|
28
28
|
**scheduleRecurring** | **string** | Recurrence for date_due webhooks: NONE, DAILY, WEEKLY, MONTHLY, QUARTERLY, HALF_YEARLY, YEARLY, or CRON | [optional] [default to undefined]
|
|
29
29
|
**scheduleCronExpression** | **string** | Spring cron expression used when scheduleRecurring is CRON | [optional] [default to undefined]
|
|
30
30
|
**scheduleVersion** | **number** | Internal schedule version incremented when schedule config changes | [optional] [default to undefined]
|
|
31
|
+
**deactivated** | **boolean** | Company subscription runtime state | [optional] [readonly] [default to undefined]
|
|
32
|
+
**failureCount** | **number** | Company subscription runtime state | [optional] [readonly] [default to undefined]
|
|
33
|
+
**lastFailureStatus** | **number** | Company subscription runtime state | [optional] [readonly] [default to undefined]
|
|
34
|
+
**lastFailureAt** | **number** | Company subscription runtime state | [optional] [readonly] [default to undefined]
|
|
35
|
+
**deactivatedAt** | **number** | Company subscription runtime state | [optional] [readonly] [default to undefined]
|
|
36
|
+
**deactivationReason** | **string** | Company subscription runtime state | [optional] [readonly] [default to undefined]
|
|
31
37
|
**uuid** | **string** | Unique identifier for the entity | [default to undefined]
|
|
32
38
|
**name** | **string** | The name of the entity | [default to undefined]
|
|
33
39
|
**label** | **string** | Display label for the entity, can be different from name | [optional] [default to undefined]
|
|
@@ -67,6 +73,12 @@ const instance: SubscribeWebhookDTO = {
|
|
|
67
73
|
scheduleRecurring,
|
|
68
74
|
scheduleCronExpression,
|
|
69
75
|
scheduleVersion,
|
|
76
|
+
deactivated,
|
|
77
|
+
failureCount,
|
|
78
|
+
lastFailureStatus,
|
|
79
|
+
lastFailureAt,
|
|
80
|
+
deactivatedAt,
|
|
81
|
+
deactivationReason,
|
|
70
82
|
uuid,
|
|
71
83
|
name,
|
|
72
84
|
label,
|