yellowgrid-api-ts 3.2.284 → 3.2.286
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/.openapi-generator/FILES +1 -0
- package/README.md +2 -0
- package/api.ts +104 -0
- package/dist/api.d.ts +65 -0
- package/dist/api.js +80 -0
- package/docs/Class3CXIntegrationsApi.md +52 -0
- package/docs/SearchSchoolModel.md +35 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -242,6 +242,7 @@ Class | Method | HTTP request | Description
|
|
|
242
242
|
*Class3CXIntegrationsApi* | [**getGetPrice**](docs/Class3CXIntegrationsApi.md#getgetprice) | **GET** /tcx/integrations/edtechpro/prices |
|
|
243
243
|
*Class3CXIntegrationsApi* | [**getGetSchools**](docs/Class3CXIntegrationsApi.md#getgetschools) | **GET** /tcx/integrations/edtechpro/schools |
|
|
244
244
|
*Class3CXIntegrationsApi* | [**getGetTrusts**](docs/Class3CXIntegrationsApi.md#getgettrusts) | **GET** /tcx/integrations/edtechpro/trusts |
|
|
245
|
+
*Class3CXIntegrationsApi* | [**getSearchSchools**](docs/Class3CXIntegrationsApi.md#getsearchschools) | **GET** /tcx/integrations/edtechpro/search/schools |
|
|
245
246
|
*Class3CXIntegrationsApi* | [**patchUpdateEtpOrderReference**](docs/Class3CXIntegrationsApi.md#patchupdateetporderreference) | **PATCH** /tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference |
|
|
246
247
|
*Class3CXIntegrationsApi* | [**postOrderEdTechPro**](docs/Class3CXIntegrationsApi.md#postorderedtechpro) | **POST** /tcx/integrations/edtechpro/orders |
|
|
247
248
|
*Class3CXIntegrationsApi* | [**postUpgradeEdTechPro**](docs/Class3CXIntegrationsApi.md#postupgradeedtechpro) | **POST** /tcx/integrations/edtechpro/upgrades |
|
|
@@ -696,6 +697,7 @@ Class | Method | HTTP request | Description
|
|
|
696
697
|
- [ScopeModel](docs/ScopeModel.md)
|
|
697
698
|
- [Sdr](docs/Sdr.md)
|
|
698
699
|
- [SdrReferenceType](docs/SdrReferenceType.md)
|
|
700
|
+
- [SearchSchoolModel](docs/SearchSchoolModel.md)
|
|
699
701
|
- [SerialNumberRequestModel](docs/SerialNumberRequestModel.md)
|
|
700
702
|
- [SeriesDTO](docs/SeriesDTO.md)
|
|
701
703
|
- [Service](docs/Service.md)
|
package/api.ts
CHANGED
|
@@ -7411,6 +7411,43 @@ export const SdrReferenceType = {
|
|
|
7411
7411
|
export type SdrReferenceType = typeof SdrReferenceType[keyof typeof SdrReferenceType];
|
|
7412
7412
|
|
|
7413
7413
|
|
|
7414
|
+
/**
|
|
7415
|
+
* EdTechPro School Information
|
|
7416
|
+
*/
|
|
7417
|
+
export interface SearchSchoolModel {
|
|
7418
|
+
/**
|
|
7419
|
+
* School ID
|
|
7420
|
+
*/
|
|
7421
|
+
'id': number;
|
|
7422
|
+
/**
|
|
7423
|
+
* URN Number
|
|
7424
|
+
*/
|
|
7425
|
+
'urn': string;
|
|
7426
|
+
/**
|
|
7427
|
+
* DFE Code
|
|
7428
|
+
*/
|
|
7429
|
+
'dfe': string;
|
|
7430
|
+
/**
|
|
7431
|
+
* School Name
|
|
7432
|
+
*/
|
|
7433
|
+
'name': string;
|
|
7434
|
+
/**
|
|
7435
|
+
* Phase of Education
|
|
7436
|
+
*/
|
|
7437
|
+
'phaseOfEducation': string;
|
|
7438
|
+
/**
|
|
7439
|
+
* Text Display
|
|
7440
|
+
*/
|
|
7441
|
+
'text': string;
|
|
7442
|
+
/**
|
|
7443
|
+
* MIS
|
|
7444
|
+
*/
|
|
7445
|
+
'mis': string;
|
|
7446
|
+
/**
|
|
7447
|
+
* Address
|
|
7448
|
+
*/
|
|
7449
|
+
'address': string;
|
|
7450
|
+
}
|
|
7414
7451
|
/**
|
|
7415
7452
|
* Serial Number Request
|
|
7416
7453
|
*/
|
|
@@ -24600,6 +24637,42 @@ export const Class3CXIntegrationsApiAxiosParamCreator = function (configuration?
|
|
|
24600
24637
|
options: localVarRequestOptions,
|
|
24601
24638
|
};
|
|
24602
24639
|
},
|
|
24640
|
+
/**
|
|
24641
|
+
* Seach EdTechPro Schools
|
|
24642
|
+
* @param {string} search School Name, Dfe code or URN
|
|
24643
|
+
* @param {*} [options] Override http request option.
|
|
24644
|
+
* @throws {RequiredError}
|
|
24645
|
+
*/
|
|
24646
|
+
getSearchSchools: async (search: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24647
|
+
// verify required parameter 'search' is not null or undefined
|
|
24648
|
+
assertParamExists('getSearchSchools', 'search', search)
|
|
24649
|
+
const localVarPath = `/tcx/integrations/edtechpro/search/schools`;
|
|
24650
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24651
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24652
|
+
let baseOptions;
|
|
24653
|
+
if (configuration) {
|
|
24654
|
+
baseOptions = configuration.baseOptions;
|
|
24655
|
+
}
|
|
24656
|
+
|
|
24657
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24658
|
+
const localVarHeaderParameter = {} as any;
|
|
24659
|
+
const localVarQueryParameter = {} as any;
|
|
24660
|
+
|
|
24661
|
+
if (search !== undefined) {
|
|
24662
|
+
localVarQueryParameter['search'] = search;
|
|
24663
|
+
}
|
|
24664
|
+
|
|
24665
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
24666
|
+
|
|
24667
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24668
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24669
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24670
|
+
|
|
24671
|
+
return {
|
|
24672
|
+
url: toPathString(localVarUrlObj),
|
|
24673
|
+
options: localVarRequestOptions,
|
|
24674
|
+
};
|
|
24675
|
+
},
|
|
24603
24676
|
/**
|
|
24604
24677
|
* Update EdTechPro School Order Reference
|
|
24605
24678
|
* @param {number} clientId ETP Client ID
|
|
@@ -24754,6 +24827,18 @@ export const Class3CXIntegrationsApiFp = function(configuration?: Configuration)
|
|
|
24754
24827
|
const localVarOperationServerBasePath = operationServerMap['Class3CXIntegrationsApi.getGetTrusts']?.[localVarOperationServerIndex]?.url;
|
|
24755
24828
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24756
24829
|
},
|
|
24830
|
+
/**
|
|
24831
|
+
* Seach EdTechPro Schools
|
|
24832
|
+
* @param {string} search School Name, Dfe code or URN
|
|
24833
|
+
* @param {*} [options] Override http request option.
|
|
24834
|
+
* @throws {RequiredError}
|
|
24835
|
+
*/
|
|
24836
|
+
async getSearchSchools(search: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SearchSchoolModel>>> {
|
|
24837
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchSchools(search, options);
|
|
24838
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24839
|
+
const localVarOperationServerBasePath = operationServerMap['Class3CXIntegrationsApi.getSearchSchools']?.[localVarOperationServerIndex]?.url;
|
|
24840
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24841
|
+
},
|
|
24757
24842
|
/**
|
|
24758
24843
|
* Update EdTechPro School Order Reference
|
|
24759
24844
|
* @param {number} clientId ETP Client ID
|
|
@@ -24830,6 +24915,15 @@ export const Class3CXIntegrationsApiFactory = function (configuration?: Configur
|
|
|
24830
24915
|
getGetTrusts(options?: RawAxiosRequestConfig): AxiosPromise<Array<EdTechProClientEntity>> {
|
|
24831
24916
|
return localVarFp.getGetTrusts(options).then((request) => request(axios, basePath));
|
|
24832
24917
|
},
|
|
24918
|
+
/**
|
|
24919
|
+
* Seach EdTechPro Schools
|
|
24920
|
+
* @param {string} search School Name, Dfe code or URN
|
|
24921
|
+
* @param {*} [options] Override http request option.
|
|
24922
|
+
* @throws {RequiredError}
|
|
24923
|
+
*/
|
|
24924
|
+
getSearchSchools(search: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<SearchSchoolModel>> {
|
|
24925
|
+
return localVarFp.getSearchSchools(search, options).then((request) => request(axios, basePath));
|
|
24926
|
+
},
|
|
24833
24927
|
/**
|
|
24834
24928
|
* Update EdTechPro School Order Reference
|
|
24835
24929
|
* @param {number} clientId ETP Client ID
|
|
@@ -24898,6 +24992,16 @@ export class Class3CXIntegrationsApi extends BaseAPI {
|
|
|
24898
24992
|
return Class3CXIntegrationsApiFp(this.configuration).getGetTrusts(options).then((request) => request(this.axios, this.basePath));
|
|
24899
24993
|
}
|
|
24900
24994
|
|
|
24995
|
+
/**
|
|
24996
|
+
* Seach EdTechPro Schools
|
|
24997
|
+
* @param {string} search School Name, Dfe code or URN
|
|
24998
|
+
* @param {*} [options] Override http request option.
|
|
24999
|
+
* @throws {RequiredError}
|
|
25000
|
+
*/
|
|
25001
|
+
public getSearchSchools(search: string, options?: RawAxiosRequestConfig) {
|
|
25002
|
+
return Class3CXIntegrationsApiFp(this.configuration).getSearchSchools(search, options).then((request) => request(this.axios, this.basePath));
|
|
25003
|
+
}
|
|
25004
|
+
|
|
24901
25005
|
/**
|
|
24902
25006
|
* Update EdTechPro School Order Reference
|
|
24903
25007
|
* @param {number} clientId ETP Client ID
|
package/dist/api.d.ts
CHANGED
|
@@ -7282,6 +7282,43 @@ export declare const SdrReferenceType: {
|
|
|
7282
7282
|
readonly Crm: "CRM";
|
|
7283
7283
|
};
|
|
7284
7284
|
export type SdrReferenceType = typeof SdrReferenceType[keyof typeof SdrReferenceType];
|
|
7285
|
+
/**
|
|
7286
|
+
* EdTechPro School Information
|
|
7287
|
+
*/
|
|
7288
|
+
export interface SearchSchoolModel {
|
|
7289
|
+
/**
|
|
7290
|
+
* School ID
|
|
7291
|
+
*/
|
|
7292
|
+
'id': number;
|
|
7293
|
+
/**
|
|
7294
|
+
* URN Number
|
|
7295
|
+
*/
|
|
7296
|
+
'urn': string;
|
|
7297
|
+
/**
|
|
7298
|
+
* DFE Code
|
|
7299
|
+
*/
|
|
7300
|
+
'dfe': string;
|
|
7301
|
+
/**
|
|
7302
|
+
* School Name
|
|
7303
|
+
*/
|
|
7304
|
+
'name': string;
|
|
7305
|
+
/**
|
|
7306
|
+
* Phase of Education
|
|
7307
|
+
*/
|
|
7308
|
+
'phaseOfEducation': string;
|
|
7309
|
+
/**
|
|
7310
|
+
* Text Display
|
|
7311
|
+
*/
|
|
7312
|
+
'text': string;
|
|
7313
|
+
/**
|
|
7314
|
+
* MIS
|
|
7315
|
+
*/
|
|
7316
|
+
'mis': string;
|
|
7317
|
+
/**
|
|
7318
|
+
* Address
|
|
7319
|
+
*/
|
|
7320
|
+
'address': string;
|
|
7321
|
+
}
|
|
7285
7322
|
/**
|
|
7286
7323
|
* Serial Number Request
|
|
7287
7324
|
*/
|
|
@@ -17085,6 +17122,13 @@ export declare const Class3CXIntegrationsApiAxiosParamCreator: (configuration?:
|
|
|
17085
17122
|
* @throws {RequiredError}
|
|
17086
17123
|
*/
|
|
17087
17124
|
getGetTrusts: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17125
|
+
/**
|
|
17126
|
+
* Seach EdTechPro Schools
|
|
17127
|
+
* @param {string} search School Name, Dfe code or URN
|
|
17128
|
+
* @param {*} [options] Override http request option.
|
|
17129
|
+
* @throws {RequiredError}
|
|
17130
|
+
*/
|
|
17131
|
+
getSearchSchools: (search: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17088
17132
|
/**
|
|
17089
17133
|
* Update EdTechPro School Order Reference
|
|
17090
17134
|
* @param {number} clientId ETP Client ID
|
|
@@ -17136,6 +17180,13 @@ export declare const Class3CXIntegrationsApiFp: (configuration?: Configuration)
|
|
|
17136
17180
|
* @throws {RequiredError}
|
|
17137
17181
|
*/
|
|
17138
17182
|
getGetTrusts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EdTechProClientEntity>>>;
|
|
17183
|
+
/**
|
|
17184
|
+
* Seach EdTechPro Schools
|
|
17185
|
+
* @param {string} search School Name, Dfe code or URN
|
|
17186
|
+
* @param {*} [options] Override http request option.
|
|
17187
|
+
* @throws {RequiredError}
|
|
17188
|
+
*/
|
|
17189
|
+
getSearchSchools(search: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SearchSchoolModel>>>;
|
|
17139
17190
|
/**
|
|
17140
17191
|
* Update EdTechPro School Order Reference
|
|
17141
17192
|
* @param {number} clientId ETP Client ID
|
|
@@ -17187,6 +17238,13 @@ export declare const Class3CXIntegrationsApiFactory: (configuration?: Configurat
|
|
|
17187
17238
|
* @throws {RequiredError}
|
|
17188
17239
|
*/
|
|
17189
17240
|
getGetTrusts(options?: RawAxiosRequestConfig): AxiosPromise<Array<EdTechProClientEntity>>;
|
|
17241
|
+
/**
|
|
17242
|
+
* Seach EdTechPro Schools
|
|
17243
|
+
* @param {string} search School Name, Dfe code or URN
|
|
17244
|
+
* @param {*} [options] Override http request option.
|
|
17245
|
+
* @throws {RequiredError}
|
|
17246
|
+
*/
|
|
17247
|
+
getSearchSchools(search: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<SearchSchoolModel>>;
|
|
17190
17248
|
/**
|
|
17191
17249
|
* Update EdTechPro School Order Reference
|
|
17192
17250
|
* @param {number} clientId ETP Client ID
|
|
@@ -17238,6 +17296,13 @@ export declare class Class3CXIntegrationsApi extends BaseAPI {
|
|
|
17238
17296
|
* @throws {RequiredError}
|
|
17239
17297
|
*/
|
|
17240
17298
|
getGetTrusts(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EdTechProClientEntity[], any, {}>>;
|
|
17299
|
+
/**
|
|
17300
|
+
* Seach EdTechPro Schools
|
|
17301
|
+
* @param {string} search School Name, Dfe code or URN
|
|
17302
|
+
* @param {*} [options] Override http request option.
|
|
17303
|
+
* @throws {RequiredError}
|
|
17304
|
+
*/
|
|
17305
|
+
getSearchSchools(search: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchSchoolModel[], any, {}>>;
|
|
17241
17306
|
/**
|
|
17242
17307
|
* Update EdTechPro School Order Reference
|
|
17243
17308
|
* @param {number} clientId ETP Client ID
|
package/dist/api.js
CHANGED
|
@@ -16729,6 +16729,45 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
16729
16729
|
});
|
|
16730
16730
|
});
|
|
16731
16731
|
},
|
|
16732
|
+
/**
|
|
16733
|
+
* Seach EdTechPro Schools
|
|
16734
|
+
* @param {string} search School Name, Dfe code or URN
|
|
16735
|
+
* @param {*} [options] Override http request option.
|
|
16736
|
+
* @throws {RequiredError}
|
|
16737
|
+
*/
|
|
16738
|
+
getSearchSchools: function (search_1) {
|
|
16739
|
+
var args_1 = [];
|
|
16740
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
16741
|
+
args_1[_i - 1] = arguments[_i];
|
|
16742
|
+
}
|
|
16743
|
+
return __awaiter(_this, __spreadArray([search_1], args_1, true), void 0, function (search, options) {
|
|
16744
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
16745
|
+
if (options === void 0) { options = {}; }
|
|
16746
|
+
return __generator(this, function (_a) {
|
|
16747
|
+
// verify required parameter 'search' is not null or undefined
|
|
16748
|
+
(0, common_1.assertParamExists)('getSearchSchools', 'search', search);
|
|
16749
|
+
localVarPath = "/tcx/integrations/edtechpro/search/schools";
|
|
16750
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16751
|
+
if (configuration) {
|
|
16752
|
+
baseOptions = configuration.baseOptions;
|
|
16753
|
+
}
|
|
16754
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
16755
|
+
localVarHeaderParameter = {};
|
|
16756
|
+
localVarQueryParameter = {};
|
|
16757
|
+
if (search !== undefined) {
|
|
16758
|
+
localVarQueryParameter['search'] = search;
|
|
16759
|
+
}
|
|
16760
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
16761
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16762
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16763
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16764
|
+
return [2 /*return*/, {
|
|
16765
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16766
|
+
options: localVarRequestOptions,
|
|
16767
|
+
}];
|
|
16768
|
+
});
|
|
16769
|
+
});
|
|
16770
|
+
},
|
|
16732
16771
|
/**
|
|
16733
16772
|
* Update EdTechPro School Order Reference
|
|
16734
16773
|
* @param {number} clientId ETP Client ID
|
|
@@ -16924,6 +16963,28 @@ var Class3CXIntegrationsApiFp = function (configuration) {
|
|
|
16924
16963
|
});
|
|
16925
16964
|
});
|
|
16926
16965
|
},
|
|
16966
|
+
/**
|
|
16967
|
+
* Seach EdTechPro Schools
|
|
16968
|
+
* @param {string} search School Name, Dfe code or URN
|
|
16969
|
+
* @param {*} [options] Override http request option.
|
|
16970
|
+
* @throws {RequiredError}
|
|
16971
|
+
*/
|
|
16972
|
+
getSearchSchools: function (search, options) {
|
|
16973
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
16974
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
16975
|
+
var _a, _b, _c;
|
|
16976
|
+
return __generator(this, function (_d) {
|
|
16977
|
+
switch (_d.label) {
|
|
16978
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSearchSchools(search, options)];
|
|
16979
|
+
case 1:
|
|
16980
|
+
localVarAxiosArgs = _d.sent();
|
|
16981
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16982
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXIntegrationsApi.getSearchSchools']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16983
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
16984
|
+
}
|
|
16985
|
+
});
|
|
16986
|
+
});
|
|
16987
|
+
},
|
|
16927
16988
|
/**
|
|
16928
16989
|
* Update EdTechPro School Order Reference
|
|
16929
16990
|
* @param {number} clientId ETP Client ID
|
|
@@ -17030,6 +17091,15 @@ var Class3CXIntegrationsApiFactory = function (configuration, basePath, axios) {
|
|
|
17030
17091
|
getGetTrusts: function (options) {
|
|
17031
17092
|
return localVarFp.getGetTrusts(options).then(function (request) { return request(axios, basePath); });
|
|
17032
17093
|
},
|
|
17094
|
+
/**
|
|
17095
|
+
* Seach EdTechPro Schools
|
|
17096
|
+
* @param {string} search School Name, Dfe code or URN
|
|
17097
|
+
* @param {*} [options] Override http request option.
|
|
17098
|
+
* @throws {RequiredError}
|
|
17099
|
+
*/
|
|
17100
|
+
getSearchSchools: function (search, options) {
|
|
17101
|
+
return localVarFp.getSearchSchools(search, options).then(function (request) { return request(axios, basePath); });
|
|
17102
|
+
},
|
|
17033
17103
|
/**
|
|
17034
17104
|
* Update EdTechPro School Order Reference
|
|
17035
17105
|
* @param {number} clientId ETP Client ID
|
|
@@ -17102,6 +17172,16 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
17102
17172
|
var _this = this;
|
|
17103
17173
|
return (0, exports.Class3CXIntegrationsApiFp)(this.configuration).getGetTrusts(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17104
17174
|
};
|
|
17175
|
+
/**
|
|
17176
|
+
* Seach EdTechPro Schools
|
|
17177
|
+
* @param {string} search School Name, Dfe code or URN
|
|
17178
|
+
* @param {*} [options] Override http request option.
|
|
17179
|
+
* @throws {RequiredError}
|
|
17180
|
+
*/
|
|
17181
|
+
Class3CXIntegrationsApi.prototype.getSearchSchools = function (search, options) {
|
|
17182
|
+
var _this = this;
|
|
17183
|
+
return (0, exports.Class3CXIntegrationsApiFp)(this.configuration).getSearchSchools(search, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17184
|
+
};
|
|
17105
17185
|
/**
|
|
17106
17186
|
* Update EdTechPro School Order Reference
|
|
17107
17187
|
* @param {number} clientId ETP Client ID
|
|
@@ -7,6 +7,7 @@ All URIs are relative to *https://bitbucket.org*
|
|
|
7
7
|
|[**getGetPrice**](#getgetprice) | **GET** /tcx/integrations/edtechpro/prices | |
|
|
8
8
|
|[**getGetSchools**](#getgetschools) | **GET** /tcx/integrations/edtechpro/schools | |
|
|
9
9
|
|[**getGetTrusts**](#getgettrusts) | **GET** /tcx/integrations/edtechpro/trusts | |
|
|
10
|
+
|[**getSearchSchools**](#getsearchschools) | **GET** /tcx/integrations/edtechpro/search/schools | |
|
|
10
11
|
|[**patchUpdateEtpOrderReference**](#patchupdateetporderreference) | **PATCH** /tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference | |
|
|
11
12
|
|[**postOrderEdTechPro**](#postorderedtechpro) | **POST** /tcx/integrations/edtechpro/orders | |
|
|
12
13
|
|[**postUpgradeEdTechPro**](#postupgradeedtechpro) | **POST** /tcx/integrations/edtechpro/upgrades | |
|
|
@@ -172,6 +173,57 @@ No authorization required
|
|
|
172
173
|
|
|
173
174
|
[[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)
|
|
174
175
|
|
|
176
|
+
# **getSearchSchools**
|
|
177
|
+
> Array<SearchSchoolModel> getSearchSchools()
|
|
178
|
+
|
|
179
|
+
Seach EdTechPro Schools
|
|
180
|
+
|
|
181
|
+
### Example
|
|
182
|
+
|
|
183
|
+
```typescript
|
|
184
|
+
import {
|
|
185
|
+
Class3CXIntegrationsApi,
|
|
186
|
+
Configuration
|
|
187
|
+
} from 'yellowgrid-api-ts';
|
|
188
|
+
|
|
189
|
+
const configuration = new Configuration();
|
|
190
|
+
const apiInstance = new Class3CXIntegrationsApi(configuration);
|
|
191
|
+
|
|
192
|
+
let search: string; //School Name, Dfe code or URN (default to undefined)
|
|
193
|
+
|
|
194
|
+
const { status, data } = await apiInstance.getSearchSchools(
|
|
195
|
+
search
|
|
196
|
+
);
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
### Parameters
|
|
200
|
+
|
|
201
|
+
|Name | Type | Description | Notes|
|
|
202
|
+
|------------- | ------------- | ------------- | -------------|
|
|
203
|
+
| **search** | [**string**] | School Name, Dfe code or URN | defaults to undefined|
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
### Return type
|
|
207
|
+
|
|
208
|
+
**Array<SearchSchoolModel>**
|
|
209
|
+
|
|
210
|
+
### Authorization
|
|
211
|
+
|
|
212
|
+
No authorization required
|
|
213
|
+
|
|
214
|
+
### HTTP request headers
|
|
215
|
+
|
|
216
|
+
- **Content-Type**: Not defined
|
|
217
|
+
- **Accept**: application/json
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
### HTTP response details
|
|
221
|
+
| Status code | Description | Response headers |
|
|
222
|
+
|-------------|-------------|------------------|
|
|
223
|
+
|**200** | EdTechPro Schools | - |
|
|
224
|
+
|
|
225
|
+
[[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)
|
|
226
|
+
|
|
175
227
|
# **patchUpdateEtpOrderReference**
|
|
176
228
|
> patchUpdateEtpOrderReference()
|
|
177
229
|
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# SearchSchoolModel
|
|
2
|
+
|
|
3
|
+
EdTechPro School Information
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | School ID | [default to undefined]
|
|
10
|
+
**urn** | **string** | URN Number | [default to undefined]
|
|
11
|
+
**dfe** | **string** | DFE Code | [default to undefined]
|
|
12
|
+
**name** | **string** | School Name | [default to undefined]
|
|
13
|
+
**phaseOfEducation** | **string** | Phase of Education | [default to undefined]
|
|
14
|
+
**text** | **string** | Text Display | [default to undefined]
|
|
15
|
+
**mis** | **string** | MIS | [default to undefined]
|
|
16
|
+
**address** | **string** | Address | [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { SearchSchoolModel } from 'yellowgrid-api-ts';
|
|
22
|
+
|
|
23
|
+
const instance: SearchSchoolModel = {
|
|
24
|
+
id,
|
|
25
|
+
urn,
|
|
26
|
+
dfe,
|
|
27
|
+
name,
|
|
28
|
+
phaseOfEducation,
|
|
29
|
+
text,
|
|
30
|
+
mis,
|
|
31
|
+
address,
|
|
32
|
+
};
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|