@emilgroup/partner-sdk 1.13.1-beta.1 → 1.13.1-beta.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 +2 -2
- package/api/partner-invitations-api.ts +4 -4
- package/api/partner-relations-api.ts +66 -66
- package/api/partner-tags-api.ts +43 -43
- package/api/partner-types-api.ts +60 -60
- package/api/partner-versions-api.ts +27 -27
- package/api/partners-api.ts +66 -66
- package/dist/api/partner-invitations-api.d.ts +4 -4
- package/dist/api/partner-invitations-api.js +4 -4
- package/dist/api/partner-relations-api.d.ts +66 -66
- package/dist/api/partner-relations-api.js +46 -46
- package/dist/api/partner-tags-api.d.ts +43 -43
- package/dist/api/partner-tags-api.js +32 -32
- package/dist/api/partner-types-api.d.ts +60 -60
- package/dist/api/partner-types-api.js +41 -41
- package/dist/api/partner-versions-api.d.ts +27 -27
- package/dist/api/partner-versions-api.js +17 -17
- package/dist/api/partners-api.d.ts +66 -66
- package/dist/api/partners-api.js +46 -46
- package/package.json +1 -1
package/dist/api/partners-api.js
CHANGED
|
@@ -93,7 +93,7 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* This will create a partner.
|
|
96
|
+
* This will create a partner.
|
|
97
97
|
* @summary Create the partner
|
|
98
98
|
* @param {CreatePartnerRequestDto} createPartnerRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -142,7 +142,7 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
|
|
145
|
+
* Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
|
|
146
146
|
* @summary Delete the partner
|
|
147
147
|
* @param {string} code
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -190,7 +190,7 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
193
|
+
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
194
194
|
* @summary Retrieve the partner
|
|
195
195
|
* @param {string} code Unique identifier for the object.
|
|
196
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -242,13 +242,13 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
242
242
|
});
|
|
243
243
|
},
|
|
244
244
|
/**
|
|
245
|
-
* Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
245
|
+
* Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
246
246
|
* @summary List partners
|
|
247
247
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
248
|
-
* @param {
|
|
249
|
-
* @param {
|
|
248
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
249
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
250
250
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
251
|
-
* @param {
|
|
251
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
252
252
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</i>
|
|
253
253
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags<i>
|
|
254
254
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
@@ -314,14 +314,14 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
314
314
|
});
|
|
315
315
|
},
|
|
316
316
|
/**
|
|
317
|
-
* Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
317
|
+
* Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
318
318
|
* @summary List grouped relations for partner
|
|
319
319
|
* @param {string} code
|
|
320
320
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
321
|
-
* @param {
|
|
322
|
-
* @param {
|
|
321
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
322
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
323
323
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
324
|
-
* @param {
|
|
324
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
325
325
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt</i>
|
|
326
326
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partner1, partner2, partnerRelationType<i>
|
|
327
327
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
@@ -390,7 +390,7 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
390
390
|
});
|
|
391
391
|
},
|
|
392
392
|
/**
|
|
393
|
-
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
393
|
+
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
394
394
|
* @summary Update the partner
|
|
395
395
|
* @param {string} code
|
|
396
396
|
* @param {TagPartnerRequestDtoRest} tagPartnerRequestDtoRest
|
|
@@ -443,7 +443,7 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
443
443
|
});
|
|
444
444
|
},
|
|
445
445
|
/**
|
|
446
|
-
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
446
|
+
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
447
447
|
* @summary Update the partner
|
|
448
448
|
* @param {string} code Unique identifier for the object.
|
|
449
449
|
* @param {UpdatePartnerRequestDto} updatePartnerRequestDto
|
|
@@ -506,7 +506,7 @@ var PartnersApiFp = function (configuration) {
|
|
|
506
506
|
var localVarAxiosParamCreator = (0, exports.PartnersApiAxiosParamCreator)(configuration);
|
|
507
507
|
return {
|
|
508
508
|
/**
|
|
509
|
-
* This will create a partner.
|
|
509
|
+
* This will create a partner.
|
|
510
510
|
* @summary Create the partner
|
|
511
511
|
* @param {CreatePartnerRequestDto} createPartnerRequestDto
|
|
512
512
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -527,7 +527,7 @@ var PartnersApiFp = function (configuration) {
|
|
|
527
527
|
});
|
|
528
528
|
},
|
|
529
529
|
/**
|
|
530
|
-
* Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
|
|
530
|
+
* Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
|
|
531
531
|
* @summary Delete the partner
|
|
532
532
|
* @param {string} code
|
|
533
533
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -548,7 +548,7 @@ var PartnersApiFp = function (configuration) {
|
|
|
548
548
|
});
|
|
549
549
|
},
|
|
550
550
|
/**
|
|
551
|
-
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
551
|
+
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
552
552
|
* @summary Retrieve the partner
|
|
553
553
|
* @param {string} code Unique identifier for the object.
|
|
554
554
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -570,13 +570,13 @@ var PartnersApiFp = function (configuration) {
|
|
|
570
570
|
});
|
|
571
571
|
},
|
|
572
572
|
/**
|
|
573
|
-
* Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
573
|
+
* Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
574
574
|
* @summary List partners
|
|
575
575
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
576
|
-
* @param {
|
|
577
|
-
* @param {
|
|
576
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
577
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
578
578
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
579
|
-
* @param {
|
|
579
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
580
580
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</i>
|
|
581
581
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags<i>
|
|
582
582
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
@@ -597,14 +597,14 @@ var PartnersApiFp = function (configuration) {
|
|
|
597
597
|
});
|
|
598
598
|
},
|
|
599
599
|
/**
|
|
600
|
-
* Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
600
|
+
* Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
601
601
|
* @summary List grouped relations for partner
|
|
602
602
|
* @param {string} code
|
|
603
603
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
604
|
-
* @param {
|
|
605
|
-
* @param {
|
|
604
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
605
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
606
606
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
607
|
-
* @param {
|
|
607
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
608
608
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt</i>
|
|
609
609
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partner1, partner2, partnerRelationType<i>
|
|
610
610
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
@@ -625,7 +625,7 @@ var PartnersApiFp = function (configuration) {
|
|
|
625
625
|
});
|
|
626
626
|
},
|
|
627
627
|
/**
|
|
628
|
-
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
628
|
+
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
629
629
|
* @summary Update the partner
|
|
630
630
|
* @param {string} code
|
|
631
631
|
* @param {TagPartnerRequestDtoRest} tagPartnerRequestDtoRest
|
|
@@ -647,7 +647,7 @@ var PartnersApiFp = function (configuration) {
|
|
|
647
647
|
});
|
|
648
648
|
},
|
|
649
649
|
/**
|
|
650
|
-
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
650
|
+
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
651
651
|
* @summary Update the partner
|
|
652
652
|
* @param {string} code Unique identifier for the object.
|
|
653
653
|
* @param {UpdatePartnerRequestDto} updatePartnerRequestDto
|
|
@@ -679,7 +679,7 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
679
679
|
var localVarFp = (0, exports.PartnersApiFp)(configuration);
|
|
680
680
|
return {
|
|
681
681
|
/**
|
|
682
|
-
* This will create a partner.
|
|
682
|
+
* This will create a partner.
|
|
683
683
|
* @summary Create the partner
|
|
684
684
|
* @param {CreatePartnerRequestDto} createPartnerRequestDto
|
|
685
685
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -690,7 +690,7 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
690
690
|
return localVarFp.createPartner(createPartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
691
691
|
},
|
|
692
692
|
/**
|
|
693
|
-
* Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
|
|
693
|
+
* Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
|
|
694
694
|
* @summary Delete the partner
|
|
695
695
|
* @param {string} code
|
|
696
696
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -701,7 +701,7 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
701
701
|
return localVarFp.deletePartner(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
702
702
|
},
|
|
703
703
|
/**
|
|
704
|
-
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
704
|
+
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
705
705
|
* @summary Retrieve the partner
|
|
706
706
|
* @param {string} code Unique identifier for the object.
|
|
707
707
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -713,13 +713,13 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
713
713
|
return localVarFp.getPartner(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
714
714
|
},
|
|
715
715
|
/**
|
|
716
|
-
* Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
716
|
+
* Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
717
717
|
* @summary List partners
|
|
718
718
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
719
|
-
* @param {
|
|
720
|
-
* @param {
|
|
719
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
720
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
721
721
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
722
|
-
* @param {
|
|
722
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
723
723
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs</i>
|
|
724
724
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags<i>
|
|
725
725
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
@@ -730,14 +730,14 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
730
730
|
return localVarFp.listPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
731
731
|
},
|
|
732
732
|
/**
|
|
733
|
-
* Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
733
|
+
* Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
734
734
|
* @summary List grouped relations for partner
|
|
735
735
|
* @param {string} code
|
|
736
736
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
737
|
-
* @param {
|
|
738
|
-
* @param {
|
|
737
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
738
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
739
739
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
740
|
-
* @param {
|
|
740
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
741
741
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt</i>
|
|
742
742
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partner1, partner2, partnerRelationType<i>
|
|
743
743
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
@@ -748,7 +748,7 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
748
748
|
return localVarFp.listRelationsForPartner(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
749
749
|
},
|
|
750
750
|
/**
|
|
751
|
-
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
751
|
+
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
752
752
|
* @summary Update the partner
|
|
753
753
|
* @param {string} code
|
|
754
754
|
* @param {TagPartnerRequestDtoRest} tagPartnerRequestDtoRest
|
|
@@ -760,7 +760,7 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
760
760
|
return localVarFp.tagPartner(code, tagPartnerRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
761
761
|
},
|
|
762
762
|
/**
|
|
763
|
-
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
763
|
+
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
764
764
|
* @summary Update the partner
|
|
765
765
|
* @param {string} code Unique identifier for the object.
|
|
766
766
|
* @param {UpdatePartnerRequestDto} updatePartnerRequestDto
|
|
@@ -786,7 +786,7 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
786
786
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
787
787
|
}
|
|
788
788
|
/**
|
|
789
|
-
* This will create a partner.
|
|
789
|
+
* This will create a partner.
|
|
790
790
|
* @summary Create the partner
|
|
791
791
|
* @param {PartnersApiCreatePartnerRequest} requestParameters Request parameters.
|
|
792
792
|
* @param {*} [options] Override http request option.
|
|
@@ -798,7 +798,7 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
798
798
|
return (0, exports.PartnersApiFp)(this.configuration).createPartner(requestParameters.createPartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
799
799
|
};
|
|
800
800
|
/**
|
|
801
|
-
* Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
|
|
801
|
+
* Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
|
|
802
802
|
* @summary Delete the partner
|
|
803
803
|
* @param {PartnersApiDeletePartnerRequest} requestParameters Request parameters.
|
|
804
804
|
* @param {*} [options] Override http request option.
|
|
@@ -810,7 +810,7 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
810
810
|
return (0, exports.PartnersApiFp)(this.configuration).deletePartner(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
811
811
|
};
|
|
812
812
|
/**
|
|
813
|
-
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
813
|
+
* Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
|
|
814
814
|
* @summary Retrieve the partner
|
|
815
815
|
* @param {PartnersApiGetPartnerRequest} requestParameters Request parameters.
|
|
816
816
|
* @param {*} [options] Override http request option.
|
|
@@ -822,7 +822,7 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
822
822
|
return (0, exports.PartnersApiFp)(this.configuration).getPartner(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
823
823
|
};
|
|
824
824
|
/**
|
|
825
|
-
* Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
825
|
+
* Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
826
826
|
* @summary List partners
|
|
827
827
|
* @param {PartnersApiListPartnersRequest} requestParameters Request parameters.
|
|
828
828
|
* @param {*} [options] Override http request option.
|
|
@@ -835,7 +835,7 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
835
835
|
return (0, exports.PartnersApiFp)(this.configuration).listPartners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
836
836
|
};
|
|
837
837
|
/**
|
|
838
|
-
* Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
838
|
+
* Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
839
839
|
* @summary List grouped relations for partner
|
|
840
840
|
* @param {PartnersApiListRelationsForPartnerRequest} requestParameters Request parameters.
|
|
841
841
|
* @param {*} [options] Override http request option.
|
|
@@ -847,7 +847,7 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
847
847
|
return (0, exports.PartnersApiFp)(this.configuration).listRelationsForPartner(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
848
848
|
};
|
|
849
849
|
/**
|
|
850
|
-
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
850
|
+
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
851
851
|
* @summary Update the partner
|
|
852
852
|
* @param {PartnersApiTagPartnerRequest} requestParameters Request parameters.
|
|
853
853
|
* @param {*} [options] Override http request option.
|
|
@@ -859,7 +859,7 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
859
859
|
return (0, exports.PartnersApiFp)(this.configuration).tagPartner(requestParameters.code, requestParameters.tagPartnerRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
860
860
|
};
|
|
861
861
|
/**
|
|
862
|
-
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
862
|
+
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
863
863
|
* @summary Update the partner
|
|
864
864
|
* @param {PartnersApiUpdatePartnerRequest} requestParameters Request parameters.
|
|
865
865
|
* @param {*} [options] Override http request option.
|