@juhuu/sdk-ts 1.1.2 → 1.1.3

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 CHANGED
@@ -583,6 +583,7 @@ declare class PropertiesService extends Service {
583
583
  retrieve(PropertyRetrieveParams: JUHUU.Property.Retrieve.Params, PropertyRetrieveOptions?: JUHUU.Property.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Retrieve.Response>>;
584
584
  list(PropertyListParams: JUHUU.Property.List.Params, PropertyListOptions?: JUHUU.Property.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.List.Response>>;
585
585
  update(PropertyUpdateParams: JUHUU.Property.Update.Params, PropertyUpdateOptions?: JUHUU.Property.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Update.Response>>;
586
+ stripeAccountUrl(PropertyStripeAccountUrlParams: JUHUU.Property.StripeAccountUrl.Params, PropertyStripeAccountUrlOptions?: JUHUU.Property.StripeAccountUrl.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.StripeAccountUrl.Response>>;
586
587
  delete(): Promise<void>;
587
588
  terminate(): Promise<void>;
588
589
  }
@@ -1132,6 +1133,15 @@ declare namespace JUHUU {
1132
1133
  type Options = JUHUU.RequestOptions;
1133
1134
  type Response = JUHUU.Property.Object[];
1134
1135
  }
1136
+ export namespace StripeAccountUrl {
1137
+ type Params = {
1138
+ propertyId: string;
1139
+ };
1140
+ type Options = JUHUU.RequestOptions;
1141
+ type Response = {
1142
+ url: string;
1143
+ };
1144
+ }
1135
1145
  export namespace Update {
1136
1146
  type Params = {
1137
1147
  propertyId: string;
@@ -1142,7 +1152,7 @@ declare namespace JUHUU {
1142
1152
  website?: string;
1143
1153
  phone?: string;
1144
1154
  faqUrl?: string;
1145
- colorScheme?: ColorScheme;
1155
+ colorScheme?: Partial<ColorScheme>;
1146
1156
  contactUrl?: string;
1147
1157
  };
1148
1158
  type Options = JUHUU.RequestOptions;
package/dist/index.d.ts CHANGED
@@ -583,6 +583,7 @@ declare class PropertiesService extends Service {
583
583
  retrieve(PropertyRetrieveParams: JUHUU.Property.Retrieve.Params, PropertyRetrieveOptions?: JUHUU.Property.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Retrieve.Response>>;
584
584
  list(PropertyListParams: JUHUU.Property.List.Params, PropertyListOptions?: JUHUU.Property.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.List.Response>>;
585
585
  update(PropertyUpdateParams: JUHUU.Property.Update.Params, PropertyUpdateOptions?: JUHUU.Property.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.Update.Response>>;
586
+ stripeAccountUrl(PropertyStripeAccountUrlParams: JUHUU.Property.StripeAccountUrl.Params, PropertyStripeAccountUrlOptions?: JUHUU.Property.StripeAccountUrl.Options): Promise<JUHUU.HttpResponse<JUHUU.Property.StripeAccountUrl.Response>>;
586
587
  delete(): Promise<void>;
587
588
  terminate(): Promise<void>;
588
589
  }
@@ -1132,6 +1133,15 @@ declare namespace JUHUU {
1132
1133
  type Options = JUHUU.RequestOptions;
1133
1134
  type Response = JUHUU.Property.Object[];
1134
1135
  }
1136
+ export namespace StripeAccountUrl {
1137
+ type Params = {
1138
+ propertyId: string;
1139
+ };
1140
+ type Options = JUHUU.RequestOptions;
1141
+ type Response = {
1142
+ url: string;
1143
+ };
1144
+ }
1135
1145
  export namespace Update {
1136
1146
  type Params = {
1137
1147
  propertyId: string;
@@ -1142,7 +1152,7 @@ declare namespace JUHUU {
1142
1152
  website?: string;
1143
1153
  phone?: string;
1144
1154
  faqUrl?: string;
1145
- colorScheme?: ColorScheme;
1155
+ colorScheme?: Partial<ColorScheme>;
1146
1156
  contactUrl?: string;
1147
1157
  };
1148
1158
  type Options = JUHUU.RequestOptions;
package/dist/index.js CHANGED
@@ -688,6 +688,17 @@ var PropertiesService = class extends Service {
688
688
  PropertyUpdateOptions
689
689
  );
690
690
  }
691
+ async stripeAccountUrl(PropertyStripeAccountUrlParams, PropertyStripeAccountUrlOptions) {
692
+ return await super.sendRequest(
693
+ {
694
+ method: "GET",
695
+ url: "properties/" + PropertyStripeAccountUrlParams.propertyId + "/stripeAccountUrl",
696
+ body: void 0,
697
+ useAuthentication: true
698
+ },
699
+ PropertyStripeAccountUrlOptions
700
+ );
701
+ }
691
702
  async delete() {
692
703
  }
693
704
  async terminate() {
package/dist/index.mjs CHANGED
@@ -643,6 +643,17 @@ var PropertiesService = class extends Service {
643
643
  PropertyUpdateOptions
644
644
  );
645
645
  }
646
+ async stripeAccountUrl(PropertyStripeAccountUrlParams, PropertyStripeAccountUrlOptions) {
647
+ return await super.sendRequest(
648
+ {
649
+ method: "GET",
650
+ url: "properties/" + PropertyStripeAccountUrlParams.propertyId + "/stripeAccountUrl",
651
+ body: void 0,
652
+ useAuthentication: true
653
+ },
654
+ PropertyStripeAccountUrlOptions
655
+ );
656
+ }
646
657
  async delete() {
647
658
  }
648
659
  async terminate() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.1.002",
3
+ "version": "1.1.003",
4
4
  "description": "Typescript wrapper for juhuu services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",