hostinger-api-sdk 1.32.0 → 1.33.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.
- package/README.md +2 -2
- package/api.ts +650 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +456 -1
- package/dist/api.js +370 -9
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +456 -1
- package/dist/esm/api.js +357 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ReachFormsApi.md +182 -0
- package/docs/ReachListFormsV1200Response.md +22 -0
- package/docs/ReachProfilesApi.md +54 -0
- package/docs/ReachV1FormsFormDetailsResource.md +34 -0
- package/docs/ReachV1FormsFormResource.md +32 -0
- package/docs/ReachV1FormsFormTagResource.md +25 -0
- package/docs/ReachV1FormsFormTemplateDetailsResource.md +25 -0
- package/docs/ReachV1FormsFormTemplateResource.md +23 -0
- package/docs/ReachV1ProfilesPlanLimitUsageResource.md +25 -0
- package/docs/ReachV1ProfilesPlanLimitsResource.md +29 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/base.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.35.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/common.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.35.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.35.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -48,7 +48,7 @@ export class Configuration {
|
|
|
48
48
|
this.baseOptions = {
|
|
49
49
|
...param.baseOptions,
|
|
50
50
|
headers: {
|
|
51
|
-
'User-Agent': "hostinger-typescript-sdk/1.
|
|
51
|
+
'User-Agent': "hostinger-typescript-sdk/1.33.0",
|
|
52
52
|
...param.baseOptions?.headers,
|
|
53
53
|
},
|
|
54
54
|
};
|
package/dist/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.35.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -7671,6 +7671,25 @@ export interface ReachListContactsV1200Response {
|
|
|
7671
7671
|
*/
|
|
7672
7672
|
'meta': CommonSchemaPaginationMetaSchema;
|
|
7673
7673
|
}
|
|
7674
|
+
/**
|
|
7675
|
+
*
|
|
7676
|
+
* @export
|
|
7677
|
+
* @interface ReachListFormsV1200Response
|
|
7678
|
+
*/
|
|
7679
|
+
export interface ReachListFormsV1200Response {
|
|
7680
|
+
/**
|
|
7681
|
+
* Array of [`Reach.V1.Forms.FormResource`](#model/reachv1formsformresource)
|
|
7682
|
+
* @type {Array<ReachV1FormsFormResource>}
|
|
7683
|
+
* @memberof ReachListFormsV1200Response
|
|
7684
|
+
*/
|
|
7685
|
+
'data': Array<ReachV1FormsFormResource>;
|
|
7686
|
+
/**
|
|
7687
|
+
*
|
|
7688
|
+
* @type {CommonSchemaPaginationMetaSchema}
|
|
7689
|
+
* @memberof ReachListFormsV1200Response
|
|
7690
|
+
*/
|
|
7691
|
+
'meta': CommonSchemaPaginationMetaSchema;
|
|
7692
|
+
}
|
|
7674
7693
|
/**
|
|
7675
7694
|
*
|
|
7676
7695
|
* @export
|
|
@@ -9491,6 +9510,206 @@ export interface ReachV1ContactsUpdateRequestFieldsInner {
|
|
|
9491
9510
|
*/
|
|
9492
9511
|
'selected_option_uuids': Array<string>;
|
|
9493
9512
|
}
|
|
9513
|
+
/**
|
|
9514
|
+
*
|
|
9515
|
+
* @export
|
|
9516
|
+
* @interface ReachV1FormsFormDetailsResource
|
|
9517
|
+
*/
|
|
9518
|
+
export interface ReachV1FormsFormDetailsResource {
|
|
9519
|
+
/**
|
|
9520
|
+
*
|
|
9521
|
+
* @type {string}
|
|
9522
|
+
* @memberof ReachV1FormsFormDetailsResource
|
|
9523
|
+
*/
|
|
9524
|
+
'uuid': string;
|
|
9525
|
+
/**
|
|
9526
|
+
*
|
|
9527
|
+
* @type {string}
|
|
9528
|
+
* @memberof ReachV1FormsFormDetailsResource
|
|
9529
|
+
*/
|
|
9530
|
+
'name': string;
|
|
9531
|
+
/**
|
|
9532
|
+
* A `paused` form keeps its template online but stops accepting submissions.
|
|
9533
|
+
* @type {string}
|
|
9534
|
+
* @memberof ReachV1FormsFormDetailsResource
|
|
9535
|
+
*/
|
|
9536
|
+
'status': ReachV1FormsFormDetailsResourceStatusEnum;
|
|
9537
|
+
/**
|
|
9538
|
+
*
|
|
9539
|
+
* @type {string}
|
|
9540
|
+
* @memberof ReachV1FormsFormDetailsResource
|
|
9541
|
+
*/
|
|
9542
|
+
'type': ReachV1FormsFormDetailsResourceTypeEnum;
|
|
9543
|
+
/**
|
|
9544
|
+
*
|
|
9545
|
+
* @type {ReachV1FormsFormTemplateDetailsResource}
|
|
9546
|
+
* @memberof ReachV1FormsFormDetailsResource
|
|
9547
|
+
*/
|
|
9548
|
+
'template': ReachV1FormsFormTemplateDetailsResource;
|
|
9549
|
+
/**
|
|
9550
|
+
* Tags applied to every contact this form captures.
|
|
9551
|
+
* @type {Array<ReachV1FormsFormTagResource>}
|
|
9552
|
+
* @memberof ReachV1FormsFormDetailsResource
|
|
9553
|
+
*/
|
|
9554
|
+
'tags': Array<ReachV1FormsFormTagResource>;
|
|
9555
|
+
/**
|
|
9556
|
+
*
|
|
9557
|
+
* @type {string}
|
|
9558
|
+
* @memberof ReachV1FormsFormDetailsResource
|
|
9559
|
+
*/
|
|
9560
|
+
'created_at': string;
|
|
9561
|
+
/**
|
|
9562
|
+
*
|
|
9563
|
+
* @type {string}
|
|
9564
|
+
* @memberof ReachV1FormsFormDetailsResource
|
|
9565
|
+
*/
|
|
9566
|
+
'updated_at': string | null;
|
|
9567
|
+
}
|
|
9568
|
+
export declare const ReachV1FormsFormDetailsResourceStatusEnum: {
|
|
9569
|
+
readonly Active: "active";
|
|
9570
|
+
readonly Paused: "paused";
|
|
9571
|
+
readonly Draft: "draft";
|
|
9572
|
+
};
|
|
9573
|
+
export type ReachV1FormsFormDetailsResourceStatusEnum = typeof ReachV1FormsFormDetailsResourceStatusEnum[keyof typeof ReachV1FormsFormDetailsResourceStatusEnum];
|
|
9574
|
+
export declare const ReachV1FormsFormDetailsResourceTypeEnum: {
|
|
9575
|
+
readonly Form: "form";
|
|
9576
|
+
};
|
|
9577
|
+
export type ReachV1FormsFormDetailsResourceTypeEnum = typeof ReachV1FormsFormDetailsResourceTypeEnum[keyof typeof ReachV1FormsFormDetailsResourceTypeEnum];
|
|
9578
|
+
/**
|
|
9579
|
+
*
|
|
9580
|
+
* @export
|
|
9581
|
+
* @interface ReachV1FormsFormResource
|
|
9582
|
+
*/
|
|
9583
|
+
export interface ReachV1FormsFormResource {
|
|
9584
|
+
/**
|
|
9585
|
+
*
|
|
9586
|
+
* @type {string}
|
|
9587
|
+
* @memberof ReachV1FormsFormResource
|
|
9588
|
+
*/
|
|
9589
|
+
'uuid': string;
|
|
9590
|
+
/**
|
|
9591
|
+
*
|
|
9592
|
+
* @type {string}
|
|
9593
|
+
* @memberof ReachV1FormsFormResource
|
|
9594
|
+
*/
|
|
9595
|
+
'name': string;
|
|
9596
|
+
/**
|
|
9597
|
+
* A `paused` form keeps its template online but stops accepting submissions.
|
|
9598
|
+
* @type {string}
|
|
9599
|
+
* @memberof ReachV1FormsFormResource
|
|
9600
|
+
*/
|
|
9601
|
+
'status': ReachV1FormsFormResourceStatusEnum;
|
|
9602
|
+
/**
|
|
9603
|
+
*
|
|
9604
|
+
* @type {string}
|
|
9605
|
+
* @memberof ReachV1FormsFormResource
|
|
9606
|
+
*/
|
|
9607
|
+
'type': ReachV1FormsFormResourceTypeEnum;
|
|
9608
|
+
/**
|
|
9609
|
+
*
|
|
9610
|
+
* @type {ReachV1FormsFormTemplateResource}
|
|
9611
|
+
* @memberof ReachV1FormsFormResource
|
|
9612
|
+
*/
|
|
9613
|
+
'template': ReachV1FormsFormTemplateResource;
|
|
9614
|
+
/**
|
|
9615
|
+
*
|
|
9616
|
+
* @type {string}
|
|
9617
|
+
* @memberof ReachV1FormsFormResource
|
|
9618
|
+
*/
|
|
9619
|
+
'created_at': string;
|
|
9620
|
+
/**
|
|
9621
|
+
*
|
|
9622
|
+
* @type {string}
|
|
9623
|
+
* @memberof ReachV1FormsFormResource
|
|
9624
|
+
*/
|
|
9625
|
+
'updated_at': string | null;
|
|
9626
|
+
}
|
|
9627
|
+
export declare const ReachV1FormsFormResourceStatusEnum: {
|
|
9628
|
+
readonly Active: "active";
|
|
9629
|
+
readonly Paused: "paused";
|
|
9630
|
+
readonly Draft: "draft";
|
|
9631
|
+
};
|
|
9632
|
+
export type ReachV1FormsFormResourceStatusEnum = typeof ReachV1FormsFormResourceStatusEnum[keyof typeof ReachV1FormsFormResourceStatusEnum];
|
|
9633
|
+
export declare const ReachV1FormsFormResourceTypeEnum: {
|
|
9634
|
+
readonly Form: "form";
|
|
9635
|
+
};
|
|
9636
|
+
export type ReachV1FormsFormResourceTypeEnum = typeof ReachV1FormsFormResourceTypeEnum[keyof typeof ReachV1FormsFormResourceTypeEnum];
|
|
9637
|
+
/**
|
|
9638
|
+
* A tag applied to every contact this form captures.
|
|
9639
|
+
* @export
|
|
9640
|
+
* @interface ReachV1FormsFormTagResource
|
|
9641
|
+
*/
|
|
9642
|
+
export interface ReachV1FormsFormTagResource {
|
|
9643
|
+
/**
|
|
9644
|
+
*
|
|
9645
|
+
* @type {string}
|
|
9646
|
+
* @memberof ReachV1FormsFormTagResource
|
|
9647
|
+
*/
|
|
9648
|
+
'uuid': string;
|
|
9649
|
+
/**
|
|
9650
|
+
*
|
|
9651
|
+
* @type {string}
|
|
9652
|
+
* @memberof ReachV1FormsFormTagResource
|
|
9653
|
+
*/
|
|
9654
|
+
'value': string;
|
|
9655
|
+
/**
|
|
9656
|
+
* How the tag came about. `custom` covers the tags you create yourself, `import` the ones added by contact imports, and `form` and `system` the ones Reach creates on its own. Every form gets a `form:{name}` tag when it is created.
|
|
9657
|
+
* @type {string}
|
|
9658
|
+
* @memberof ReachV1FormsFormTagResource
|
|
9659
|
+
*/
|
|
9660
|
+
'type': ReachV1FormsFormTagResourceTypeEnum;
|
|
9661
|
+
}
|
|
9662
|
+
export declare const ReachV1FormsFormTagResourceTypeEnum: {
|
|
9663
|
+
readonly Form: "form";
|
|
9664
|
+
readonly Custom: "custom";
|
|
9665
|
+
readonly Import: "import";
|
|
9666
|
+
readonly System: "system";
|
|
9667
|
+
};
|
|
9668
|
+
export type ReachV1FormsFormTagResourceTypeEnum = typeof ReachV1FormsFormTagResourceTypeEnum[keyof typeof ReachV1FormsFormTagResourceTypeEnum];
|
|
9669
|
+
/**
|
|
9670
|
+
* The rendered form template. There is no ready-made embed snippet - either serve the HTML behind `url` or build your own embed around the form uuid. All fields stay null until the template has been generated.
|
|
9671
|
+
* @export
|
|
9672
|
+
* @interface ReachV1FormsFormTemplateDetailsResource
|
|
9673
|
+
*/
|
|
9674
|
+
export interface ReachV1FormsFormTemplateDetailsResource {
|
|
9675
|
+
/**
|
|
9676
|
+
*
|
|
9677
|
+
* @type {string}
|
|
9678
|
+
* @memberof ReachV1FormsFormTemplateDetailsResource
|
|
9679
|
+
*/
|
|
9680
|
+
'uuid': string | null;
|
|
9681
|
+
/**
|
|
9682
|
+
* Storage path of the template HTML, relative to the storage directory of this profile. `url` already includes that prefix, so prefer it unless you resolve storage paths yourself.
|
|
9683
|
+
* @type {string}
|
|
9684
|
+
* @memberof ReachV1FormsFormTemplateDetailsResource
|
|
9685
|
+
*/
|
|
9686
|
+
'path': string | null;
|
|
9687
|
+
/**
|
|
9688
|
+
* Publicly reachable URL of the template HTML.
|
|
9689
|
+
* @type {string}
|
|
9690
|
+
* @memberof ReachV1FormsFormTemplateDetailsResource
|
|
9691
|
+
*/
|
|
9692
|
+
'url': string | null;
|
|
9693
|
+
}
|
|
9694
|
+
/**
|
|
9695
|
+
* The rendered form template. Both fields stay null until the template has been generated.
|
|
9696
|
+
* @export
|
|
9697
|
+
* @interface ReachV1FormsFormTemplateResource
|
|
9698
|
+
*/
|
|
9699
|
+
export interface ReachV1FormsFormTemplateResource {
|
|
9700
|
+
/**
|
|
9701
|
+
*
|
|
9702
|
+
* @type {string}
|
|
9703
|
+
* @memberof ReachV1FormsFormTemplateResource
|
|
9704
|
+
*/
|
|
9705
|
+
'uuid': string | null;
|
|
9706
|
+
/**
|
|
9707
|
+
* Storage path of the template HTML, relative to the storage directory of this profile. Get the form details to receive a directly usable URL instead.
|
|
9708
|
+
* @type {string}
|
|
9709
|
+
* @memberof ReachV1FormsFormTemplateResource
|
|
9710
|
+
*/
|
|
9711
|
+
'path': string | null;
|
|
9712
|
+
}
|
|
9494
9713
|
/**
|
|
9495
9714
|
*
|
|
9496
9715
|
* @export
|
|
@@ -9597,6 +9816,68 @@ export interface ReachV1ProfilesDomainsDnsStatusResource {
|
|
|
9597
9816
|
*/
|
|
9598
9817
|
'dmarc': ReachV1ProfilesDomainsDnsRecordStatus;
|
|
9599
9818
|
}
|
|
9819
|
+
/**
|
|
9820
|
+
* Allowance, consumption and headroom of a single plan limit for the current period.
|
|
9821
|
+
* @export
|
|
9822
|
+
* @interface ReachV1ProfilesPlanLimitUsageResource
|
|
9823
|
+
*/
|
|
9824
|
+
export interface ReachV1ProfilesPlanLimitUsageResource {
|
|
9825
|
+
/**
|
|
9826
|
+
* The allowance for the current period.
|
|
9827
|
+
* @type {number}
|
|
9828
|
+
* @memberof ReachV1ProfilesPlanLimitUsageResource
|
|
9829
|
+
*/
|
|
9830
|
+
'limit': number;
|
|
9831
|
+
/**
|
|
9832
|
+
* How much of the allowance has been consumed so far.
|
|
9833
|
+
* @type {number}
|
|
9834
|
+
* @memberof ReachV1ProfilesPlanLimitUsageResource
|
|
9835
|
+
*/
|
|
9836
|
+
'used': number;
|
|
9837
|
+
/**
|
|
9838
|
+
* Headroom left. Floors at 0, so it never reports a negative overage.
|
|
9839
|
+
* @type {number}
|
|
9840
|
+
* @memberof ReachV1ProfilesPlanLimitUsageResource
|
|
9841
|
+
*/
|
|
9842
|
+
'remaining': number;
|
|
9843
|
+
}
|
|
9844
|
+
/**
|
|
9845
|
+
* What the plan allows and what is left of it for the current period. `emails` counts every email sent. `recipients` counts the distinct contacts emailed - it is not the size of the contact list, a contact emailed three times counts once and a contact never emailed does not count at all. `ai_credits` counts the AI generations used, and its limit includes any extra credits bought on top of the plan.
|
|
9846
|
+
* @export
|
|
9847
|
+
* @interface ReachV1ProfilesPlanLimitsResource
|
|
9848
|
+
*/
|
|
9849
|
+
export interface ReachV1ProfilesPlanLimitsResource {
|
|
9850
|
+
/**
|
|
9851
|
+
*
|
|
9852
|
+
* @type {ReachV1ProfilesPlanLimitUsageResource}
|
|
9853
|
+
* @memberof ReachV1ProfilesPlanLimitsResource
|
|
9854
|
+
*/
|
|
9855
|
+
'emails': ReachV1ProfilesPlanLimitUsageResource;
|
|
9856
|
+
/**
|
|
9857
|
+
*
|
|
9858
|
+
* @type {ReachV1ProfilesPlanLimitUsageResource}
|
|
9859
|
+
* @memberof ReachV1ProfilesPlanLimitsResource
|
|
9860
|
+
*/
|
|
9861
|
+
'recipients': ReachV1ProfilesPlanLimitUsageResource;
|
|
9862
|
+
/**
|
|
9863
|
+
*
|
|
9864
|
+
* @type {ReachV1ProfilesPlanLimitUsageResource}
|
|
9865
|
+
* @memberof ReachV1ProfilesPlanLimitsResource
|
|
9866
|
+
*/
|
|
9867
|
+
'ai_credits': ReachV1ProfilesPlanLimitUsageResource;
|
|
9868
|
+
/**
|
|
9869
|
+
* Start of the current period. Periods are calendar months rather than billing anniversaries, so the counters reset at midnight UTC on the 1st no matter when the subscription started.
|
|
9870
|
+
* @type {string}
|
|
9871
|
+
* @memberof ReachV1ProfilesPlanLimitsResource
|
|
9872
|
+
*/
|
|
9873
|
+
'period_start': string;
|
|
9874
|
+
/**
|
|
9875
|
+
* End of the current period, that is the last moment of the calendar month.
|
|
9876
|
+
* @type {string}
|
|
9877
|
+
* @memberof ReachV1ProfilesPlanLimitsResource
|
|
9878
|
+
*/
|
|
9879
|
+
'period_end': string;
|
|
9880
|
+
}
|
|
9600
9881
|
/**
|
|
9601
9882
|
*
|
|
9602
9883
|
* @export
|
|
@@ -21308,6 +21589,147 @@ export declare const ListProfileContactsV1SubscriptionStatusEnum: {
|
|
|
21308
21589
|
readonly Pending: "pending";
|
|
21309
21590
|
};
|
|
21310
21591
|
export type ListProfileContactsV1SubscriptionStatusEnum = typeof ListProfileContactsV1SubscriptionStatusEnum[keyof typeof ListProfileContactsV1SubscriptionStatusEnum];
|
|
21592
|
+
/**
|
|
21593
|
+
* ReachFormsApi - axios parameter creator
|
|
21594
|
+
* @export
|
|
21595
|
+
*/
|
|
21596
|
+
export declare const ReachFormsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21597
|
+
/**
|
|
21598
|
+
* Permanently delete a form together with its template. A form that has already captured submissions cannot be deleted, so that the contacts it collected are never silently discarded - pause the form instead to stop it collecting new ones. Views alone do not block deletion.
|
|
21599
|
+
* @summary Delete form
|
|
21600
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
21601
|
+
* @param {string} formUuid Form uuid parameter
|
|
21602
|
+
* @param {*} [options] Override http request option.
|
|
21603
|
+
* @throws {RequiredError}
|
|
21604
|
+
*/
|
|
21605
|
+
deleteFormV1: (profileUuid: string, formUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21606
|
+
/**
|
|
21607
|
+
* Get a single form with the URL of its hosted template and the tags it applies to the contacts it captures. There is no ready-made embed snippet in the response - either serve the template HTML yourself or build your own embed around the form uuid.
|
|
21608
|
+
* @summary Get form details
|
|
21609
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
21610
|
+
* @param {string} formUuid Form uuid parameter
|
|
21611
|
+
* @param {*} [options] Override http request option.
|
|
21612
|
+
* @throws {RequiredError}
|
|
21613
|
+
*/
|
|
21614
|
+
getFormDetailsV1: (profileUuid: string, formUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21615
|
+
/**
|
|
21616
|
+
* Get a paginated list of the signup forms in a profile. Each form carries a reference to the template that renders it. Get the form details for a directly usable template URL and for the tags the form puts on the contacts it captures.
|
|
21617
|
+
* @summary List forms
|
|
21618
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
21619
|
+
* @param {number} [page] Page number
|
|
21620
|
+
* @param {number} [perPage] Number of items per page
|
|
21621
|
+
* @param {*} [options] Override http request option.
|
|
21622
|
+
* @throws {RequiredError}
|
|
21623
|
+
*/
|
|
21624
|
+
listFormsV1: (profileUuid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21625
|
+
};
|
|
21626
|
+
/**
|
|
21627
|
+
* ReachFormsApi - functional programming interface
|
|
21628
|
+
* @export
|
|
21629
|
+
*/
|
|
21630
|
+
export declare const ReachFormsApiFp: (configuration?: Configuration) => {
|
|
21631
|
+
/**
|
|
21632
|
+
* Permanently delete a form together with its template. A form that has already captured submissions cannot be deleted, so that the contacts it collected are never silently discarded - pause the form instead to stop it collecting new ones. Views alone do not block deletion.
|
|
21633
|
+
* @summary Delete form
|
|
21634
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
21635
|
+
* @param {string} formUuid Form uuid parameter
|
|
21636
|
+
* @param {*} [options] Override http request option.
|
|
21637
|
+
* @throws {RequiredError}
|
|
21638
|
+
*/
|
|
21639
|
+
deleteFormV1(profileUuid: string, formUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
|
|
21640
|
+
/**
|
|
21641
|
+
* Get a single form with the URL of its hosted template and the tags it applies to the contacts it captures. There is no ready-made embed snippet in the response - either serve the template HTML yourself or build your own embed around the form uuid.
|
|
21642
|
+
* @summary Get form details
|
|
21643
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
21644
|
+
* @param {string} formUuid Form uuid parameter
|
|
21645
|
+
* @param {*} [options] Override http request option.
|
|
21646
|
+
* @throws {RequiredError}
|
|
21647
|
+
*/
|
|
21648
|
+
getFormDetailsV1(profileUuid: string, formUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1FormsFormDetailsResource>>;
|
|
21649
|
+
/**
|
|
21650
|
+
* Get a paginated list of the signup forms in a profile. Each form carries a reference to the template that renders it. Get the form details for a directly usable template URL and for the tags the form puts on the contacts it captures.
|
|
21651
|
+
* @summary List forms
|
|
21652
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
21653
|
+
* @param {number} [page] Page number
|
|
21654
|
+
* @param {number} [perPage] Number of items per page
|
|
21655
|
+
* @param {*} [options] Override http request option.
|
|
21656
|
+
* @throws {RequiredError}
|
|
21657
|
+
*/
|
|
21658
|
+
listFormsV1(profileUuid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachListFormsV1200Response>>;
|
|
21659
|
+
};
|
|
21660
|
+
/**
|
|
21661
|
+
* ReachFormsApi - factory interface
|
|
21662
|
+
* @export
|
|
21663
|
+
*/
|
|
21664
|
+
export declare const ReachFormsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
21665
|
+
/**
|
|
21666
|
+
* Permanently delete a form together with its template. A form that has already captured submissions cannot be deleted, so that the contacts it collected are never silently discarded - pause the form instead to stop it collecting new ones. Views alone do not block deletion.
|
|
21667
|
+
* @summary Delete form
|
|
21668
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
21669
|
+
* @param {string} formUuid Form uuid parameter
|
|
21670
|
+
* @param {*} [options] Override http request option.
|
|
21671
|
+
* @throws {RequiredError}
|
|
21672
|
+
*/
|
|
21673
|
+
deleteFormV1(profileUuid: string, formUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
|
|
21674
|
+
/**
|
|
21675
|
+
* Get a single form with the URL of its hosted template and the tags it applies to the contacts it captures. There is no ready-made embed snippet in the response - either serve the template HTML yourself or build your own embed around the form uuid.
|
|
21676
|
+
* @summary Get form details
|
|
21677
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
21678
|
+
* @param {string} formUuid Form uuid parameter
|
|
21679
|
+
* @param {*} [options] Override http request option.
|
|
21680
|
+
* @throws {RequiredError}
|
|
21681
|
+
*/
|
|
21682
|
+
getFormDetailsV1(profileUuid: string, formUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1FormsFormDetailsResource>;
|
|
21683
|
+
/**
|
|
21684
|
+
* Get a paginated list of the signup forms in a profile. Each form carries a reference to the template that renders it. Get the form details for a directly usable template URL and for the tags the form puts on the contacts it captures.
|
|
21685
|
+
* @summary List forms
|
|
21686
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
21687
|
+
* @param {number} [page] Page number
|
|
21688
|
+
* @param {number} [perPage] Number of items per page
|
|
21689
|
+
* @param {*} [options] Override http request option.
|
|
21690
|
+
* @throws {RequiredError}
|
|
21691
|
+
*/
|
|
21692
|
+
listFormsV1(profileUuid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<ReachListFormsV1200Response>;
|
|
21693
|
+
};
|
|
21694
|
+
/**
|
|
21695
|
+
* ReachFormsApi - object-oriented interface
|
|
21696
|
+
* @export
|
|
21697
|
+
* @class ReachFormsApi
|
|
21698
|
+
* @extends {BaseAPI}
|
|
21699
|
+
*/
|
|
21700
|
+
export declare class ReachFormsApi extends BaseAPI {
|
|
21701
|
+
/**
|
|
21702
|
+
* Permanently delete a form together with its template. A form that has already captured submissions cannot be deleted, so that the contacts it collected are never silently discarded - pause the form instead to stop it collecting new ones. Views alone do not block deletion.
|
|
21703
|
+
* @summary Delete form
|
|
21704
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
21705
|
+
* @param {string} formUuid Form uuid parameter
|
|
21706
|
+
* @param {*} [options] Override http request option.
|
|
21707
|
+
* @throws {RequiredError}
|
|
21708
|
+
* @memberof ReachFormsApi
|
|
21709
|
+
*/
|
|
21710
|
+
deleteFormV1(profileUuid: string, formUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
|
|
21711
|
+
/**
|
|
21712
|
+
* Get a single form with the URL of its hosted template and the tags it applies to the contacts it captures. There is no ready-made embed snippet in the response - either serve the template HTML yourself or build your own embed around the form uuid.
|
|
21713
|
+
* @summary Get form details
|
|
21714
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
21715
|
+
* @param {string} formUuid Form uuid parameter
|
|
21716
|
+
* @param {*} [options] Override http request option.
|
|
21717
|
+
* @throws {RequiredError}
|
|
21718
|
+
* @memberof ReachFormsApi
|
|
21719
|
+
*/
|
|
21720
|
+
getFormDetailsV1(profileUuid: string, formUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1FormsFormDetailsResource, any, {}, any>>;
|
|
21721
|
+
/**
|
|
21722
|
+
* Get a paginated list of the signup forms in a profile. Each form carries a reference to the template that renders it. Get the form details for a directly usable template URL and for the tags the form puts on the contacts it captures.
|
|
21723
|
+
* @summary List forms
|
|
21724
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
21725
|
+
* @param {number} [page] Page number
|
|
21726
|
+
* @param {number} [perPage] Number of items per page
|
|
21727
|
+
* @param {*} [options] Override http request option.
|
|
21728
|
+
* @throws {RequiredError}
|
|
21729
|
+
* @memberof ReachFormsApi
|
|
21730
|
+
*/
|
|
21731
|
+
listFormsV1(profileUuid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachListFormsV1200Response, any, {}, any>>;
|
|
21732
|
+
}
|
|
21311
21733
|
/**
|
|
21312
21734
|
* ReachProfilesApi - axios parameter creator
|
|
21313
21735
|
* @export
|
|
@@ -21321,6 +21743,14 @@ export declare const ReachProfilesApiAxiosParamCreator: (configuration?: Configu
|
|
|
21321
21743
|
* @throws {RequiredError}
|
|
21322
21744
|
*/
|
|
21323
21745
|
getProfileDomainDNSStatusV1: (profileUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21746
|
+
/**
|
|
21747
|
+
* Get how much of the plan is left for the current period. Two things to keep in mind before you build alerting on this. The period is a calendar month rather than a billing anniversary, so the counters reset on the 1st no matter when the subscription started. And usage is tracked per order, so every profile on the same order shares one pool and reports the same numbers here. Only the current period is available, past usage is not kept.
|
|
21748
|
+
* @summary Get remaining plan limits
|
|
21749
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
21750
|
+
* @param {*} [options] Override http request option.
|
|
21751
|
+
* @throws {RequiredError}
|
|
21752
|
+
*/
|
|
21753
|
+
getRemainingPlanLimitsV1: (profileUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21324
21754
|
/**
|
|
21325
21755
|
* This endpoint returns all profiles available to the client, including their basic information.
|
|
21326
21756
|
* @summary List Profiles
|
|
@@ -21342,6 +21772,14 @@ export declare const ReachProfilesApiFp: (configuration?: Configuration) => {
|
|
|
21342
21772
|
* @throws {RequiredError}
|
|
21343
21773
|
*/
|
|
21344
21774
|
getProfileDomainDNSStatusV1(profileUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ProfilesDomainsDnsStatusResource>>;
|
|
21775
|
+
/**
|
|
21776
|
+
* Get how much of the plan is left for the current period. Two things to keep in mind before you build alerting on this. The period is a calendar month rather than a billing anniversary, so the counters reset on the 1st no matter when the subscription started. And usage is tracked per order, so every profile on the same order shares one pool and reports the same numbers here. Only the current period is available, past usage is not kept.
|
|
21777
|
+
* @summary Get remaining plan limits
|
|
21778
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
21779
|
+
* @param {*} [options] Override http request option.
|
|
21780
|
+
* @throws {RequiredError}
|
|
21781
|
+
*/
|
|
21782
|
+
getRemainingPlanLimitsV1(profileUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ProfilesPlanLimitsResource>>;
|
|
21345
21783
|
/**
|
|
21346
21784
|
* This endpoint returns all profiles available to the client, including their basic information.
|
|
21347
21785
|
* @summary List Profiles
|
|
@@ -21363,6 +21801,14 @@ export declare const ReachProfilesApiFactory: (configuration?: Configuration, ba
|
|
|
21363
21801
|
* @throws {RequiredError}
|
|
21364
21802
|
*/
|
|
21365
21803
|
getProfileDomainDNSStatusV1(profileUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ProfilesDomainsDnsStatusResource>;
|
|
21804
|
+
/**
|
|
21805
|
+
* Get how much of the plan is left for the current period. Two things to keep in mind before you build alerting on this. The period is a calendar month rather than a billing anniversary, so the counters reset on the 1st no matter when the subscription started. And usage is tracked per order, so every profile on the same order shares one pool and reports the same numbers here. Only the current period is available, past usage is not kept.
|
|
21806
|
+
* @summary Get remaining plan limits
|
|
21807
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
21808
|
+
* @param {*} [options] Override http request option.
|
|
21809
|
+
* @throws {RequiredError}
|
|
21810
|
+
*/
|
|
21811
|
+
getRemainingPlanLimitsV1(profileUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ProfilesPlanLimitsResource>;
|
|
21366
21812
|
/**
|
|
21367
21813
|
* This endpoint returns all profiles available to the client, including their basic information.
|
|
21368
21814
|
* @summary List Profiles
|
|
@@ -21387,6 +21833,15 @@ export declare class ReachProfilesApi extends BaseAPI {
|
|
|
21387
21833
|
* @memberof ReachProfilesApi
|
|
21388
21834
|
*/
|
|
21389
21835
|
getProfileDomainDNSStatusV1(profileUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ProfilesDomainsDnsStatusResource, any, {}, any>>;
|
|
21836
|
+
/**
|
|
21837
|
+
* Get how much of the plan is left for the current period. Two things to keep in mind before you build alerting on this. The period is a calendar month rather than a billing anniversary, so the counters reset on the 1st no matter when the subscription started. And usage is tracked per order, so every profile on the same order shares one pool and reports the same numbers here. Only the current period is available, past usage is not kept.
|
|
21838
|
+
* @summary Get remaining plan limits
|
|
21839
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
21840
|
+
* @param {*} [options] Override http request option.
|
|
21841
|
+
* @throws {RequiredError}
|
|
21842
|
+
* @memberof ReachProfilesApi
|
|
21843
|
+
*/
|
|
21844
|
+
getRemainingPlanLimitsV1(profileUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ProfilesPlanLimitsResource, any, {}, any>>;
|
|
21390
21845
|
/**
|
|
21391
21846
|
* This endpoint returns all profiles available to the client, including their basic information.
|
|
21392
21847
|
* @summary List Profiles
|