@emilgroup/partner-sdk-node 1.4.1-beta.0 → 1.5.1-beta.0

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.
Files changed (83) hide show
  1. package/.openapi-generator/FILES +10 -5
  2. package/README.md +2 -2
  3. package/api/{partners-api.ts → partner-api.ts} +90 -90
  4. package/api/partner-invitation-api.ts +169 -0
  5. package/api/{partner-relations-api.ts → partner-relation-api.ts} +95 -95
  6. package/api/{partner-tags-api.ts → partner-tag-api.ts} +70 -70
  7. package/api/{partner-types-api.ts → partner-type-api.ts} +68 -68
  8. package/api/partner-version-api.ts +4 -4
  9. package/api.ts +10 -8
  10. package/base.ts +3 -3
  11. package/dist/api/{partners-api.d.ts → partner-api.d.ts} +82 -82
  12. package/dist/api/{partners-api.js → partner-api.js} +56 -56
  13. package/dist/api/partner-invitation-api.d.ts +97 -0
  14. package/dist/api/partner-invitation-api.js +228 -0
  15. package/dist/api/{partner-relations-api.d.ts → partner-relation-api.d.ts} +86 -86
  16. package/dist/api/{partner-relations-api.js → partner-relation-api.js} +53 -53
  17. package/dist/api/{partner-tags-api.d.ts → partner-tag-api.d.ts} +63 -63
  18. package/dist/api/{partner-tags-api.js → partner-tag-api.js} +46 -46
  19. package/dist/api/{partner-types-api.d.ts → partner-type-api.d.ts} +61 -61
  20. package/dist/api/{partner-types-api.js → partner-type-api.js} +43 -43
  21. package/dist/api/partner-version-api.d.ts +4 -4
  22. package/dist/api/partner-version-api.js +3 -3
  23. package/dist/api.d.ts +5 -4
  24. package/dist/api.js +5 -4
  25. package/dist/base.d.ts +2 -2
  26. package/dist/base.js +1 -2
  27. package/dist/models/create-partner-response-class.d.ts +7 -0
  28. package/dist/models/create-partner-type-request-dto.d.ts +2 -3
  29. package/dist/models/create-partner-type-response-class.d.ts +1 -1
  30. package/dist/models/create-tag-request-dto.d.ts +1 -1
  31. package/dist/models/get-partner-type-response-class.d.ts +1 -1
  32. package/dist/models/get-partner-version-response-class.d.ts +3 -3
  33. package/dist/models/index.d.ts +5 -1
  34. package/dist/models/index.js +5 -1
  35. package/dist/models/invite-class.d.ts +79 -0
  36. package/dist/models/invite-partner-to-eis-response-class.d.ts +25 -0
  37. package/dist/models/invite-partner-to-eis-response-class.js +15 -0
  38. package/dist/models/invite-partner-to-eisrequest-dto.d.ts +42 -0
  39. package/dist/models/invite-partner-to-eisrequest-dto.js +15 -0
  40. package/dist/models/list-partner-relation-class.d.ts +1 -1
  41. package/dist/models/list-partner-relation-types-class.d.ts +1 -1
  42. package/dist/models/list-partner-types-response-class.d.ts +1 -1
  43. package/dist/models/list-partner-versions-response-class.d.ts +7 -1
  44. package/dist/models/list-partners-response-class.d.ts +1 -1
  45. package/dist/models/partner-class.d.ts +24 -6
  46. package/dist/models/partner-relation-class.d.ts +12 -0
  47. package/dist/models/partner-relation-type-class.d.ts +12 -0
  48. package/dist/models/partner-type-class.d.ts +12 -0
  49. package/dist/models/permission-class.d.ts +72 -0
  50. package/dist/models/permission-class.js +15 -0
  51. package/dist/models/role-class.d.ts +73 -0
  52. package/dist/models/role-class.js +15 -0
  53. package/dist/models/tag-class.d.ts +12 -0
  54. package/dist/models/update-partner-type-request-dto.d.ts +2 -3
  55. package/dist/models/update-partner-type-response-class.d.ts +1 -1
  56. package/models/create-partner-response-class.ts +7 -0
  57. package/models/create-partner-type-request-dto.ts +2 -3
  58. package/models/create-partner-type-response-class.ts +1 -1
  59. package/models/create-tag-request-dto.ts +1 -1
  60. package/models/get-partner-type-response-class.ts +1 -1
  61. package/models/get-partner-version-response-class.ts +3 -3
  62. package/models/index.ts +5 -1
  63. package/models/invite-class.ts +85 -0
  64. package/models/invite-partner-to-eis-response-class.ts +31 -0
  65. package/models/invite-partner-to-eisrequest-dto.ts +48 -0
  66. package/models/list-partner-relation-class.ts +1 -1
  67. package/models/list-partner-relation-types-class.ts +1 -1
  68. package/models/list-partner-types-response-class.ts +1 -1
  69. package/models/list-partner-versions-response-class.ts +7 -1
  70. package/models/list-partners-response-class.ts +1 -1
  71. package/models/partner-class.ts +24 -6
  72. package/models/partner-relation-class.ts +12 -0
  73. package/models/partner-relation-type-class.ts +12 -0
  74. package/models/partner-type-class.ts +12 -0
  75. package/models/permission-class.ts +78 -0
  76. package/models/role-class.ts +79 -0
  77. package/models/tag-class.ts +12 -0
  78. package/models/update-partner-type-request-dto.ts +2 -3
  79. package/models/update-partner-type-response-class.ts +1 -1
  80. package/package.json +1 -1
  81. package/dist/models/partner-type-custom-schema-dto.d.ts +0 -102
  82. package/models/partner-type-custom-schema-dto.ts +0 -108
  83. /package/dist/models/{partner-type-custom-schema-dto.js → invite-class.js} +0 -0
@@ -41,10 +41,10 @@ import { UpdatePartnerRelationRequestDtoRest } from '../models';
41
41
  import { URL, URLSearchParams } from 'url';
42
42
  const FormData = require('form-data');
43
43
  /**
44
- * PartnerRelationsApi - axios parameter creator
44
+ * PartnerRelationApi - axios parameter creator
45
45
  * @export
46
46
  */
47
- export const PartnerRelationsApiAxiosParamCreator = function (configuration?: Configuration) {
47
+ export const PartnerRelationApiAxiosParamCreator = function (configuration?: Configuration) {
48
48
  return {
49
49
  /**
50
50
  * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
@@ -237,7 +237,7 @@ export const PartnerRelationsApiAxiosParamCreator = function (configuration?: Co
237
237
  * @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, slug, relationName, maxCardinality, inverseMaxCardinality</i>
238
238
  * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
239
239
  * @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, slug, maxCardinality, inverseMaxCardinality, createdAt, updatedAt</i>
240
- * @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: .<i>
240
+ * @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: <i>
241
241
  * @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, slug, relationName, maxCardinality, inverseMaxCardinality</i>
242
242
  * @param {*} [options] Override http request option.
243
243
  * @throws {RequiredError}
@@ -313,7 +313,7 @@ export const PartnerRelationsApiAxiosParamCreator = function (configuration?: Co
313
313
  * @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>
314
314
  * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
315
315
  * @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>
316
- * @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: partnerRelationType.<i>
316
+ * @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: partnerRelationType<i>
317
317
  * @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>
318
318
  * @param {*} [options] Override http request option.
319
319
  * @throws {RequiredError}
@@ -435,11 +435,11 @@ export const PartnerRelationsApiAxiosParamCreator = function (configuration?: Co
435
435
  };
436
436
 
437
437
  /**
438
- * PartnerRelationsApi - functional programming interface
438
+ * PartnerRelationApi - functional programming interface
439
439
  * @export
440
440
  */
441
- export const PartnerRelationsApiFp = function(configuration?: Configuration) {
442
- const localVarAxiosParamCreator = PartnerRelationsApiAxiosParamCreator(configuration)
441
+ export const PartnerRelationApiFp = function(configuration?: Configuration) {
442
+ const localVarAxiosParamCreator = PartnerRelationApiAxiosParamCreator(configuration)
443
443
  return {
444
444
  /**
445
445
  * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
@@ -498,7 +498,7 @@ export const PartnerRelationsApiFp = function(configuration?: Configuration) {
498
498
  * @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, slug, relationName, maxCardinality, inverseMaxCardinality</i>
499
499
  * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
500
500
  * @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, slug, maxCardinality, inverseMaxCardinality, createdAt, updatedAt</i>
501
- * @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: .<i>
501
+ * @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: <i>
502
502
  * @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, slug, relationName, maxCardinality, inverseMaxCardinality</i>
503
503
  * @param {*} [options] Override http request option.
504
504
  * @throws {RequiredError}
@@ -516,7 +516,7 @@ export const PartnerRelationsApiFp = function(configuration?: Configuration) {
516
516
  * @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>
517
517
  * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
518
518
  * @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>
519
- * @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: partnerRelationType.<i>
519
+ * @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: partnerRelationType<i>
520
520
  * @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>
521
521
  * @param {*} [options] Override http request option.
522
522
  * @throws {RequiredError}
@@ -542,11 +542,11 @@ export const PartnerRelationsApiFp = function(configuration?: Configuration) {
542
542
  };
543
543
 
544
544
  /**
545
- * PartnerRelationsApi - factory interface
545
+ * PartnerRelationApi - factory interface
546
546
  * @export
547
547
  */
548
- export const PartnerRelationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
549
- const localVarFp = PartnerRelationsApiFp(configuration)
548
+ export const PartnerRelationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
549
+ const localVarFp = PartnerRelationApiFp(configuration)
550
550
  return {
551
551
  /**
552
552
  * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
@@ -601,7 +601,7 @@ export const PartnerRelationsApiFactory = function (configuration?: Configuratio
601
601
  * @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, slug, relationName, maxCardinality, inverseMaxCardinality</i>
602
602
  * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
603
603
  * @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, slug, maxCardinality, inverseMaxCardinality, createdAt, updatedAt</i>
604
- * @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: .<i>
604
+ * @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: <i>
605
605
  * @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, slug, relationName, maxCardinality, inverseMaxCardinality</i>
606
606
  * @param {*} [options] Override http request option.
607
607
  * @throws {RequiredError}
@@ -618,7 +618,7 @@ export const PartnerRelationsApiFactory = function (configuration?: Configuratio
618
618
  * @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>
619
619
  * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
620
620
  * @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>
621
- * @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: partnerRelationType.<i>
621
+ * @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: partnerRelationType<i>
622
622
  * @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>
623
623
  * @param {*} [options] Override http request option.
624
624
  * @throws {RequiredError}
@@ -642,331 +642,331 @@ export const PartnerRelationsApiFactory = function (configuration?: Configuratio
642
642
  };
643
643
 
644
644
  /**
645
- * Request parameters for createPartnerRelation operation in PartnerRelationsApi.
645
+ * Request parameters for createPartnerRelation operation in PartnerRelationApi.
646
646
  * @export
647
- * @interface PartnerRelationsApiCreatePartnerRelationRequest
647
+ * @interface PartnerRelationApiCreatePartnerRelationRequest
648
648
  */
649
- export interface PartnerRelationsApiCreatePartnerRelationRequest {
649
+ export interface PartnerRelationApiCreatePartnerRelationRequest {
650
650
  /**
651
651
  *
652
652
  * @type {CreatePartnerRelationRequestDtoRest}
653
- * @memberof PartnerRelationsApiCreatePartnerRelation
653
+ * @memberof PartnerRelationApiCreatePartnerRelation
654
654
  */
655
655
  readonly createPartnerRelationRequestDtoRest: CreatePartnerRelationRequestDtoRest
656
656
 
657
657
  /**
658
658
  * Bearer Token: provided by the login endpoint under the name accessToken.
659
659
  * @type {string}
660
- * @memberof PartnerRelationsApiCreatePartnerRelation
660
+ * @memberof PartnerRelationApiCreatePartnerRelation
661
661
  */
662
662
  readonly authorization?: string
663
663
  }
664
664
 
665
665
  /**
666
- * Request parameters for deletePartnerRelation operation in PartnerRelationsApi.
666
+ * Request parameters for deletePartnerRelation operation in PartnerRelationApi.
667
667
  * @export
668
- * @interface PartnerRelationsApiDeletePartnerRelationRequest
668
+ * @interface PartnerRelationApiDeletePartnerRelationRequest
669
669
  */
670
- export interface PartnerRelationsApiDeletePartnerRelationRequest {
670
+ export interface PartnerRelationApiDeletePartnerRelationRequest {
671
671
  /**
672
672
  *
673
673
  * @type {number}
674
- * @memberof PartnerRelationsApiDeletePartnerRelation
674
+ * @memberof PartnerRelationApiDeletePartnerRelation
675
675
  */
676
676
  readonly id: number
677
677
 
678
678
  /**
679
679
  * Bearer Token: provided by the login endpoint under the name accessToken.
680
680
  * @type {string}
681
- * @memberof PartnerRelationsApiDeletePartnerRelation
681
+ * @memberof PartnerRelationApiDeletePartnerRelation
682
682
  */
683
683
  readonly authorization?: string
684
684
  }
685
685
 
686
686
  /**
687
- * Request parameters for getPartnerRelation operation in PartnerRelationsApi.
687
+ * Request parameters for getPartnerRelation operation in PartnerRelationApi.
688
688
  * @export
689
- * @interface PartnerRelationsApiGetPartnerRelationRequest
689
+ * @interface PartnerRelationApiGetPartnerRelationRequest
690
690
  */
691
- export interface PartnerRelationsApiGetPartnerRelationRequest {
691
+ export interface PartnerRelationApiGetPartnerRelationRequest {
692
692
  /**
693
693
  * Id of the partner relation
694
694
  * @type {number}
695
- * @memberof PartnerRelationsApiGetPartnerRelation
695
+ * @memberof PartnerRelationApiGetPartnerRelation
696
696
  */
697
697
  readonly id: number
698
698
 
699
699
  /**
700
700
  * Bearer Token: provided by the login endpoint under the name accessToken.
701
701
  * @type {string}
702
- * @memberof PartnerRelationsApiGetPartnerRelation
702
+ * @memberof PartnerRelationApiGetPartnerRelation
703
703
  */
704
704
  readonly authorization?: string
705
705
  }
706
706
 
707
707
  /**
708
- * Request parameters for getPartnerRelationType operation in PartnerRelationsApi.
708
+ * Request parameters for getPartnerRelationType operation in PartnerRelationApi.
709
709
  * @export
710
- * @interface PartnerRelationsApiGetPartnerRelationTypeRequest
710
+ * @interface PartnerRelationApiGetPartnerRelationTypeRequest
711
711
  */
712
- export interface PartnerRelationsApiGetPartnerRelationTypeRequest {
712
+ export interface PartnerRelationApiGetPartnerRelationTypeRequest {
713
713
  /**
714
714
  * Identifying slug of the partner relation type
715
715
  * @type {string}
716
- * @memberof PartnerRelationsApiGetPartnerRelationType
716
+ * @memberof PartnerRelationApiGetPartnerRelationType
717
717
  */
718
718
  readonly slug: string
719
719
 
720
720
  /**
721
721
  * Bearer Token: provided by the login endpoint under the name accessToken.
722
722
  * @type {string}
723
- * @memberof PartnerRelationsApiGetPartnerRelationType
723
+ * @memberof PartnerRelationApiGetPartnerRelationType
724
724
  */
725
725
  readonly authorization?: string
726
726
  }
727
727
 
728
728
  /**
729
- * Request parameters for listPartnerRelationTypes operation in PartnerRelationsApi.
729
+ * Request parameters for listPartnerRelationTypes operation in PartnerRelationApi.
730
730
  * @export
731
- * @interface PartnerRelationsApiListPartnerRelationTypesRequest
731
+ * @interface PartnerRelationApiListPartnerRelationTypesRequest
732
732
  */
733
- export interface PartnerRelationsApiListPartnerRelationTypesRequest {
733
+ export interface PartnerRelationApiListPartnerRelationTypesRequest {
734
734
  /**
735
735
  * Bearer Token: provided by the login endpoint under the name accessToken.
736
736
  * @type {string}
737
- * @memberof PartnerRelationsApiListPartnerRelationTypes
737
+ * @memberof PartnerRelationApiListPartnerRelationTypes
738
738
  */
739
739
  readonly authorization?: string
740
740
 
741
741
  /**
742
742
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
743
743
  * @type {any}
744
- * @memberof PartnerRelationsApiListPartnerRelationTypes
744
+ * @memberof PartnerRelationApiListPartnerRelationTypes
745
745
  */
746
746
  readonly pageSize?: any
747
747
 
748
748
  /**
749
749
  * 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.
750
750
  * @type {any}
751
- * @memberof PartnerRelationsApiListPartnerRelationTypes
751
+ * @memberof PartnerRelationApiListPartnerRelationTypes
752
752
  */
753
753
  readonly pageToken?: any
754
754
 
755
755
  /**
756
756
  * 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, slug, relationName, maxCardinality, inverseMaxCardinality</i>
757
757
  * @type {string}
758
- * @memberof PartnerRelationsApiListPartnerRelationTypes
758
+ * @memberof PartnerRelationApiListPartnerRelationTypes
759
759
  */
760
760
  readonly filter?: string
761
761
 
762
762
  /**
763
763
  * To search the list by any field, pass search=xxx to fetch the result.
764
764
  * @type {any}
765
- * @memberof PartnerRelationsApiListPartnerRelationTypes
765
+ * @memberof PartnerRelationApiListPartnerRelationTypes
766
766
  */
767
767
  readonly search?: any
768
768
 
769
769
  /**
770
770
  * 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, slug, maxCardinality, inverseMaxCardinality, createdAt, updatedAt</i>
771
771
  * @type {string}
772
- * @memberof PartnerRelationsApiListPartnerRelationTypes
772
+ * @memberof PartnerRelationApiListPartnerRelationTypes
773
773
  */
774
774
  readonly order?: string
775
775
 
776
776
  /**
777
- * 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: .<i>
777
+ * 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: <i>
778
778
  * @type {string}
779
- * @memberof PartnerRelationsApiListPartnerRelationTypes
779
+ * @memberof PartnerRelationApiListPartnerRelationTypes
780
780
  */
781
781
  readonly expand?: string
782
782
 
783
783
  /**
784
784
  * 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, slug, relationName, maxCardinality, inverseMaxCardinality</i>
785
785
  * @type {string}
786
- * @memberof PartnerRelationsApiListPartnerRelationTypes
786
+ * @memberof PartnerRelationApiListPartnerRelationTypes
787
787
  */
788
788
  readonly filters?: string
789
789
  }
790
790
 
791
791
  /**
792
- * Request parameters for listPartnerRelations operation in PartnerRelationsApi.
792
+ * Request parameters for listPartnerRelations operation in PartnerRelationApi.
793
793
  * @export
794
- * @interface PartnerRelationsApiListPartnerRelationsRequest
794
+ * @interface PartnerRelationApiListPartnerRelationsRequest
795
795
  */
796
- export interface PartnerRelationsApiListPartnerRelationsRequest {
796
+ export interface PartnerRelationApiListPartnerRelationsRequest {
797
797
  /**
798
798
  * Bearer Token: provided by the login endpoint under the name accessToken.
799
799
  * @type {string}
800
- * @memberof PartnerRelationsApiListPartnerRelations
800
+ * @memberof PartnerRelationApiListPartnerRelations
801
801
  */
802
802
  readonly authorization?: string
803
803
 
804
804
  /**
805
805
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
806
806
  * @type {any}
807
- * @memberof PartnerRelationsApiListPartnerRelations
807
+ * @memberof PartnerRelationApiListPartnerRelations
808
808
  */
809
809
  readonly pageSize?: any
810
810
 
811
811
  /**
812
812
  * 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.
813
813
  * @type {any}
814
- * @memberof PartnerRelationsApiListPartnerRelations
814
+ * @memberof PartnerRelationApiListPartnerRelations
815
815
  */
816
816
  readonly pageToken?: any
817
817
 
818
818
  /**
819
819
  * 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>
820
820
  * @type {string}
821
- * @memberof PartnerRelationsApiListPartnerRelations
821
+ * @memberof PartnerRelationApiListPartnerRelations
822
822
  */
823
823
  readonly filter?: string
824
824
 
825
825
  /**
826
826
  * To search the list by any field, pass search=xxx to fetch the result.
827
827
  * @type {any}
828
- * @memberof PartnerRelationsApiListPartnerRelations
828
+ * @memberof PartnerRelationApiListPartnerRelations
829
829
  */
830
830
  readonly search?: any
831
831
 
832
832
  /**
833
833
  * 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>
834
834
  * @type {string}
835
- * @memberof PartnerRelationsApiListPartnerRelations
835
+ * @memberof PartnerRelationApiListPartnerRelations
836
836
  */
837
837
  readonly order?: string
838
838
 
839
839
  /**
840
- * 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: partnerRelationType.<i>
840
+ * 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: partnerRelationType<i>
841
841
  * @type {string}
842
- * @memberof PartnerRelationsApiListPartnerRelations
842
+ * @memberof PartnerRelationApiListPartnerRelations
843
843
  */
844
844
  readonly expand?: string
845
845
 
846
846
  /**
847
847
  * 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>
848
848
  * @type {string}
849
- * @memberof PartnerRelationsApiListPartnerRelations
849
+ * @memberof PartnerRelationApiListPartnerRelations
850
850
  */
851
851
  readonly filters?: string
852
852
  }
853
853
 
854
854
  /**
855
- * Request parameters for updatePartnerRelation operation in PartnerRelationsApi.
855
+ * Request parameters for updatePartnerRelation operation in PartnerRelationApi.
856
856
  * @export
857
- * @interface PartnerRelationsApiUpdatePartnerRelationRequest
857
+ * @interface PartnerRelationApiUpdatePartnerRelationRequest
858
858
  */
859
- export interface PartnerRelationsApiUpdatePartnerRelationRequest {
859
+ export interface PartnerRelationApiUpdatePartnerRelationRequest {
860
860
  /**
861
861
  * Id of the partner relation
862
862
  * @type {number}
863
- * @memberof PartnerRelationsApiUpdatePartnerRelation
863
+ * @memberof PartnerRelationApiUpdatePartnerRelation
864
864
  */
865
865
  readonly id: number
866
866
 
867
867
  /**
868
868
  *
869
869
  * @type {UpdatePartnerRelationRequestDtoRest}
870
- * @memberof PartnerRelationsApiUpdatePartnerRelation
870
+ * @memberof PartnerRelationApiUpdatePartnerRelation
871
871
  */
872
872
  readonly updatePartnerRelationRequestDtoRest: UpdatePartnerRelationRequestDtoRest
873
873
 
874
874
  /**
875
875
  * Bearer Token: provided by the login endpoint under the name accessToken.
876
876
  * @type {string}
877
- * @memberof PartnerRelationsApiUpdatePartnerRelation
877
+ * @memberof PartnerRelationApiUpdatePartnerRelation
878
878
  */
879
879
  readonly authorization?: string
880
880
  }
881
881
 
882
882
  /**
883
- * PartnerRelationsApi - object-oriented interface
883
+ * PartnerRelationApi - object-oriented interface
884
884
  * @export
885
- * @class PartnerRelationsApi
885
+ * @class PartnerRelationApi
886
886
  * @extends {BaseAPI}
887
887
  */
888
- export class PartnerRelationsApi extends BaseAPI {
888
+ export class PartnerRelationApi extends BaseAPI {
889
889
  /**
890
890
  * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
891
891
  * @summary Create the partner relation
892
- * @param {PartnerRelationsApiCreatePartnerRelationRequest} requestParameters Request parameters.
892
+ * @param {PartnerRelationApiCreatePartnerRelationRequest} requestParameters Request parameters.
893
893
  * @param {*} [options] Override http request option.
894
894
  * @throws {RequiredError}
895
- * @memberof PartnerRelationsApi
895
+ * @memberof PartnerRelationApi
896
896
  */
897
- public createPartnerRelation(requestParameters: PartnerRelationsApiCreatePartnerRelationRequest, options?: AxiosRequestConfig) {
898
- return PartnerRelationsApiFp(this.configuration).createPartnerRelation(requestParameters.createPartnerRelationRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
897
+ public createPartnerRelation(requestParameters: PartnerRelationApiCreatePartnerRelationRequest, options?: AxiosRequestConfig) {
898
+ return PartnerRelationApiFp(this.configuration).createPartnerRelation(requestParameters.createPartnerRelationRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
899
899
  }
900
900
 
901
901
  /**
902
902
  * Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
903
903
  * @summary Delete the partner-relation
904
- * @param {PartnerRelationsApiDeletePartnerRelationRequest} requestParameters Request parameters.
904
+ * @param {PartnerRelationApiDeletePartnerRelationRequest} requestParameters Request parameters.
905
905
  * @param {*} [options] Override http request option.
906
906
  * @throws {RequiredError}
907
- * @memberof PartnerRelationsApi
907
+ * @memberof PartnerRelationApi
908
908
  */
909
- public deletePartnerRelation(requestParameters: PartnerRelationsApiDeletePartnerRelationRequest, options?: AxiosRequestConfig) {
910
- return PartnerRelationsApiFp(this.configuration).deletePartnerRelation(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
909
+ public deletePartnerRelation(requestParameters: PartnerRelationApiDeletePartnerRelationRequest, options?: AxiosRequestConfig) {
910
+ return PartnerRelationApiFp(this.configuration).deletePartnerRelation(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
911
911
  }
912
912
 
913
913
  /**
914
914
  * Retrieve a single partner relation identified by its id
915
915
  * @summary Retrieve the partner relation
916
- * @param {PartnerRelationsApiGetPartnerRelationRequest} requestParameters Request parameters.
916
+ * @param {PartnerRelationApiGetPartnerRelationRequest} requestParameters Request parameters.
917
917
  * @param {*} [options] Override http request option.
918
918
  * @throws {RequiredError}
919
- * @memberof PartnerRelationsApi
919
+ * @memberof PartnerRelationApi
920
920
  */
921
- public getPartnerRelation(requestParameters: PartnerRelationsApiGetPartnerRelationRequest, options?: AxiosRequestConfig) {
922
- return PartnerRelationsApiFp(this.configuration).getPartnerRelation(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
921
+ public getPartnerRelation(requestParameters: PartnerRelationApiGetPartnerRelationRequest, options?: AxiosRequestConfig) {
922
+ return PartnerRelationApiFp(this.configuration).getPartnerRelation(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
923
923
  }
924
924
 
925
925
  /**
926
926
  * Retrieve a single partner relation type identified with a slug - can be used to create partner relations
927
927
  * @summary Retrieve the partner relation type
928
- * @param {PartnerRelationsApiGetPartnerRelationTypeRequest} requestParameters Request parameters.
928
+ * @param {PartnerRelationApiGetPartnerRelationTypeRequest} requestParameters Request parameters.
929
929
  * @param {*} [options] Override http request option.
930
930
  * @throws {RequiredError}
931
- * @memberof PartnerRelationsApi
931
+ * @memberof PartnerRelationApi
932
932
  */
933
- public getPartnerRelationType(requestParameters: PartnerRelationsApiGetPartnerRelationTypeRequest, options?: AxiosRequestConfig) {
934
- return PartnerRelationsApiFp(this.configuration).getPartnerRelationType(requestParameters.slug, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
933
+ public getPartnerRelationType(requestParameters: PartnerRelationApiGetPartnerRelationTypeRequest, options?: AxiosRequestConfig) {
934
+ return PartnerRelationApiFp(this.configuration).getPartnerRelationType(requestParameters.slug, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
935
935
  }
936
936
 
937
937
  /**
938
938
  * List all partner relation types - is used to create partner relations
939
939
  * @summary List partner relation types
940
- * @param {PartnerRelationsApiListPartnerRelationTypesRequest} requestParameters Request parameters.
940
+ * @param {PartnerRelationApiListPartnerRelationTypesRequest} requestParameters Request parameters.
941
941
  * @param {*} [options] Override http request option.
942
942
  * @throws {RequiredError}
943
- * @memberof PartnerRelationsApi
943
+ * @memberof PartnerRelationApi
944
944
  */
945
- public listPartnerRelationTypes(requestParameters: PartnerRelationsApiListPartnerRelationTypesRequest = {}, options?: AxiosRequestConfig) {
946
- return PartnerRelationsApiFp(this.configuration).listPartnerRelationTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
945
+ public listPartnerRelationTypes(requestParameters: PartnerRelationApiListPartnerRelationTypesRequest = {}, options?: AxiosRequestConfig) {
946
+ return PartnerRelationApiFp(this.configuration).listPartnerRelationTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
947
947
  }
948
948
 
949
949
  /**
950
950
  * List all partner relations
951
951
  * @summary List partner relations
952
- * @param {PartnerRelationsApiListPartnerRelationsRequest} requestParameters Request parameters.
952
+ * @param {PartnerRelationApiListPartnerRelationsRequest} requestParameters Request parameters.
953
953
  * @param {*} [options] Override http request option.
954
954
  * @throws {RequiredError}
955
- * @memberof PartnerRelationsApi
955
+ * @memberof PartnerRelationApi
956
956
  */
957
- public listPartnerRelations(requestParameters: PartnerRelationsApiListPartnerRelationsRequest = {}, options?: AxiosRequestConfig) {
958
- return PartnerRelationsApiFp(this.configuration).listPartnerRelations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
957
+ public listPartnerRelations(requestParameters: PartnerRelationApiListPartnerRelationsRequest = {}, options?: AxiosRequestConfig) {
958
+ return PartnerRelationApiFp(this.configuration).listPartnerRelations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
959
959
  }
960
960
 
961
961
  /**
962
962
  * Update a partner relation identified by its id
963
963
  * @summary Update the partner relation
964
- * @param {PartnerRelationsApiUpdatePartnerRelationRequest} requestParameters Request parameters.
964
+ * @param {PartnerRelationApiUpdatePartnerRelationRequest} requestParameters Request parameters.
965
965
  * @param {*} [options] Override http request option.
966
966
  * @throws {RequiredError}
967
- * @memberof PartnerRelationsApi
967
+ * @memberof PartnerRelationApi
968
968
  */
969
- public updatePartnerRelation(requestParameters: PartnerRelationsApiUpdatePartnerRelationRequest, options?: AxiosRequestConfig) {
970
- return PartnerRelationsApiFp(this.configuration).updatePartnerRelation(requestParameters.id, requestParameters.updatePartnerRelationRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
969
+ public updatePartnerRelation(requestParameters: PartnerRelationApiUpdatePartnerRelationRequest, options?: AxiosRequestConfig) {
970
+ return PartnerRelationApiFp(this.configuration).updatePartnerRelation(requestParameters.id, requestParameters.updatePartnerRelationRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
971
971
  }
972
972
  }