@juhuu/sdk-ts 1.2.82 → 1.2.84
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/index.d.mts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +16 -0
- package/dist/index.mjs +16 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -619,6 +619,7 @@ declare class PropertiesService extends Service {
|
|
619
619
|
retrieve(PropertyRetrieveParams: JUHUU.Property.Retrieve.Params, PropertyRetrieveOptions?: JUHUU.Property.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Retrieve.Response>>;
|
620
620
|
list(PropertyListParams: JUHUU.Property.List.Params, PropertyListOptions?: JUHUU.Property.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.List.Response>>;
|
621
621
|
update(PropertyUpdateParams: JUHUU.Property.Update.Params, PropertyUpdateOptions?: JUHUU.Property.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Update.Response>>;
|
622
|
+
onboarding(PropertyOnboardingParams: JUHUU.Property.Onboarding.Params, PropertyOnboardingOptions?: JUHUU.Property.Onboarding.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Onboarding.Response>>;
|
622
623
|
stripeAccountUrl(PropertyStripeAccountUrlParams: JUHUU.Property.StripeAccountUrl.Params, PropertyStripeAccountUrlOptions?: JUHUU.Property.StripeAccountUrl.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.StripeAccountUrl.Response>>;
|
623
624
|
}
|
624
625
|
|
@@ -1901,6 +1902,18 @@ declare namespace JUHUU {
|
|
1901
1902
|
property: JUHUU.Property.Object;
|
1902
1903
|
};
|
1903
1904
|
}
|
1905
|
+
export namespace Onboarding {
|
1906
|
+
type Params = {
|
1907
|
+
logo: string;
|
1908
|
+
primaryColor: string;
|
1909
|
+
backgroundColor: string;
|
1910
|
+
name: string;
|
1911
|
+
};
|
1912
|
+
type Options = JUHUU.RequestOptions;
|
1913
|
+
type Response = {
|
1914
|
+
property: JUHUU.Property.Object;
|
1915
|
+
};
|
1916
|
+
}
|
1904
1917
|
export { };
|
1905
1918
|
}
|
1906
1919
|
namespace Point {
|
package/dist/index.d.ts
CHANGED
@@ -619,6 +619,7 @@ declare class PropertiesService extends Service {
|
|
619
619
|
retrieve(PropertyRetrieveParams: JUHUU.Property.Retrieve.Params, PropertyRetrieveOptions?: JUHUU.Property.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Retrieve.Response>>;
|
620
620
|
list(PropertyListParams: JUHUU.Property.List.Params, PropertyListOptions?: JUHUU.Property.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.List.Response>>;
|
621
621
|
update(PropertyUpdateParams: JUHUU.Property.Update.Params, PropertyUpdateOptions?: JUHUU.Property.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Update.Response>>;
|
622
|
+
onboarding(PropertyOnboardingParams: JUHUU.Property.Onboarding.Params, PropertyOnboardingOptions?: JUHUU.Property.Onboarding.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Onboarding.Response>>;
|
622
623
|
stripeAccountUrl(PropertyStripeAccountUrlParams: JUHUU.Property.StripeAccountUrl.Params, PropertyStripeAccountUrlOptions?: JUHUU.Property.StripeAccountUrl.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.StripeAccountUrl.Response>>;
|
623
624
|
}
|
624
625
|
|
@@ -1901,6 +1902,18 @@ declare namespace JUHUU {
|
|
1901
1902
|
property: JUHUU.Property.Object;
|
1902
1903
|
};
|
1903
1904
|
}
|
1905
|
+
export namespace Onboarding {
|
1906
|
+
type Params = {
|
1907
|
+
logo: string;
|
1908
|
+
primaryColor: string;
|
1909
|
+
backgroundColor: string;
|
1910
|
+
name: string;
|
1911
|
+
};
|
1912
|
+
type Options = JUHUU.RequestOptions;
|
1913
|
+
type Response = {
|
1914
|
+
property: JUHUU.Property.Object;
|
1915
|
+
};
|
1916
|
+
}
|
1904
1917
|
export { };
|
1905
1918
|
}
|
1906
1919
|
namespace Point {
|
package/dist/index.js
CHANGED
@@ -823,6 +823,22 @@ var PropertiesService = class extends Service {
|
|
823
823
|
PropertyUpdateOptions
|
824
824
|
);
|
825
825
|
}
|
826
|
+
async onboarding(PropertyOnboardingParams, PropertyOnboardingOptions) {
|
827
|
+
return await super.sendRequest(
|
828
|
+
{
|
829
|
+
method: "POST",
|
830
|
+
url: "properties/onboarding",
|
831
|
+
body: {
|
832
|
+
primaryColor: PropertyOnboardingParams.primaryColor,
|
833
|
+
backgroundColor: PropertyOnboardingParams.backgroundColor,
|
834
|
+
logo: PropertyOnboardingParams.logo,
|
835
|
+
name: PropertyOnboardingParams.name
|
836
|
+
},
|
837
|
+
authenticationNotOptional: true
|
838
|
+
},
|
839
|
+
PropertyOnboardingOptions
|
840
|
+
);
|
841
|
+
}
|
826
842
|
async stripeAccountUrl(PropertyStripeAccountUrlParams, PropertyStripeAccountUrlOptions) {
|
827
843
|
return await super.sendRequest(
|
828
844
|
{
|
package/dist/index.mjs
CHANGED
@@ -779,6 +779,22 @@ var PropertiesService = class extends Service {
|
|
779
779
|
PropertyUpdateOptions
|
780
780
|
);
|
781
781
|
}
|
782
|
+
async onboarding(PropertyOnboardingParams, PropertyOnboardingOptions) {
|
783
|
+
return await super.sendRequest(
|
784
|
+
{
|
785
|
+
method: "POST",
|
786
|
+
url: "properties/onboarding",
|
787
|
+
body: {
|
788
|
+
primaryColor: PropertyOnboardingParams.primaryColor,
|
789
|
+
backgroundColor: PropertyOnboardingParams.backgroundColor,
|
790
|
+
logo: PropertyOnboardingParams.logo,
|
791
|
+
name: PropertyOnboardingParams.name
|
792
|
+
},
|
793
|
+
authenticationNotOptional: true
|
794
|
+
},
|
795
|
+
PropertyOnboardingOptions
|
796
|
+
);
|
797
|
+
}
|
782
798
|
async stripeAccountUrl(PropertyStripeAccountUrlParams, PropertyStripeAccountUrlOptions) {
|
783
799
|
return await super.sendRequest(
|
784
800
|
{
|