@infisale-client/api 1.3.54 → 1.3.56

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/dist/api/api.d.ts CHANGED
@@ -1625,13 +1625,11 @@ export interface ICollection {
1625
1625
  */
1626
1626
  'slugs': Array<string>;
1627
1627
  /**
1628
- * Construct a type with a set of properties K of type T
1629
- * @type {{ [key: string]: string; }}
1628
+ *
1629
+ * @type {string}
1630
1630
  * @memberof ICollection
1631
1631
  */
1632
- 'templates': {
1633
- [key: string]: string;
1634
- };
1632
+ 'template': string;
1635
1633
  }
1636
1634
  /**
1637
1635
  *
@@ -1713,10 +1711,10 @@ export type ICollectionCollectionsQueryParamsDateFieldEnum = typeof ICollectionC
1713
1711
  export interface ICollectionPatchRequest {
1714
1712
  /**
1715
1713
  *
1716
- * @type {ITemplateResponse}
1714
+ * @type {string}
1717
1715
  * @memberof ICollectionPatchRequest
1718
1716
  */
1719
- 'template'?: ITemplateResponse;
1717
+ 'template'?: string;
1720
1718
  /**
1721
1719
  *
1722
1720
  * @type {PartialRecordLanguageEnumIContentsValue}
@@ -1744,22 +1742,22 @@ export interface ICollectionPostRequest {
1744
1742
  'company': string;
1745
1743
  /**
1746
1744
  *
1747
- * @type {PartialRecordLanguageEnumIContentsValue}
1745
+ * @type {string}
1748
1746
  * @memberof ICollectionPostRequest
1749
1747
  */
1750
- 'contents': PartialRecordLanguageEnumIContentsValue;
1748
+ 'template': string;
1751
1749
  /**
1752
1750
  *
1753
- * @type {IImage}
1751
+ * @type {PartialRecordLanguageEnumIContentsValue}
1754
1752
  * @memberof ICollectionPostRequest
1755
1753
  */
1756
- 'thumbnail'?: IImage;
1754
+ 'contents': PartialRecordLanguageEnumIContentsValue;
1757
1755
  /**
1758
1756
  *
1759
- * @type {ITemplateResponse}
1757
+ * @type {IImage}
1760
1758
  * @memberof ICollectionPostRequest
1761
1759
  */
1762
- 'template'?: ITemplateResponse;
1760
+ 'thumbnail'?: IImage;
1763
1761
  }
1764
1762
  /**
1765
1763
  *
@@ -1767,6 +1765,12 @@ export interface ICollectionPostRequest {
1767
1765
  * @interface ICollectionResponse
1768
1766
  */
1769
1767
  export interface ICollectionResponse {
1768
+ /**
1769
+ *
1770
+ * @type {string}
1771
+ * @memberof ICollectionResponse
1772
+ */
1773
+ 'company': string;
1770
1774
  /**
1771
1775
  *
1772
1776
  * @type {string}
@@ -1791,18 +1795,6 @@ export interface ICollectionResponse {
1791
1795
  * @memberof ICollectionResponse
1792
1796
  */
1793
1797
  'updatedAt': string;
1794
- /**
1795
- *
1796
- * @type {string}
1797
- * @memberof ICollectionResponse
1798
- */
1799
- 'company': string;
1800
- /**
1801
- *
1802
- * @type {IImage}
1803
- * @memberof ICollectionResponse
1804
- */
1805
- 'thumbnail'?: IImage;
1806
1798
  /**
1807
1799
  *
1808
1800
  * @type {PartialRecordLanguageEnumIContentsValue}
@@ -1816,13 +1808,11 @@ export interface ICollectionResponse {
1816
1808
  */
1817
1809
  'slugs': Array<string>;
1818
1810
  /**
1819
- * Construct a type with a set of properties K of type T
1820
- * @type {{ [key: string]: string; }}
1811
+ *
1812
+ * @type {IImage}
1821
1813
  * @memberof ICollectionResponse
1822
1814
  */
1823
- 'templates': {
1824
- [key: string]: string;
1825
- };
1815
+ 'thumbnail'?: IImage;
1826
1816
  /**
1827
1817
  *
1828
1818
  * @type {ContentStatusEnum}
@@ -2234,12 +2224,6 @@ export interface ICompany {
2234
2224
  * @memberof ICompany
2235
2225
  */
2236
2226
  'onboarding': RecordCompanyOnboardingStepEnumBoolean;
2237
- /**
2238
- *
2239
- * @type {Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>}
2240
- * @memberof ICompany
2241
- */
2242
- 'cmsCollections': Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>;
2243
2227
  /**
2244
2228
  *
2245
2229
  * @type {CompanyStatusEnum}
@@ -2477,12 +2461,6 @@ export interface ICompanyAdminResponse {
2477
2461
  * @memberof ICompanyAdminResponse
2478
2462
  */
2479
2463
  'onboarding': RecordCompanyOnboardingStepEnumBoolean;
2480
- /**
2481
- *
2482
- * @type {Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>}
2483
- * @memberof ICompanyAdminResponse
2484
- */
2485
- 'cmsCollections': Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>;
2486
2464
  /**
2487
2465
  *
2488
2466
  * @type {string}
@@ -2589,6 +2567,12 @@ export interface ICompanyAdminResponse {
2589
2567
  * @memberof ICompanyAdminResponse
2590
2568
  */
2591
2569
  'accountAccess': boolean;
2570
+ /**
2571
+ *
2572
+ * @type {Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>}
2573
+ * @memberof ICompanyAdminResponse
2574
+ */
2575
+ 'cmsCollections': Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>;
2592
2576
  /**
2593
2577
  *
2594
2578
  * @type {IPlanResponse}
@@ -3201,12 +3185,6 @@ export interface ICompanyPatchRequest {
3201
3185
  'legalDocuments'?: {
3202
3186
  [key: string]: RecordStringUrlStringFileIImageValue;
3203
3187
  };
3204
- /**
3205
- *
3206
- * @type {Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>}
3207
- * @memberof ICompanyPatchRequest
3208
- */
3209
- 'cmsCollections'?: Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>;
3210
3188
  /**
3211
3189
  *
3212
3190
  * @type {string}
@@ -3574,12 +3552,6 @@ export interface ICompanyResponse {
3574
3552
  * @memberof ICompanyResponse
3575
3553
  */
3576
3554
  'onboarding': RecordCompanyOnboardingStepEnumBoolean;
3577
- /**
3578
- *
3579
- * @type {Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>}
3580
- * @memberof ICompanyResponse
3581
- */
3582
- 'cmsCollections': Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>;
3583
3555
  /**
3584
3556
  *
3585
3557
  * @type {string}
@@ -3666,6 +3638,12 @@ export interface ICompanyResponse {
3666
3638
  * @memberof ICompanyResponse
3667
3639
  */
3668
3640
  'accountAccess': boolean;
3641
+ /**
3642
+ *
3643
+ * @type {Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>}
3644
+ * @memberof ICompanyResponse
3645
+ */
3646
+ 'cmsCollections': Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>;
3669
3647
  }
3670
3648
  /**
3671
3649
  *
@@ -5113,6 +5091,55 @@ export interface INavigationLink {
5113
5091
  */
5114
5092
  'object': any;
5115
5093
  }
5094
+ /**
5095
+ *
5096
+ * @export
5097
+ * @interface INavigationLinkResponse
5098
+ */
5099
+ export interface INavigationLinkResponse {
5100
+ /**
5101
+ *
5102
+ * @type {any}
5103
+ * @memberof INavigationLinkResponse
5104
+ */
5105
+ 'object': any;
5106
+ /**
5107
+ *
5108
+ * @type {string}
5109
+ * @memberof INavigationLinkResponse
5110
+ */
5111
+ '_id': string;
5112
+ /**
5113
+ *
5114
+ * @type {string}
5115
+ * @memberof INavigationLinkResponse
5116
+ */
5117
+ 'title': string;
5118
+ /**
5119
+ *
5120
+ * @type {string}
5121
+ * @memberof INavigationLinkResponse
5122
+ */
5123
+ 'type': string;
5124
+ /**
5125
+ *
5126
+ * @type {string}
5127
+ * @memberof INavigationLinkResponse
5128
+ */
5129
+ 'url': string;
5130
+ /**
5131
+ *
5132
+ * @type {number}
5133
+ * @memberof INavigationLinkResponse
5134
+ */
5135
+ 'levels': number;
5136
+ /**
5137
+ *
5138
+ * @type {Array<INavigationLinkResponse>}
5139
+ * @memberof INavigationLinkResponse
5140
+ */
5141
+ 'links': Array<INavigationLinkResponse>;
5142
+ }
5116
5143
  /**
5117
5144
  *
5118
5145
  * @export
@@ -5127,16 +5154,16 @@ export interface INavigationPatchRequest {
5127
5154
  'title'?: string;
5128
5155
  /**
5129
5156
  *
5130
- * @type {LanguageEnum}
5157
+ * @type {Array<INavigationLink>}
5131
5158
  * @memberof INavigationPatchRequest
5132
5159
  */
5133
- 'locale'?: LanguageEnum;
5160
+ 'links'?: Array<INavigationLink>;
5134
5161
  /**
5135
5162
  *
5136
- * @type {Array<INavigationLink>}
5163
+ * @type {LanguageEnum}
5137
5164
  * @memberof INavigationPatchRequest
5138
5165
  */
5139
- 'links'?: Array<INavigationLink>;
5166
+ 'locale'?: LanguageEnum;
5140
5167
  }
5141
5168
  /**
5142
5169
  *
@@ -5164,16 +5191,16 @@ export interface INavigationPostRequest {
5164
5191
  'slug': string;
5165
5192
  /**
5166
5193
  *
5167
- * @type {LanguageEnum}
5194
+ * @type {Array<INavigationLink>}
5168
5195
  * @memberof INavigationPostRequest
5169
5196
  */
5170
- 'locale': LanguageEnum;
5197
+ 'links': Array<INavigationLink>;
5171
5198
  /**
5172
5199
  *
5173
- * @type {Array<INavigationLink>}
5200
+ * @type {LanguageEnum}
5174
5201
  * @memberof INavigationPostRequest
5175
5202
  */
5176
- 'links': Array<INavigationLink>;
5203
+ 'locale': LanguageEnum;
5177
5204
  }
5178
5205
  /**
5179
5206
  *
@@ -5181,6 +5208,12 @@ export interface INavigationPostRequest {
5181
5208
  * @interface INavigationResponse
5182
5209
  */
5183
5210
  export interface INavigationResponse {
5211
+ /**
5212
+ *
5213
+ * @type {string}
5214
+ * @memberof INavigationResponse
5215
+ */
5216
+ 'company': string;
5184
5217
  /**
5185
5218
  *
5186
5219
  * @type {string}
@@ -5210,31 +5243,25 @@ export interface INavigationResponse {
5210
5243
  * @type {string}
5211
5244
  * @memberof INavigationResponse
5212
5245
  */
5213
- 'company': string;
5214
- /**
5215
- *
5216
- * @type {LanguageEnum}
5217
- * @memberof INavigationResponse
5218
- */
5219
- 'locale': LanguageEnum;
5246
+ 'title': string;
5220
5247
  /**
5221
5248
  *
5222
5249
  * @type {string}
5223
5250
  * @memberof INavigationResponse
5224
5251
  */
5225
- 'title': string;
5252
+ 'slug': string;
5226
5253
  /**
5227
5254
  *
5228
- * @type {string}
5255
+ * @type {LanguageEnum}
5229
5256
  * @memberof INavigationResponse
5230
5257
  */
5231
- 'slug': string;
5258
+ 'locale': LanguageEnum;
5232
5259
  /**
5233
5260
  *
5234
- * @type {Array<INavigationLink>}
5261
+ * @type {Array<INavigationLinkResponse>}
5235
5262
  * @memberof INavigationResponse
5236
5263
  */
5237
- 'links': Array<INavigationLink>;
5264
+ 'links': Array<INavigationLinkResponse>;
5238
5265
  }
5239
5266
  /**
5240
5267
  *
@@ -6560,10 +6587,10 @@ export interface IPageGetAllQueryParams {
6560
6587
  export interface IPagePatchRequest {
6561
6588
  /**
6562
6589
  *
6563
- * @type {ITemplateResponse}
6590
+ * @type {string}
6564
6591
  * @memberof IPagePatchRequest
6565
6592
  */
6566
- 'template'?: ITemplateResponse;
6593
+ 'template'?: string;
6567
6594
  /**
6568
6595
  *
6569
6596
  * @type {PartialRecordLanguageEnumIContentsValue}
@@ -6589,6 +6616,12 @@ export interface IPagePostRequest {
6589
6616
  * @memberof IPagePostRequest
6590
6617
  */
6591
6618
  'company': string;
6619
+ /**
6620
+ *
6621
+ * @type {string}
6622
+ * @memberof IPagePostRequest
6623
+ */
6624
+ 'template': string;
6592
6625
  /**
6593
6626
  *
6594
6627
  * @type {PartialRecordLanguageEnumIContentsValue}
@@ -6607,12 +6640,6 @@ export interface IPagePostRequest {
6607
6640
  * @memberof IPagePostRequest
6608
6641
  */
6609
6642
  'type': string;
6610
- /**
6611
- *
6612
- * @type {ITemplateResponse}
6613
- * @memberof IPagePostRequest
6614
- */
6615
- 'template'?: ITemplateResponse;
6616
6643
  }
6617
6644
  /**
6618
6645
  *
@@ -6650,14 +6677,6 @@ export interface IPageResponse {
6650
6677
  * @memberof IPageResponse
6651
6678
  */
6652
6679
  'updatedAt': string;
6653
- /**
6654
- * Construct a type with a set of properties K of type T
6655
- * @type {{ [key: string]: string; }}
6656
- * @memberof IPageResponse
6657
- */
6658
- 'templates': {
6659
- [key: string]: string;
6660
- };
6661
6680
  /**
6662
6681
  *
6663
6682
  * @type {PartialRecordLanguageEnumIContentsValue}
@@ -7355,10 +7374,10 @@ export interface IProductPatchRequest {
7355
7374
  'brand'?: string;
7356
7375
  /**
7357
7376
  *
7358
- * @type {ITemplateResponse}
7377
+ * @type {string}
7359
7378
  * @memberof IProductPatchRequest
7360
7379
  */
7361
- 'template'?: ITemplateResponse;
7380
+ 'template'?: string;
7362
7381
  /**
7363
7382
  *
7364
7383
  * @type {string}
@@ -7536,10 +7555,10 @@ export interface IProductPostRequest {
7536
7555
  'brand'?: string;
7537
7556
  /**
7538
7557
  *
7539
- * @type {ITemplateResponse}
7558
+ * @type {string}
7540
7559
  * @memberof IProductPostRequest
7541
7560
  */
7542
- 'template'?: ITemplateResponse;
7561
+ 'template': string;
7543
7562
  }
7544
7563
  /**
7545
7564
  *
@@ -7607,14 +7626,6 @@ export interface IProductResponse {
7607
7626
  * @memberof IProductResponse
7608
7627
  */
7609
7628
  'collections': Array<string>;
7610
- /**
7611
- * Construct a type with a set of properties K of type T
7612
- * @type {{ [key: string]: string; }}
7613
- * @memberof IProductResponse
7614
- */
7615
- 'templates': {
7616
- [key: string]: string;
7617
- };
7618
7629
  /**
7619
7630
  *
7620
7631
  * @type {string}
@@ -8699,18 +8710,6 @@ export interface ITemplatePatchRequest {
8699
8710
  * @memberof ITemplatePatchRequest
8700
8711
  */
8701
8712
  'type'?: string;
8702
- /**
8703
- *
8704
- * @type {boolean}
8705
- * @memberof ITemplatePatchRequest
8706
- */
8707
- 'unique'?: boolean;
8708
- /**
8709
- *
8710
- * @type {boolean}
8711
- * @memberof ITemplatePatchRequest
8712
- */
8713
- 'default'?: boolean;
8714
8713
  }
8715
8714
  /**
8716
8715
  *
@@ -8748,18 +8747,6 @@ export interface ITemplatePostRequest {
8748
8747
  * @memberof ITemplatePostRequest
8749
8748
  */
8750
8749
  'type': string;
8751
- /**
8752
- *
8753
- * @type {boolean}
8754
- * @memberof ITemplatePostRequest
8755
- */
8756
- 'unique': boolean;
8757
- /**
8758
- *
8759
- * @type {boolean}
8760
- * @memberof ITemplatePostRequest
8761
- */
8762
- 'default'?: boolean;
8763
8750
  }
8764
8751
  /**
8765
8752
  *
@@ -8815,18 +8802,6 @@ export interface ITemplateResponse {
8815
8802
  * @memberof ITemplateResponse
8816
8803
  */
8817
8804
  'type': string;
8818
- /**
8819
- *
8820
- * @type {boolean}
8821
- * @memberof ITemplateResponse
8822
- */
8823
- 'unique': boolean;
8824
- /**
8825
- *
8826
- * @type {boolean}
8827
- * @memberof ITemplateResponse
8828
- */
8829
- 'default'?: boolean;
8830
8805
  /**
8831
8806
  *
8832
8807
  * @type {PartialRecordLanguageEnumITemplateComponentResponseArray}
@@ -8947,6 +8922,12 @@ export interface ITheme {
8947
8922
  * @memberof ITheme
8948
8923
  */
8949
8924
  'lastVersion': string;
8925
+ /**
8926
+ *
8927
+ * @type {Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>}
8928
+ * @memberof ITheme
8929
+ */
8930
+ 'cmsCollections': Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>;
8950
8931
  /**
8951
8932
  *
8952
8933
  * @type {boolean}
@@ -9149,6 +9130,12 @@ export interface IThemeResponse {
9149
9130
  * @memberof IThemeResponse
9150
9131
  */
9151
9132
  'lastVersion': string;
9133
+ /**
9134
+ *
9135
+ * @type {Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>}
9136
+ * @memberof IThemeResponse
9137
+ */
9138
+ 'cmsCollections': Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>;
9152
9139
  /**
9153
9140
  *
9154
9141
  * @type {boolean}
@@ -9362,6 +9349,12 @@ export interface IThemesResponseData {
9362
9349
  * @memberof IThemesResponseData
9363
9350
  */
9364
9351
  'creator'?: string;
9352
+ /**
9353
+ *
9354
+ * @type {Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>}
9355
+ * @memberof IThemesResponseData
9356
+ */
9357
+ 'cmsCollections': Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>;
9365
9358
  /**
9366
9359
  *
9367
9360
  * @type {boolean}
@@ -9509,6 +9502,12 @@ export interface IThemesResponseDataMain {
9509
9502
  * @memberof IThemesResponseDataMain
9510
9503
  */
9511
9504
  'creator'?: string;
9505
+ /**
9506
+ *
9507
+ * @type {Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>}
9508
+ * @memberof IThemesResponseDataMain
9509
+ */
9510
+ 'cmsCollections': Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>;
9512
9511
  /**
9513
9512
  *
9514
9513
  * @type {boolean}
@@ -9649,14 +9648,6 @@ export interface IUniquePageResponse {
9649
9648
  * @memberof IUniquePageResponse
9650
9649
  */
9651
9650
  'updatedAt': string;
9652
- /**
9653
- * Construct a type with a set of properties K of type T
9654
- * @type {{ [key: string]: string; }}
9655
- * @memberof IUniquePageResponse
9656
- */
9657
- 'templates': {
9658
- [key: string]: string;
9659
- };
9660
9651
  /**
9661
9652
  *
9662
9653
  * @type {PartialRecordLanguageEnumTitleStringDescription63String}
@@ -10885,6 +10876,92 @@ export interface PickICategoryResponseIdOrContentsOrAttributes {
10885
10876
  */
10886
10877
  'attributes': Array<ICategoryResponseAttributesInner>;
10887
10878
  }
10879
+ /**
10880
+ * From T, pick a set of properties whose keys are in the union K
10881
+ * @export
10882
+ * @interface PickICollectionExcludeKeyofICollectionKeyofMongoResponseOrSlugsOrKeyofIContentsValue
10883
+ */
10884
+ export interface PickICollectionExcludeKeyofICollectionKeyofMongoResponseOrSlugsOrKeyofIContentsValue {
10885
+ /**
10886
+ *
10887
+ * @type {string}
10888
+ * @memberof PickICollectionExcludeKeyofICollectionKeyofMongoResponseOrSlugsOrKeyofIContentsValue
10889
+ */
10890
+ 'company': string;
10891
+ /**
10892
+ *
10893
+ * @type {string}
10894
+ * @memberof PickICollectionExcludeKeyofICollectionKeyofMongoResponseOrSlugsOrKeyofIContentsValue
10895
+ */
10896
+ 'template': string;
10897
+ /**
10898
+ *
10899
+ * @type {PartialRecordLanguageEnumIContentsValue}
10900
+ * @memberof PickICollectionExcludeKeyofICollectionKeyofMongoResponseOrSlugsOrKeyofIContentsValue
10901
+ */
10902
+ 'contents': PartialRecordLanguageEnumIContentsValue;
10903
+ /**
10904
+ *
10905
+ * @type {IImage}
10906
+ * @memberof PickICollectionExcludeKeyofICollectionKeyofMongoResponseOrSlugsOrKeyofIContentsValue
10907
+ */
10908
+ 'thumbnail'?: IImage;
10909
+ }
10910
+ /**
10911
+ * From T, pick a set of properties whose keys are in the union K
10912
+ * @export
10913
+ * @interface PickICollectionExcludeKeyofICollectionTemplate
10914
+ */
10915
+ export interface PickICollectionExcludeKeyofICollectionTemplate {
10916
+ /**
10917
+ *
10918
+ * @type {string}
10919
+ * @memberof PickICollectionExcludeKeyofICollectionTemplate
10920
+ */
10921
+ 'company': string;
10922
+ /**
10923
+ *
10924
+ * @type {string}
10925
+ * @memberof PickICollectionExcludeKeyofICollectionTemplate
10926
+ */
10927
+ '_id': string;
10928
+ /**
10929
+ *
10930
+ * @type {number}
10931
+ * @memberof PickICollectionExcludeKeyofICollectionTemplate
10932
+ */
10933
+ '__v': number;
10934
+ /**
10935
+ *
10936
+ * @type {string}
10937
+ * @memberof PickICollectionExcludeKeyofICollectionTemplate
10938
+ */
10939
+ 'createdAt': string;
10940
+ /**
10941
+ *
10942
+ * @type {string}
10943
+ * @memberof PickICollectionExcludeKeyofICollectionTemplate
10944
+ */
10945
+ 'updatedAt': string;
10946
+ /**
10947
+ *
10948
+ * @type {PartialRecordLanguageEnumIContentsValue}
10949
+ * @memberof PickICollectionExcludeKeyofICollectionTemplate
10950
+ */
10951
+ 'contents': PartialRecordLanguageEnumIContentsValue;
10952
+ /**
10953
+ *
10954
+ * @type {Array<string>}
10955
+ * @memberof PickICollectionExcludeKeyofICollectionTemplate
10956
+ */
10957
+ 'slugs': Array<string>;
10958
+ /**
10959
+ *
10960
+ * @type {IImage}
10961
+ * @memberof PickICollectionExcludeKeyofICollectionTemplate
10962
+ */
10963
+ 'thumbnail'?: IImage;
10964
+ }
10888
10965
  /**
10889
10966
  * From T, pick a set of properties whose keys are in the union K
10890
10967
  * @export
@@ -10935,35 +11012,10 @@ export interface PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSor
10935
11012
  'dateField'?: PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum;
10936
11013
  }
10937
11014
  export declare const PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum: {
10938
- readonly CREATED_AT: "createdAt";
10939
- readonly UPDATED_AT: "updatedAt";
10940
- };
10941
- export type PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = typeof PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum[keyof typeof PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum];
10942
- /**
10943
- * From T, pick a set of properties whose keys are in the union K
10944
- * @export
10945
- * @interface PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
10946
- */
10947
- export interface PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue {
10948
- /**
10949
- *
10950
- * @type {string}
10951
- * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
10952
- */
10953
- 'company': string;
10954
- /**
10955
- *
10956
- * @type {PartialRecordLanguageEnumIContentsValue}
10957
- * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
10958
- */
10959
- 'contents': PartialRecordLanguageEnumIContentsValue;
10960
- /**
10961
- *
10962
- * @type {IImage}
10963
- * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
10964
- */
10965
- 'thumbnail'?: IImage;
10966
- }
11015
+ readonly CREATED_AT: "createdAt";
11016
+ readonly UPDATED_AT: "updatedAt";
11017
+ };
11018
+ export type PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = typeof PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum[keyof typeof PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum];
10967
11019
  /**
10968
11020
  * From T, pick a set of properties whose keys are in the union K
10969
11021
  * @export
@@ -11244,12 +11296,6 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
11244
11296
  * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
11245
11297
  */
11246
11298
  'onboarding': RecordCompanyOnboardingStepEnumBoolean;
11247
- /**
11248
- *
11249
- * @type {Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>}
11250
- * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
11251
- */
11252
- 'cmsCollections': Array<PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner>;
11253
11299
  /**
11254
11300
  *
11255
11301
  * @type {string}
@@ -11269,37 +11315,6 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
11269
11315
  */
11270
11316
  'storageUsageBytes': number;
11271
11317
  }
11272
- /**
11273
- *
11274
- * @export
11275
- * @interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner
11276
- */
11277
- export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner {
11278
- /**
11279
- *
11280
- * @type {string}
11281
- * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner
11282
- */
11283
- 'slug': string;
11284
- /**
11285
- *
11286
- * @type {string}
11287
- * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner
11288
- */
11289
- 'singularTitle': string;
11290
- /**
11291
- *
11292
- * @type {string}
11293
- * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner
11294
- */
11295
- 'pluralTitle': string;
11296
- /**
11297
- *
11298
- * @type {string}
11299
- * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeysCmsCollectionsInner
11300
- */
11301
- 'title': string;
11302
- }
11303
11318
  /**
11304
11319
  *
11305
11320
  * @export
@@ -11581,18 +11596,110 @@ export interface PickINavigationExcludeKeyofINavigationKeyofMongoResponse {
11581
11596
  * @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponse
11582
11597
  */
11583
11598
  'slug': string;
11599
+ /**
11600
+ *
11601
+ * @type {Array<INavigationLink>}
11602
+ * @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponse
11603
+ */
11604
+ 'links': Array<INavigationLink>;
11584
11605
  /**
11585
11606
  *
11586
11607
  * @type {LanguageEnum}
11587
11608
  * @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponse
11588
11609
  */
11589
11610
  'locale': LanguageEnum;
11611
+ }
11612
+ /**
11613
+ * From T, pick a set of properties whose keys are in the union K
11614
+ * @export
11615
+ * @interface PickINavigationExcludeKeyofINavigationLinks
11616
+ */
11617
+ export interface PickINavigationExcludeKeyofINavigationLinks {
11590
11618
  /**
11591
11619
  *
11592
- * @type {Array<INavigationLink>}
11593
- * @memberof PickINavigationExcludeKeyofINavigationKeyofMongoResponse
11620
+ * @type {string}
11621
+ * @memberof PickINavigationExcludeKeyofINavigationLinks
11594
11622
  */
11595
- 'links': Array<INavigationLink>;
11623
+ 'company': string;
11624
+ /**
11625
+ *
11626
+ * @type {string}
11627
+ * @memberof PickINavigationExcludeKeyofINavigationLinks
11628
+ */
11629
+ '_id': string;
11630
+ /**
11631
+ *
11632
+ * @type {number}
11633
+ * @memberof PickINavigationExcludeKeyofINavigationLinks
11634
+ */
11635
+ '__v': number;
11636
+ /**
11637
+ *
11638
+ * @type {string}
11639
+ * @memberof PickINavigationExcludeKeyofINavigationLinks
11640
+ */
11641
+ 'createdAt': string;
11642
+ /**
11643
+ *
11644
+ * @type {string}
11645
+ * @memberof PickINavigationExcludeKeyofINavigationLinks
11646
+ */
11647
+ 'updatedAt': string;
11648
+ /**
11649
+ *
11650
+ * @type {string}
11651
+ * @memberof PickINavigationExcludeKeyofINavigationLinks
11652
+ */
11653
+ 'title': string;
11654
+ /**
11655
+ *
11656
+ * @type {string}
11657
+ * @memberof PickINavigationExcludeKeyofINavigationLinks
11658
+ */
11659
+ 'slug': string;
11660
+ /**
11661
+ *
11662
+ * @type {LanguageEnum}
11663
+ * @memberof PickINavigationExcludeKeyofINavigationLinks
11664
+ */
11665
+ 'locale': LanguageEnum;
11666
+ }
11667
+ /**
11668
+ * From T, pick a set of properties whose keys are in the union K
11669
+ * @export
11670
+ * @interface PickINavigationLinkExcludeKeyofINavigationLinkLinks
11671
+ */
11672
+ export interface PickINavigationLinkExcludeKeyofINavigationLinkLinks {
11673
+ /**
11674
+ *
11675
+ * @type {any}
11676
+ * @memberof PickINavigationLinkExcludeKeyofINavigationLinkLinks
11677
+ */
11678
+ 'object': any;
11679
+ /**
11680
+ *
11681
+ * @type {string}
11682
+ * @memberof PickINavigationLinkExcludeKeyofINavigationLinkLinks
11683
+ */
11684
+ '_id': string;
11685
+ /**
11686
+ *
11687
+ * @type {string}
11688
+ * @memberof PickINavigationLinkExcludeKeyofINavigationLinkLinks
11689
+ */
11690
+ 'title': string;
11691
+ /**
11692
+ *
11693
+ * @type {string}
11694
+ * @memberof PickINavigationLinkExcludeKeyofINavigationLinkLinks
11695
+ */
11696
+ 'type': string;
11697
+ /**
11698
+ *
11699
+ * @type {string}
11700
+ * @memberof PickINavigationLinkExcludeKeyofINavigationLinkLinks
11701
+ */
11702
+ 'url': string;
11596
11703
  }
11597
11704
  /**
11598
11705
  * From T, pick a set of properties whose keys are in the union K
@@ -11983,6 +12090,43 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframeShippedInner {
11983
12090
  */
11984
12091
  '_id': string;
11985
12092
  }
12093
+ /**
12094
+ * From T, pick a set of properties whose keys are in the union K
12095
+ * @export
12096
+ * @interface PickIPageExcludeKeyofIPageKeyofMongoResponseOrSlugsOrKeyofIContentsValue
12097
+ */
12098
+ export interface PickIPageExcludeKeyofIPageKeyofMongoResponseOrSlugsOrKeyofIContentsValue {
12099
+ /**
12100
+ *
12101
+ * @type {string}
12102
+ * @memberof PickIPageExcludeKeyofIPageKeyofMongoResponseOrSlugsOrKeyofIContentsValue
12103
+ */
12104
+ 'company': string;
12105
+ /**
12106
+ *
12107
+ * @type {string}
12108
+ * @memberof PickIPageExcludeKeyofIPageKeyofMongoResponseOrSlugsOrKeyofIContentsValue
12109
+ */
12110
+ 'template': string;
12111
+ /**
12112
+ *
12113
+ * @type {PartialRecordLanguageEnumIContentsValue}
12114
+ * @memberof PickIPageExcludeKeyofIPageKeyofMongoResponseOrSlugsOrKeyofIContentsValue
12115
+ */
12116
+ 'contents': PartialRecordLanguageEnumIContentsValue;
12117
+ /**
12118
+ *
12119
+ * @type {IImage}
12120
+ * @memberof PickIPageExcludeKeyofIPageKeyofMongoResponseOrSlugsOrKeyofIContentsValue
12121
+ */
12122
+ 'thumbnail'?: IImage;
12123
+ /**
12124
+ *
12125
+ * @type {string}
12126
+ * @memberof PickIPageExcludeKeyofIPageKeyofMongoResponseOrSlugsOrKeyofIContentsValue
12127
+ */
12128
+ 'type': string;
12129
+ }
11986
12130
  /**
11987
12131
  * From T, pick a set of properties whose keys are in the union K
11988
12132
  * @export
@@ -12019,14 +12163,6 @@ export interface PickIPageExcludeKeyofIPageTemplate {
12019
12163
  * @memberof PickIPageExcludeKeyofIPageTemplate
12020
12164
  */
12021
12165
  'updatedAt': string;
12022
- /**
12023
- * Construct a type with a set of properties K of type T
12024
- * @type {{ [key: string]: string; }}
12025
- * @memberof PickIPageExcludeKeyofIPageTemplate
12026
- */
12027
- 'templates': {
12028
- [key: string]: string;
12029
- };
12030
12166
  /**
12031
12167
  *
12032
12168
  * @type {PartialRecordLanguageEnumIContentsValue}
@@ -12052,37 +12188,6 @@ export interface PickIPageExcludeKeyofIPageTemplate {
12052
12188
  */
12053
12189
  'type': string;
12054
12190
  }
12055
- /**
12056
- * From T, pick a set of properties whose keys are in the union K
12057
- * @export
12058
- * @interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
12059
- */
12060
- export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue {
12061
- /**
12062
- *
12063
- * @type {string}
12064
- * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
12065
- */
12066
- 'company': string;
12067
- /**
12068
- *
12069
- * @type {PartialRecordLanguageEnumIContentsValue}
12070
- * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
12071
- */
12072
- 'contents': PartialRecordLanguageEnumIContentsValue;
12073
- /**
12074
- *
12075
- * @type {IImage}
12076
- * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
12077
- */
12078
- 'thumbnail'?: IImage;
12079
- /**
12080
- *
12081
- * @type {string}
12082
- * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugsOrKeyofIContentsValue
12083
- */
12084
- 'type': string;
12085
- }
12086
12191
  /**
12087
12192
  * From T, pick a set of properties whose keys are in the union K
12088
12193
  * @export
@@ -12210,14 +12315,6 @@ export interface PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttr
12210
12315
  * @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
12211
12316
  */
12212
12317
  'collections': Array<string>;
12213
- /**
12214
- * Construct a type with a set of properties K of type T
12215
- * @type {{ [key: string]: string; }}
12216
- * @memberof PickIProductExcludeKeyofIProductCategoryOrBrandOrTemplateOrAttributesFieldsOrSearchFields
12217
- */
12218
- 'templates': {
12219
- [key: string]: string;
12220
- };
12221
12318
  /**
12222
12319
  *
12223
12320
  * @type {string}
@@ -12644,18 +12741,6 @@ export interface PickITemplateExcludeKeyofITemplateComponents {
12644
12741
  * @memberof PickITemplateExcludeKeyofITemplateComponents
12645
12742
  */
12646
12743
  'type': string;
12647
- /**
12648
- *
12649
- * @type {boolean}
12650
- * @memberof PickITemplateExcludeKeyofITemplateComponents
12651
- */
12652
- 'unique': boolean;
12653
- /**
12654
- *
12655
- * @type {boolean}
12656
- * @memberof PickITemplateExcludeKeyofITemplateComponents
12657
- */
12658
- 'default'?: boolean;
12659
12744
  }
12660
12745
  /**
12661
12746
  * From T, pick a set of properties whose keys are in the union K
@@ -12693,18 +12778,6 @@ export interface PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoRes
12693
12778
  * @memberof PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoResponse
12694
12779
  */
12695
12780
  'type': string;
12696
- /**
12697
- *
12698
- * @type {boolean}
12699
- * @memberof PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoResponse
12700
- */
12701
- 'unique': boolean;
12702
- /**
12703
- *
12704
- * @type {boolean}
12705
- * @memberof PickITemplateResponseExcludeKeyofITemplateResponseKeyofMongoResponse
12706
- */
12707
- 'default'?: boolean;
12708
12781
  }
12709
12782
  /**
12710
12783
  * From T, pick a set of properties whose keys are in the union K
@@ -12798,6 +12871,12 @@ export interface PickIThemeExcludeKeyofIThemeGroups {
12798
12871
  * @memberof PickIThemeExcludeKeyofIThemeGroups
12799
12872
  */
12800
12873
  'lastVersion': string;
12874
+ /**
12875
+ *
12876
+ * @type {Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>}
12877
+ * @memberof PickIThemeExcludeKeyofIThemeGroups
12878
+ */
12879
+ 'cmsCollections': Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>;
12801
12880
  /**
12802
12881
  *
12803
12882
  * @type {boolean}
@@ -12805,6 +12884,37 @@ export interface PickIThemeExcludeKeyofIThemeGroups {
12805
12884
  */
12806
12885
  'deleted': boolean;
12807
12886
  }
12887
+ /**
12888
+ *
12889
+ * @export
12890
+ * @interface PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner
12891
+ */
12892
+ export interface PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner {
12893
+ /**
12894
+ *
12895
+ * @type {string}
12896
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner
12897
+ */
12898
+ 'slug': string;
12899
+ /**
12900
+ *
12901
+ * @type {string}
12902
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner
12903
+ */
12904
+ 'singularTitle': string;
12905
+ /**
12906
+ *
12907
+ * @type {string}
12908
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner
12909
+ */
12910
+ 'pluralTitle': string;
12911
+ /**
12912
+ *
12913
+ * @type {string}
12914
+ * @memberof PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner
12915
+ */
12916
+ 'title': string;
12917
+ }
12808
12918
  /**
12809
12919
  * From T, pick a set of properties whose keys are in the union K
12810
12920
  * @export
@@ -12899,6 +13009,12 @@ export interface PickIThemeExcludeKeyofIThemeLastVersion {
12899
13009
  * @memberof PickIThemeExcludeKeyofIThemeLastVersion
12900
13010
  */
12901
13011
  'creator'?: string;
13012
+ /**
13013
+ *
13014
+ * @type {Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>}
13015
+ * @memberof PickIThemeExcludeKeyofIThemeLastVersion
13016
+ */
13017
+ 'cmsCollections': Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>;
12902
13018
  /**
12903
13019
  *
12904
13020
  * @type {boolean}
@@ -12994,6 +13110,12 @@ export interface PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain {
12994
13110
  * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
12995
13111
  */
12996
13112
  'creator'?: string;
13113
+ /**
13114
+ *
13115
+ * @type {Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>}
13116
+ * @memberof PickIThemeResponseExcludeKeyofIThemeResponseLastVersionOrMain
13117
+ */
13118
+ 'cmsCollections': Array<PickIThemeExcludeKeyofIThemeGroupsCmsCollectionsInner>;
12997
13119
  /**
12998
13120
  *
12999
13121
  * @type {boolean}
@@ -13065,14 +13187,6 @@ export interface PickIUniquePageExcludeKeyofIUniquePageTemplate {
13065
13187
  * @memberof PickIUniquePageExcludeKeyofIUniquePageTemplate
13066
13188
  */
13067
13189
  'updatedAt': string;
13068
- /**
13069
- * Construct a type with a set of properties K of type T
13070
- * @type {{ [key: string]: string; }}
13071
- * @memberof PickIUniquePageExcludeKeyofIUniquePageTemplate
13072
- */
13073
- 'templates': {
13074
- [key: string]: string;
13075
- };
13076
13190
  /**
13077
13191
  *
13078
13192
  * @type {PartialRecordLanguageEnumTitleStringDescription63String}
@@ -13378,12 +13492,6 @@ export interface RecordCompanyOnboardingStepEnumBoolean {
13378
13492
  * @memberof RecordCompanyOnboardingStepEnumBoolean
13379
13493
  */
13380
13494
  'addFirstPage': boolean;
13381
- /**
13382
- *
13383
- * @type {boolean}
13384
- * @memberof RecordCompanyOnboardingStepEnumBoolean
13385
- */
13386
- 'addFirstBlog': boolean;
13387
13495
  /**
13388
13496
  *
13389
13497
  * @type {boolean}
@@ -13800,7 +13908,7 @@ export declare const SitemapTypeEnum: {
13800
13908
  readonly PRODUCTS: "products";
13801
13909
  readonly PAGES: "pages";
13802
13910
  readonly COLLECTIONS: "collections";
13803
- readonly BLOGS: "blogs";
13911
+ readonly BLOG: "blog";
13804
13912
  readonly UNIQUE_PAGES: "unique-pages";
13805
13913
  };
13806
13914
  export type SitemapTypeEnum = typeof SitemapTypeEnum[keyof typeof SitemapTypeEnum];
@@ -22794,11 +22902,10 @@ export declare const TemplateApiAxiosParamCreator: (configuration?: Configuratio
22794
22902
  * @param {string} [type]
22795
22903
  * @param {string} [search]
22796
22904
  * @param {string} [theme]
22797
- * @param {boolean} [unique]
22798
22905
  * @param {*} [options] Override http request option.
22799
22906
  * @throws {RequiredError}
22800
22907
  */
22801
- getTemplates: (companyId: string, type?: string, search?: string, theme?: string, unique?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22908
+ getTemplates: (companyId: string, type?: string, search?: string, theme?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22802
22909
  /**
22803
22910
  *
22804
22911
  * @param {string} id
@@ -22833,11 +22940,10 @@ export declare const TemplateApiFp: (configuration?: Configuration) => {
22833
22940
  * @param {string} [type]
22834
22941
  * @param {string} [search]
22835
22942
  * @param {string} [theme]
22836
- * @param {boolean} [unique]
22837
22943
  * @param {*} [options] Override http request option.
22838
22944
  * @throws {RequiredError}
22839
22945
  */
22840
- getTemplates(companyId: string, type?: string, search?: string, theme?: string, unique?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ITemplatesResponse>>;
22946
+ getTemplates(companyId: string, type?: string, search?: string, theme?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ITemplatesResponse>>;
22841
22947
  /**
22842
22948
  *
22843
22949
  * @param {string} id
@@ -22937,12 +23043,6 @@ export interface TemplateApiGetTemplatesRequest {
22937
23043
  * @memberof TemplateApiGetTemplates
22938
23044
  */
22939
23045
  readonly theme?: string;
22940
- /**
22941
- *
22942
- * @type {boolean}
22943
- * @memberof TemplateApiGetTemplates
22944
- */
22945
- readonly unique?: boolean;
22946
23046
  }
22947
23047
  /**
22948
23048
  * Request parameters for updateTemplate operation in TemplateApi.
package/dist/api/api.js CHANGED
@@ -683,7 +683,7 @@ exports.SitemapTypeEnum = {
683
683
  PRODUCTS: 'products',
684
684
  PAGES: 'pages',
685
685
  COLLECTIONS: 'collections',
686
- BLOGS: 'blogs',
686
+ BLOG: 'blog',
687
687
  UNIQUE_PAGES: 'unique-pages'
688
688
  };
689
689
  /**
@@ -11762,11 +11762,10 @@ const TemplateApiAxiosParamCreator = function (configuration) {
11762
11762
  * @param {string} [type]
11763
11763
  * @param {string} [search]
11764
11764
  * @param {string} [theme]
11765
- * @param {boolean} [unique]
11766
11765
  * @param {*} [options] Override http request option.
11767
11766
  * @throws {RequiredError}
11768
11767
  */
11769
- getTemplates: async (companyId, type, search, theme, unique, options = {}) => {
11768
+ getTemplates: async (companyId, type, search, theme, options = {}) => {
11770
11769
  // verify required parameter 'companyId' is not null or undefined
11771
11770
  (0, common_1.assertParamExists)('getTemplates', 'companyId', companyId);
11772
11771
  const localVarPath = `/api/templates`;
@@ -11791,9 +11790,6 @@ const TemplateApiAxiosParamCreator = function (configuration) {
11791
11790
  if (theme !== undefined) {
11792
11791
  localVarQueryParameter['theme'] = theme;
11793
11792
  }
11794
- if (unique !== undefined) {
11795
- localVarQueryParameter['unique'] = unique;
11796
- }
11797
11793
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11798
11794
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11799
11795
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -11875,12 +11871,11 @@ const TemplateApiFp = function (configuration) {
11875
11871
  * @param {string} [type]
11876
11872
  * @param {string} [search]
11877
11873
  * @param {string} [theme]
11878
- * @param {boolean} [unique]
11879
11874
  * @param {*} [options] Override http request option.
11880
11875
  * @throws {RequiredError}
11881
11876
  */
11882
- async getTemplates(companyId, type, search, theme, unique, options) {
11883
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplates(companyId, type, search, theme, unique, options);
11877
+ async getTemplates(companyId, type, search, theme, options) {
11878
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplates(companyId, type, search, theme, options);
11884
11879
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11885
11880
  const localVarOperationServerBasePath = base_1.operationServerMap['TemplateApi.getTemplates']?.[localVarOperationServerIndex]?.url;
11886
11881
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -11933,7 +11928,7 @@ const TemplateApiFactory = function (configuration, basePath, axios) {
11933
11928
  * @throws {RequiredError}
11934
11929
  */
11935
11930
  getTemplates(requestParameters, options) {
11936
- return localVarFp.getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, requestParameters.unique, options).then((request) => request(axios, basePath));
11931
+ return localVarFp.getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, options).then((request) => request(axios, basePath));
11937
11932
  },
11938
11933
  /**
11939
11934
  *
@@ -11982,7 +11977,7 @@ class TemplateApi extends base_1.BaseAPI {
11982
11977
  * @memberof TemplateApi
11983
11978
  */
11984
11979
  getTemplates(requestParameters, options) {
11985
- return (0, exports.TemplateApiFp)(this.configuration).getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, requestParameters.unique, options).then((request) => request(this.axios, this.basePath));
11980
+ return (0, exports.TemplateApiFp)(this.configuration).getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
11986
11981
  }
11987
11982
  /**
11988
11983
  *
package/dist/api/api.mjs CHANGED
@@ -671,7 +671,7 @@ export const SitemapTypeEnum = {
671
671
  PRODUCTS: 'products',
672
672
  PAGES: 'pages',
673
673
  COLLECTIONS: 'collections',
674
- BLOGS: 'blogs',
674
+ BLOG: 'blog',
675
675
  UNIQUE_PAGES: 'unique-pages'
676
676
  };
677
677
  /**
@@ -11682,11 +11682,10 @@ export const TemplateApiAxiosParamCreator = function (configuration) {
11682
11682
  * @param {string} [type]
11683
11683
  * @param {string} [search]
11684
11684
  * @param {string} [theme]
11685
- * @param {boolean} [unique]
11686
11685
  * @param {*} [options] Override http request option.
11687
11686
  * @throws {RequiredError}
11688
11687
  */
11689
- getTemplates: async (companyId, type, search, theme, unique, options = {}) => {
11688
+ getTemplates: async (companyId, type, search, theme, options = {}) => {
11690
11689
  // verify required parameter 'companyId' is not null or undefined
11691
11690
  assertParamExists('getTemplates', 'companyId', companyId);
11692
11691
  const localVarPath = `/api/templates`;
@@ -11711,9 +11710,6 @@ export const TemplateApiAxiosParamCreator = function (configuration) {
11711
11710
  if (theme !== undefined) {
11712
11711
  localVarQueryParameter['theme'] = theme;
11713
11712
  }
11714
- if (unique !== undefined) {
11715
- localVarQueryParameter['unique'] = unique;
11716
- }
11717
11713
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11718
11714
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11719
11715
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -11794,12 +11790,11 @@ export const TemplateApiFp = function (configuration) {
11794
11790
  * @param {string} [type]
11795
11791
  * @param {string} [search]
11796
11792
  * @param {string} [theme]
11797
- * @param {boolean} [unique]
11798
11793
  * @param {*} [options] Override http request option.
11799
11794
  * @throws {RequiredError}
11800
11795
  */
11801
- async getTemplates(companyId, type, search, theme, unique, options) {
11802
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplates(companyId, type, search, theme, unique, options);
11796
+ async getTemplates(companyId, type, search, theme, options) {
11797
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTemplates(companyId, type, search, theme, options);
11803
11798
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11804
11799
  const localVarOperationServerBasePath = operationServerMap['TemplateApi.getTemplates']?.[localVarOperationServerIndex]?.url;
11805
11800
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -11851,7 +11846,7 @@ export const TemplateApiFactory = function (configuration, basePath, axios) {
11851
11846
  * @throws {RequiredError}
11852
11847
  */
11853
11848
  getTemplates(requestParameters, options) {
11854
- return localVarFp.getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, requestParameters.unique, options).then((request) => request(axios, basePath));
11849
+ return localVarFp.getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, options).then((request) => request(axios, basePath));
11855
11850
  },
11856
11851
  /**
11857
11852
  *
@@ -11899,7 +11894,7 @@ export class TemplateApi extends BaseAPI {
11899
11894
  * @memberof TemplateApi
11900
11895
  */
11901
11896
  getTemplates(requestParameters, options) {
11902
- return TemplateApiFp(this.configuration).getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, requestParameters.unique, options).then((request) => request(this.axios, this.basePath));
11897
+ return TemplateApiFp(this.configuration).getTemplates(requestParameters.companyId, requestParameters.type, requestParameters.search, requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
11903
11898
  }
11904
11899
  /**
11905
11900
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api",
3
- "version": "1.3.54",
3
+ "version": "1.3.56",
4
4
  "description": "api-sdk",
5
5
  "author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
6
6
  "homepage": "https://github.com/infisale/infisale-client#readme",
@@ -37,5 +37,5 @@
37
37
  "bugs": {
38
38
  "url": "https://github.com/infisale/infisale-client/issues"
39
39
  },
40
- "gitHead": "fca93fcb76e3ac0e23f25f2924071dab9d180e5c"
40
+ "gitHead": "e29435b92aaa8ec010c486a6f3ed37019f3065cd"
41
41
  }