@connectedxm/admin-sdk 6.23.7 → 6.24.2

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 CHANGED
@@ -1001,6 +1001,7 @@ Class | Method | HTTP request | Description
1001
1001
  *PushDevicesApi* | [**getPushDevices**](docs/PushDevicesApi.md#getpushdevices) | **GET** /push-devices | Get Push Devices
1002
1002
  *ReportsApi* | [**createCustomReport**](docs/ReportsApi.md#createcustomreport) | **POST** /reports/{standard} | Create Custom Report
1003
1003
  *ReportsApi* | [**deleteCustomReport**](docs/ReportsApi.md#deletecustomreport) | **DELETE** /reports/custom/{reportId} | Delete Custom Report
1004
+ *ReportsApi* | [**exportCustomReport**](docs/ReportsApi.md#exportcustomreport) | **POST** /reports/custom/{reportId}/export | Export Custom Report
1004
1005
  *ReportsApi* | [**getCustomReport**](docs/ReportsApi.md#getcustomreport) | **GET** /reports/custom/{reportId} | Get Custom Report
1005
1006
  *ReportsApi* | [**getCustomReports**](docs/ReportsApi.md#getcustomreports) | **GET** /reports/custom | Get Custom Reports
1006
1007
  *ReportsApi* | [**getReport**](docs/ReportsApi.md#getreport) | **GET** /reports/{standard} | Get Report
package/api.ts CHANGED
@@ -1214,6 +1214,7 @@ export interface BaseEvent {
1214
1214
  'series': BaseSeries | null;
1215
1215
  'paymentIntegrationId': string | null;
1216
1216
  'paymentIntegration': BasePaymentIntegration | null;
1217
+ 'archived': boolean;
1217
1218
  }
1218
1219
 
1219
1220
 
@@ -4681,6 +4682,7 @@ export interface Event {
4681
4682
  'series': BaseSeries | null;
4682
4683
  'paymentIntegrationId': string | null;
4683
4684
  'paymentIntegration': BasePaymentIntegration | null;
4685
+ 'archived': boolean;
4684
4686
  'roundName': string | null;
4685
4687
  'matchName': string | null;
4686
4688
  'passSupply': number | null;
@@ -5027,6 +5029,7 @@ export interface EventCreateInputs {
5027
5029
  'eventEnd': string;
5028
5030
  'featured'?: boolean;
5029
5031
  'visible'?: boolean;
5032
+ 'archived'?: boolean;
5030
5033
  'slug'?: string | null;
5031
5034
  'internalRefId'?: string | null;
5032
5035
  'longDescription'?: string | null;
@@ -6453,6 +6456,7 @@ export enum EventType {
6453
6456
  export interface EventUpdateInputs {
6454
6457
  'featured'?: boolean;
6455
6458
  'visible'?: boolean;
6459
+ 'archived'?: boolean;
6456
6460
  'name'?: string | null;
6457
6461
  'eventType'?: EventType | null;
6458
6462
  'slug'?: string | null;
@@ -122712,6 +122716,46 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
122712
122716
  options: localVarRequestOptions,
122713
122717
  };
122714
122718
  },
122719
+ /**
122720
+ * Export Custom Report endpoint
122721
+ * @summary Export Custom Report
122722
+ * @param {string} reportId The report identifier
122723
+ * @param {*} [options] Override http request option.
122724
+ * @throws {RequiredError}
122725
+ */
122726
+ exportCustomReport: async (reportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
122727
+ // verify required parameter 'reportId' is not null or undefined
122728
+ assertParamExists('exportCustomReport', 'reportId', reportId)
122729
+ const localVarPath = `/reports/custom/{reportId}/export`
122730
+ .replace(`{${"reportId"}}`, encodeURIComponent(String(reportId)));
122731
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
122732
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
122733
+ let baseOptions;
122734
+ if (configuration) {
122735
+ baseOptions = configuration.baseOptions;
122736
+ }
122737
+
122738
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
122739
+ const localVarHeaderParameter = {} as any;
122740
+ const localVarQueryParameter = {} as any;
122741
+
122742
+ // authentication ApiKeyAuth required
122743
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
122744
+
122745
+ // authentication OrganizationId required
122746
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
122747
+
122748
+ localVarHeaderParameter['Accept'] = 'application/json';
122749
+
122750
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
122751
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
122752
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
122753
+
122754
+ return {
122755
+ url: toPathString(localVarUrlObj),
122756
+ options: localVarRequestOptions,
122757
+ };
122758
+ },
122715
122759
  /**
122716
122760
  * Get Custom Report endpoint
122717
122761
  * @summary Get Custom Report
@@ -122990,6 +123034,19 @@ export const ReportsApiFp = function(configuration?: Configuration) {
122990
123034
  const localVarOperationServerBasePath = operationServerMap['ReportsApi.deleteCustomReport']?.[localVarOperationServerIndex]?.url;
122991
123035
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
122992
123036
  },
123037
+ /**
123038
+ * Export Custom Report endpoint
123039
+ * @summary Export Custom Report
123040
+ * @param {string} reportId The report identifier
123041
+ * @param {*} [options] Override http request option.
123042
+ * @throws {RequiredError}
123043
+ */
123044
+ async exportCustomReport(reportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>> {
123045
+ const localVarAxiosArgs = await localVarAxiosParamCreator.exportCustomReport(reportId, options);
123046
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
123047
+ const localVarOperationServerBasePath = operationServerMap['ReportsApi.exportCustomReport']?.[localVarOperationServerIndex]?.url;
123048
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
123049
+ },
122993
123050
  /**
122994
123051
  * Get Custom Report endpoint
122995
123052
  * @summary Get Custom Report
@@ -123090,6 +123147,16 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
123090
123147
  deleteCustomReport(requestParameters: ReportsApiDeleteCustomReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
123091
123148
  return localVarFp.deleteCustomReport(requestParameters.reportId, options).then((request) => request(axios, basePath));
123092
123149
  },
123150
+ /**
123151
+ * Export Custom Report endpoint
123152
+ * @summary Export Custom Report
123153
+ * @param {ReportsApiExportCustomReportRequest} requestParameters Request parameters.
123154
+ * @param {*} [options] Override http request option.
123155
+ * @throws {RequiredError}
123156
+ */
123157
+ exportCustomReport(requestParameters: ReportsApiExportCustomReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
123158
+ return localVarFp.exportCustomReport(requestParameters.reportId, options).then((request) => request(axios, basePath));
123159
+ },
123093
123160
  /**
123094
123161
  * Get Custom Report endpoint
123095
123162
  * @summary Get Custom Report
@@ -123165,6 +123232,16 @@ export interface ReportsApiDeleteCustomReportRequest {
123165
123232
  readonly reportId: string
123166
123233
  }
123167
123234
 
123235
+ /**
123236
+ * Request parameters for exportCustomReport operation in ReportsApi.
123237
+ */
123238
+ export interface ReportsApiExportCustomReportRequest {
123239
+ /**
123240
+ * The report identifier
123241
+ */
123242
+ readonly reportId: string
123243
+ }
123244
+
123168
123245
  /**
123169
123246
  * Request parameters for getCustomReport operation in ReportsApi.
123170
123247
  */
@@ -123271,6 +123348,17 @@ export class ReportsApi extends BaseAPI {
123271
123348
  return ReportsApiFp(this.configuration).deleteCustomReport(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
123272
123349
  }
123273
123350
 
123351
+ /**
123352
+ * Export Custom Report endpoint
123353
+ * @summary Export Custom Report
123354
+ * @param {ReportsApiExportCustomReportRequest} requestParameters Request parameters.
123355
+ * @param {*} [options] Override http request option.
123356
+ * @throws {RequiredError}
123357
+ */
123358
+ public exportCustomReport(requestParameters: ReportsApiExportCustomReportRequest, options?: RawAxiosRequestConfig) {
123359
+ return ReportsApiFp(this.configuration).exportCustomReport(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
123360
+ }
123361
+
123274
123362
  /**
123275
123363
  * Get Custom Report endpoint
123276
123364
  * @summary Get Custom Report
package/dist/api.d.ts CHANGED
@@ -1113,6 +1113,7 @@ export interface BaseEvent {
1113
1113
  'series': BaseSeries | null;
1114
1114
  'paymentIntegrationId': string | null;
1115
1115
  'paymentIntegration': BasePaymentIntegration | null;
1116
+ 'archived': boolean;
1116
1117
  }
1117
1118
  export interface BaseEventActivation {
1118
1119
  'id': string;
@@ -4234,6 +4235,7 @@ export interface Event {
4234
4235
  'series': BaseSeries | null;
4235
4236
  'paymentIntegrationId': string | null;
4236
4237
  'paymentIntegration': BasePaymentIntegration | null;
4238
+ 'archived': boolean;
4237
4239
  'roundName': string | null;
4238
4240
  'matchName': string | null;
4239
4241
  'passSupply': number | null;
@@ -4554,6 +4556,7 @@ export interface EventCreateInputs {
4554
4556
  'eventEnd': string;
4555
4557
  'featured'?: boolean;
4556
4558
  'visible'?: boolean;
4559
+ 'archived'?: boolean;
4557
4560
  'slug'?: string | null;
4558
4561
  'internalRefId'?: string | null;
4559
4562
  'longDescription'?: string | null;
@@ -5914,6 +5917,7 @@ export declare enum EventType {
5914
5917
  export interface EventUpdateInputs {
5915
5918
  'featured'?: boolean;
5916
5919
  'visible'?: boolean;
5920
+ 'archived'?: boolean;
5917
5921
  'name'?: string | null;
5918
5922
  'eventType'?: EventType | null;
5919
5923
  'slug'?: string | null;
@@ -67538,6 +67542,14 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
67538
67542
  * @throws {RequiredError}
67539
67543
  */
67540
67544
  deleteCustomReport: (reportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
67545
+ /**
67546
+ * Export Custom Report endpoint
67547
+ * @summary Export Custom Report
67548
+ * @param {string} reportId The report identifier
67549
+ * @param {*} [options] Override http request option.
67550
+ * @throws {RequiredError}
67551
+ */
67552
+ exportCustomReport: (reportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
67541
67553
  /**
67542
67554
  * Get Custom Report endpoint
67543
67555
  * @summary Get Custom Report
@@ -67606,6 +67618,14 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
67606
67618
  * @throws {RequiredError}
67607
67619
  */
67608
67620
  deleteCustomReport(reportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
67621
+ /**
67622
+ * Export Custom Report endpoint
67623
+ * @summary Export Custom Report
67624
+ * @param {string} reportId The report identifier
67625
+ * @param {*} [options] Override http request option.
67626
+ * @throws {RequiredError}
67627
+ */
67628
+ exportCustomReport(reportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
67609
67629
  /**
67610
67630
  * Get Custom Report endpoint
67611
67631
  * @summary Get Custom Report
@@ -67673,6 +67693,14 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
67673
67693
  * @throws {RequiredError}
67674
67694
  */
67675
67695
  deleteCustomReport(requestParameters: ReportsApiDeleteCustomReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
67696
+ /**
67697
+ * Export Custom Report endpoint
67698
+ * @summary Export Custom Report
67699
+ * @param {ReportsApiExportCustomReportRequest} requestParameters Request parameters.
67700
+ * @param {*} [options] Override http request option.
67701
+ * @throws {RequiredError}
67702
+ */
67703
+ exportCustomReport(requestParameters: ReportsApiExportCustomReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
67676
67704
  /**
67677
67705
  * Get Custom Report endpoint
67678
67706
  * @summary Get Custom Report
@@ -67733,6 +67761,15 @@ export interface ReportsApiDeleteCustomReportRequest {
67733
67761
  */
67734
67762
  readonly reportId: string;
67735
67763
  }
67764
+ /**
67765
+ * Request parameters for exportCustomReport operation in ReportsApi.
67766
+ */
67767
+ export interface ReportsApiExportCustomReportRequest {
67768
+ /**
67769
+ * The report identifier
67770
+ */
67771
+ readonly reportId: string;
67772
+ }
67736
67773
  /**
67737
67774
  * Request parameters for getCustomReport operation in ReportsApi.
67738
67775
  */
@@ -67822,6 +67859,14 @@ export declare class ReportsApi extends BaseAPI {
67822
67859
  * @throws {RequiredError}
67823
67860
  */
67824
67861
  deleteCustomReport(requestParameters: ReportsApiDeleteCustomReportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}>>;
67862
+ /**
67863
+ * Export Custom Report endpoint
67864
+ * @summary Export Custom Report
67865
+ * @param {ReportsApiExportCustomReportRequest} requestParameters Request parameters.
67866
+ * @param {*} [options] Override http request option.
67867
+ * @throws {RequiredError}
67868
+ */
67869
+ exportCustomReport(requestParameters: ReportsApiExportCustomReportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}>>;
67825
67870
  /**
67826
67871
  * Get Custom Report endpoint
67827
67872
  * @summary Get Custom Report
package/dist/api.js CHANGED
@@ -85794,6 +85794,40 @@ const ReportsApiAxiosParamCreator = function (configuration) {
85794
85794
  options: localVarRequestOptions,
85795
85795
  };
85796
85796
  }),
85797
+ /**
85798
+ * Export Custom Report endpoint
85799
+ * @summary Export Custom Report
85800
+ * @param {string} reportId The report identifier
85801
+ * @param {*} [options] Override http request option.
85802
+ * @throws {RequiredError}
85803
+ */
85804
+ exportCustomReport: (reportId_1, ...args_1) => __awaiter(this, [reportId_1, ...args_1], void 0, function* (reportId, options = {}) {
85805
+ // verify required parameter 'reportId' is not null or undefined
85806
+ (0, common_1.assertParamExists)('exportCustomReport', 'reportId', reportId);
85807
+ const localVarPath = `/reports/custom/{reportId}/export`
85808
+ .replace(`{${"reportId"}}`, encodeURIComponent(String(reportId)));
85809
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
85810
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
85811
+ let baseOptions;
85812
+ if (configuration) {
85813
+ baseOptions = configuration.baseOptions;
85814
+ }
85815
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
85816
+ const localVarHeaderParameter = {};
85817
+ const localVarQueryParameter = {};
85818
+ // authentication ApiKeyAuth required
85819
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
85820
+ // authentication OrganizationId required
85821
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
85822
+ localVarHeaderParameter['Accept'] = 'application/json';
85823
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
85824
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85825
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
85826
+ return {
85827
+ url: (0, common_1.toPathString)(localVarUrlObj),
85828
+ options: localVarRequestOptions,
85829
+ };
85830
+ }),
85797
85831
  /**
85798
85832
  * Get Custom Report endpoint
85799
85833
  * @summary Get Custom Report
@@ -86040,6 +86074,22 @@ const ReportsApiFp = function (configuration) {
86040
86074
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
86041
86075
  });
86042
86076
  },
86077
+ /**
86078
+ * Export Custom Report endpoint
86079
+ * @summary Export Custom Report
86080
+ * @param {string} reportId The report identifier
86081
+ * @param {*} [options] Override http request option.
86082
+ * @throws {RequiredError}
86083
+ */
86084
+ exportCustomReport(reportId, options) {
86085
+ return __awaiter(this, void 0, void 0, function* () {
86086
+ var _a, _b, _c;
86087
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportCustomReport(reportId, options);
86088
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
86089
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ReportsApi.exportCustomReport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
86090
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
86091
+ });
86092
+ },
86043
86093
  /**
86044
86094
  * Get Custom Report endpoint
86045
86095
  * @summary Get Custom Report
@@ -86155,6 +86205,16 @@ const ReportsApiFactory = function (configuration, basePath, axios) {
86155
86205
  deleteCustomReport(requestParameters, options) {
86156
86206
  return localVarFp.deleteCustomReport(requestParameters.reportId, options).then((request) => request(axios, basePath));
86157
86207
  },
86208
+ /**
86209
+ * Export Custom Report endpoint
86210
+ * @summary Export Custom Report
86211
+ * @param {ReportsApiExportCustomReportRequest} requestParameters Request parameters.
86212
+ * @param {*} [options] Override http request option.
86213
+ * @throws {RequiredError}
86214
+ */
86215
+ exportCustomReport(requestParameters, options) {
86216
+ return localVarFp.exportCustomReport(requestParameters.reportId, options).then((request) => request(axios, basePath));
86217
+ },
86158
86218
  /**
86159
86219
  * Get Custom Report endpoint
86160
86220
  * @summary Get Custom Report
@@ -86232,6 +86292,16 @@ class ReportsApi extends base_1.BaseAPI {
86232
86292
  deleteCustomReport(requestParameters, options) {
86233
86293
  return (0, exports.ReportsApiFp)(this.configuration).deleteCustomReport(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
86234
86294
  }
86295
+ /**
86296
+ * Export Custom Report endpoint
86297
+ * @summary Export Custom Report
86298
+ * @param {ReportsApiExportCustomReportRequest} requestParameters Request parameters.
86299
+ * @param {*} [options] Override http request option.
86300
+ * @throws {RequiredError}
86301
+ */
86302
+ exportCustomReport(requestParameters, options) {
86303
+ return (0, exports.ReportsApiFp)(this.configuration).exportCustomReport(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
86304
+ }
86235
86305
  /**
86236
86306
  * Get Custom Report endpoint
86237
86307
  * @summary Get Custom Report
package/dist/esm/api.d.ts CHANGED
@@ -1113,6 +1113,7 @@ export interface BaseEvent {
1113
1113
  'series': BaseSeries | null;
1114
1114
  'paymentIntegrationId': string | null;
1115
1115
  'paymentIntegration': BasePaymentIntegration | null;
1116
+ 'archived': boolean;
1116
1117
  }
1117
1118
  export interface BaseEventActivation {
1118
1119
  'id': string;
@@ -4234,6 +4235,7 @@ export interface Event {
4234
4235
  'series': BaseSeries | null;
4235
4236
  'paymentIntegrationId': string | null;
4236
4237
  'paymentIntegration': BasePaymentIntegration | null;
4238
+ 'archived': boolean;
4237
4239
  'roundName': string | null;
4238
4240
  'matchName': string | null;
4239
4241
  'passSupply': number | null;
@@ -4554,6 +4556,7 @@ export interface EventCreateInputs {
4554
4556
  'eventEnd': string;
4555
4557
  'featured'?: boolean;
4556
4558
  'visible'?: boolean;
4559
+ 'archived'?: boolean;
4557
4560
  'slug'?: string | null;
4558
4561
  'internalRefId'?: string | null;
4559
4562
  'longDescription'?: string | null;
@@ -5914,6 +5917,7 @@ export declare enum EventType {
5914
5917
  export interface EventUpdateInputs {
5915
5918
  'featured'?: boolean;
5916
5919
  'visible'?: boolean;
5920
+ 'archived'?: boolean;
5917
5921
  'name'?: string | null;
5918
5922
  'eventType'?: EventType | null;
5919
5923
  'slug'?: string | null;
@@ -67538,6 +67542,14 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
67538
67542
  * @throws {RequiredError}
67539
67543
  */
67540
67544
  deleteCustomReport: (reportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
67545
+ /**
67546
+ * Export Custom Report endpoint
67547
+ * @summary Export Custom Report
67548
+ * @param {string} reportId The report identifier
67549
+ * @param {*} [options] Override http request option.
67550
+ * @throws {RequiredError}
67551
+ */
67552
+ exportCustomReport: (reportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
67541
67553
  /**
67542
67554
  * Get Custom Report endpoint
67543
67555
  * @summary Get Custom Report
@@ -67606,6 +67618,14 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
67606
67618
  * @throws {RequiredError}
67607
67619
  */
67608
67620
  deleteCustomReport(reportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
67621
+ /**
67622
+ * Export Custom Report endpoint
67623
+ * @summary Export Custom Report
67624
+ * @param {string} reportId The report identifier
67625
+ * @param {*} [options] Override http request option.
67626
+ * @throws {RequiredError}
67627
+ */
67628
+ exportCustomReport(reportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
67609
67629
  /**
67610
67630
  * Get Custom Report endpoint
67611
67631
  * @summary Get Custom Report
@@ -67673,6 +67693,14 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
67673
67693
  * @throws {RequiredError}
67674
67694
  */
67675
67695
  deleteCustomReport(requestParameters: ReportsApiDeleteCustomReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
67696
+ /**
67697
+ * Export Custom Report endpoint
67698
+ * @summary Export Custom Report
67699
+ * @param {ReportsApiExportCustomReportRequest} requestParameters Request parameters.
67700
+ * @param {*} [options] Override http request option.
67701
+ * @throws {RequiredError}
67702
+ */
67703
+ exportCustomReport(requestParameters: ReportsApiExportCustomReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
67676
67704
  /**
67677
67705
  * Get Custom Report endpoint
67678
67706
  * @summary Get Custom Report
@@ -67733,6 +67761,15 @@ export interface ReportsApiDeleteCustomReportRequest {
67733
67761
  */
67734
67762
  readonly reportId: string;
67735
67763
  }
67764
+ /**
67765
+ * Request parameters for exportCustomReport operation in ReportsApi.
67766
+ */
67767
+ export interface ReportsApiExportCustomReportRequest {
67768
+ /**
67769
+ * The report identifier
67770
+ */
67771
+ readonly reportId: string;
67772
+ }
67736
67773
  /**
67737
67774
  * Request parameters for getCustomReport operation in ReportsApi.
67738
67775
  */
@@ -67822,6 +67859,14 @@ export declare class ReportsApi extends BaseAPI {
67822
67859
  * @throws {RequiredError}
67823
67860
  */
67824
67861
  deleteCustomReport(requestParameters: ReportsApiDeleteCustomReportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}>>;
67862
+ /**
67863
+ * Export Custom Report endpoint
67864
+ * @summary Export Custom Report
67865
+ * @param {ReportsApiExportCustomReportRequest} requestParameters Request parameters.
67866
+ * @param {*} [options] Override http request option.
67867
+ * @throws {RequiredError}
67868
+ */
67869
+ exportCustomReport(requestParameters: ReportsApiExportCustomReportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}>>;
67825
67870
  /**
67826
67871
  * Get Custom Report endpoint
67827
67872
  * @summary Get Custom Report
package/dist/esm/api.js CHANGED
@@ -85169,6 +85169,40 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
85169
85169
  options: localVarRequestOptions,
85170
85170
  };
85171
85171
  }),
85172
+ /**
85173
+ * Export Custom Report endpoint
85174
+ * @summary Export Custom Report
85175
+ * @param {string} reportId The report identifier
85176
+ * @param {*} [options] Override http request option.
85177
+ * @throws {RequiredError}
85178
+ */
85179
+ exportCustomReport: (reportId_1, ...args_1) => __awaiter(this, [reportId_1, ...args_1], void 0, function* (reportId, options = {}) {
85180
+ // verify required parameter 'reportId' is not null or undefined
85181
+ assertParamExists('exportCustomReport', 'reportId', reportId);
85182
+ const localVarPath = `/reports/custom/{reportId}/export`
85183
+ .replace(`{${"reportId"}}`, encodeURIComponent(String(reportId)));
85184
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
85185
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
85186
+ let baseOptions;
85187
+ if (configuration) {
85188
+ baseOptions = configuration.baseOptions;
85189
+ }
85190
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
85191
+ const localVarHeaderParameter = {};
85192
+ const localVarQueryParameter = {};
85193
+ // authentication ApiKeyAuth required
85194
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
85195
+ // authentication OrganizationId required
85196
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
85197
+ localVarHeaderParameter['Accept'] = 'application/json';
85198
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
85199
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85200
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
85201
+ return {
85202
+ url: toPathString(localVarUrlObj),
85203
+ options: localVarRequestOptions,
85204
+ };
85205
+ }),
85172
85206
  /**
85173
85207
  * Get Custom Report endpoint
85174
85208
  * @summary Get Custom Report
@@ -85414,6 +85448,22 @@ export const ReportsApiFp = function (configuration) {
85414
85448
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
85415
85449
  });
85416
85450
  },
85451
+ /**
85452
+ * Export Custom Report endpoint
85453
+ * @summary Export Custom Report
85454
+ * @param {string} reportId The report identifier
85455
+ * @param {*} [options] Override http request option.
85456
+ * @throws {RequiredError}
85457
+ */
85458
+ exportCustomReport(reportId, options) {
85459
+ return __awaiter(this, void 0, void 0, function* () {
85460
+ var _a, _b, _c;
85461
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportCustomReport(reportId, options);
85462
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
85463
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReportsApi.exportCustomReport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
85464
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
85465
+ });
85466
+ },
85417
85467
  /**
85418
85468
  * Get Custom Report endpoint
85419
85469
  * @summary Get Custom Report
@@ -85528,6 +85578,16 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
85528
85578
  deleteCustomReport(requestParameters, options) {
85529
85579
  return localVarFp.deleteCustomReport(requestParameters.reportId, options).then((request) => request(axios, basePath));
85530
85580
  },
85581
+ /**
85582
+ * Export Custom Report endpoint
85583
+ * @summary Export Custom Report
85584
+ * @param {ReportsApiExportCustomReportRequest} requestParameters Request parameters.
85585
+ * @param {*} [options] Override http request option.
85586
+ * @throws {RequiredError}
85587
+ */
85588
+ exportCustomReport(requestParameters, options) {
85589
+ return localVarFp.exportCustomReport(requestParameters.reportId, options).then((request) => request(axios, basePath));
85590
+ },
85531
85591
  /**
85532
85592
  * Get Custom Report endpoint
85533
85593
  * @summary Get Custom Report
@@ -85604,6 +85664,16 @@ export class ReportsApi extends BaseAPI {
85604
85664
  deleteCustomReport(requestParameters, options) {
85605
85665
  return ReportsApiFp(this.configuration).deleteCustomReport(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
85606
85666
  }
85667
+ /**
85668
+ * Export Custom Report endpoint
85669
+ * @summary Export Custom Report
85670
+ * @param {ReportsApiExportCustomReportRequest} requestParameters Request parameters.
85671
+ * @param {*} [options] Override http request option.
85672
+ * @throws {RequiredError}
85673
+ */
85674
+ exportCustomReport(requestParameters, options) {
85675
+ return ReportsApiFp(this.configuration).exportCustomReport(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
85676
+ }
85607
85677
  /**
85608
85678
  * Get Custom Report endpoint
85609
85679
  * @summary Get Custom Report
package/docs/BaseEvent.md CHANGED
@@ -39,6 +39,7 @@ Name | Type | Description | Notes
39
39
  **series** | [**BaseSeries**](BaseSeries.md) | | [default to undefined]
40
40
  **paymentIntegrationId** | **string** | | [default to undefined]
41
41
  **paymentIntegration** | [**BasePaymentIntegration**](BasePaymentIntegration.md) | | [default to undefined]
42
+ **archived** | **boolean** | | [default to undefined]
42
43
 
43
44
  ## Example
44
45
 
@@ -80,6 +81,7 @@ const instance: BaseEvent = {
80
81
  series,
81
82
  paymentIntegrationId,
82
83
  paymentIntegration,
84
+ archived,
83
85
  };
84
86
  ```
85
87
 
package/docs/Event.md CHANGED
@@ -39,6 +39,7 @@ Name | Type | Description | Notes
39
39
  **series** | [**BaseSeries**](BaseSeries.md) | | [default to undefined]
40
40
  **paymentIntegrationId** | **string** | | [default to undefined]
41
41
  **paymentIntegration** | [**BasePaymentIntegration**](BasePaymentIntegration.md) | | [default to undefined]
42
+ **archived** | **boolean** | | [default to undefined]
42
43
  **roundName** | **string** | | [default to undefined]
43
44
  **matchName** | **string** | | [default to undefined]
44
45
  **passSupply** | **number** | | [default to undefined]
@@ -122,6 +123,7 @@ const instance: Event = {
122
123
  series,
123
124
  paymentIntegrationId,
124
125
  paymentIntegration,
126
+ archived,
125
127
  roundName,
126
128
  matchName,
127
129
  passSupply,
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
13
13
  **eventEnd** | **string** | | [default to undefined]
14
14
  **featured** | **boolean** | | [optional] [default to undefined]
15
15
  **visible** | **boolean** | | [optional] [default to undefined]
16
+ **archived** | **boolean** | | [optional] [default to undefined]
16
17
  **slug** | **string** | | [optional] [default to undefined]
17
18
  **internalRefId** | **string** | | [optional] [default to undefined]
18
19
  **longDescription** | **string** | | [optional] [default to undefined]
@@ -80,6 +81,7 @@ const instance: EventCreateInputs = {
80
81
  eventEnd,
81
82
  featured,
82
83
  visible,
84
+ archived,
83
85
  slug,
84
86
  internalRefId,
85
87
  longDescription,
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **featured** | **boolean** | | [optional] [default to undefined]
9
9
  **visible** | **boolean** | | [optional] [default to undefined]
10
+ **archived** | **boolean** | | [optional] [default to undefined]
10
11
  **name** | **string** | | [optional] [default to undefined]
11
12
  **eventType** | [**EventType**](EventType.md) | | [optional] [default to undefined]
12
13
  **slug** | **string** | | [optional] [default to undefined]
@@ -74,6 +75,7 @@ import { EventUpdateInputs } from '@connectedxm/admin-sdk';
74
75
  const instance: EventUpdateInputs = {
75
76
  featured,
76
77
  visible,
78
+ archived,
77
79
  name,
78
80
  eventType,
79
81
  slug,
@@ -6,6 +6,7 @@ All URIs are relative to *https://admin-api.connected.dev*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**createCustomReport**](#createcustomreport) | **POST** /reports/{standard} | Create Custom Report|
8
8
  |[**deleteCustomReport**](#deletecustomreport) | **DELETE** /reports/custom/{reportId} | Delete Custom Report|
9
+ |[**exportCustomReport**](#exportcustomreport) | **POST** /reports/custom/{reportId}/export | Export Custom Report|
9
10
  |[**getCustomReport**](#getcustomreport) | **GET** /reports/custom/{reportId} | Get Custom Report|
10
11
  |[**getCustomReports**](#getcustomreports) | **GET** /reports/custom | Get Custom Reports|
11
12
  |[**getReport**](#getreport) | **GET** /reports/{standard} | Get Report|
@@ -97,6 +98,57 @@ const { status, data } = await apiInstance.deleteCustomReport(
97
98
  | **reportId** | [**string**] | The report identifier | defaults to undefined|
98
99
 
99
100
 
101
+ ### Return type
102
+
103
+ **CreateAccountInvitations200Response**
104
+
105
+ ### Authorization
106
+
107
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
108
+
109
+ ### HTTP request headers
110
+
111
+ - **Content-Type**: Not defined
112
+ - **Accept**: application/json
113
+
114
+
115
+ ### HTTP response details
116
+ | Status code | Description | Response headers |
117
+ |-------------|-------------|------------------|
118
+ |**200** | Successful response | - |
119
+
120
+ [[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)
121
+
122
+ # **exportCustomReport**
123
+ > CreateAccountInvitations200Response exportCustomReport()
124
+
125
+ Export Custom Report endpoint
126
+
127
+ ### Example
128
+
129
+ ```typescript
130
+ import {
131
+ ReportsApi,
132
+ Configuration
133
+ } from '@connectedxm/admin-sdk';
134
+
135
+ const configuration = new Configuration();
136
+ const apiInstance = new ReportsApi(configuration);
137
+
138
+ let reportId: string; //The report identifier (default to undefined)
139
+
140
+ const { status, data } = await apiInstance.exportCustomReport(
141
+ reportId
142
+ );
143
+ ```
144
+
145
+ ### Parameters
146
+
147
+ |Name | Type | Description | Notes|
148
+ |------------- | ------------- | ------------- | -------------|
149
+ | **reportId** | [**string**] | The report identifier | defaults to undefined|
150
+
151
+
100
152
  ### Return type
101
153
 
102
154
  **CreateAccountInvitations200Response**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin-sdk",
3
- "version": "6.23.7",
3
+ "version": "6.24.2",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {